[PHP-DEV] Re: [PATCH] - Regarding bug/feature-request: #34421

2006-01-10 Thread thomas
Hi Is it possible for someone to take a look at this? Can i get some feedback perhaps? Br, Thomas "Thomas Gielfeldt" wrote: > Hi > > > Here's a patch that updates debug_backtrace() somewhat as requested in > bug/feature-request: #34421 > > > The

RE: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast

2014-09-14 Thread Thomas .
> From: a...@ajf.me > Date: Sun, 14 Sep 2014 00:30:40 +0100 > To: internals@lists.php.net > Subject: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast > > Good evening, > > I’ve given up on my plan B, so I’m putting this RFC, finally, to a vote. > > I would urge you to vote in favour. It is

[PHP-DEV] CVS Account Request: t2k269

2003-09-12 Thread thomas
Add a new extension for multi-language -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: ths

2003-11-02 Thread Thomas
Managing the PEAR::HTML_QuickForm_Renderers for smarty. I already have a pear website account with handle "ths": http://pear.php.net/user/ths and listed as package maintainer (developer): http://pear.php.net/package/HTML_QuickForm -- PHP Internals - PHP Runtime Development Mailing List To unsub

Re: [PHP-DEV] [VOTE] Scalar Type Hints

2015-02-05 Thread Thomas Bley
I think the consensus is not so far away. As far as I understand the rules, it is possible to vote yes and put up a new RFC to remove strict-declare after the voting ends? Regards Thomas Andi Gutmans wrote on 06.02.2015 00:22: > I have to say I’m pretty disappointed at the opening of the v

[PHP-DEV] [DISCUSSION] Make empty() a Variadic

2015-02-12 Thread Thomas Punt
Hello PHP Internals! I'd like to propose to make empty() a variadic, where if any arguments passed in are considered empty, then false is returned - otherwise return true. My reasoning for wanting this feature is as follows:1)It's a common scenario to want to check multiple expressions for empty

RE: [PHP-DEV] [DISCUSSION] Make empty() a Variadic

2015-02-12 Thread Thomas Punt
Hi Kris, > Date: Thu, 12 Feb 2015 11:21:40 -0800 > From: kris.cr...@gmail.com > To: tp...@hotmail.co.uk > CC: internals@lists.php.net > Subject: Re: [PHP-DEV] [DISCUSSION] Make empty() a Variadic > > I'd say go ahead and draft an RFC with all the details of your proposed > change, then we can dis

RE: [PHP-DEV] [DISCUSSION] Make empty() a Variadic

2015-02-13 Thread Thomas Punt
Hi, > From: a...@ajf.me> > * I assume Thomas actually meant “where if any arguments passed in are > considered empty, then *true* is returned”, i.e. (empty($a) || empty($b) || > empty($c)) > > Sorry for the confusion. > > I think the || behaviour is the most usef

RE: [PHP-DEV] [DISCUSSION] Make empty() a Variadic

2015-02-13 Thread Thomas Punt
Hi Reeze, > From: re...@php.net > > For example: echo $a, $b, $c, & empty($a, $b, $c), they are treated equal, > > if the empty() means if any one of them is empty then result is TRUE, the > advantage of it disappeared: > > if (empty($a, $b, $c)) { > // you might want to check it again. > if (e

RE: [PHP-DEV] [DISCUSSION] Make empty() a Variadic

2015-02-13 Thread Thomas Punt
Hi Francois, > From: franc...@tekwire.net> > May I suggest to extend your proposal to is_null() with the same logic ? If we were to do the same with is_null(), then would it not be best to do it with all the is_*() functions? I would be more than happy to cater for those functions as well, thoug

RE: [PHP-DEV] [DISCUSSION] Make empty() a Variadic

2015-02-13 Thread Thomas Punt
Hi, > Date: Fri, 13 Feb 2015 15:09:16 +0100 > From: sbj.ml.r...@gmail.com > > While I don't know how common such a usage is I'm certain that there > is a use case for it. However, just modifying a subset of the is_* > functions sounds like a bad idea. If such a change is applied it > should be do

RE: [PHP-DEV] [DISCUSSION] Make empty() a Variadic

2015-02-13 Thread Thomas Punt
Hey Benoit, > From: bensor...@neuf.fr > Hi, > > I agree, this behaviour should be extended to all the is_* functions if > possible. > I'm not sure we can do that for all of the is_* functions, since is_callable() accepts up to three arguments rather than taking only a single argument like t

[PHP-DEV][RFC][VOTE] Enable error_handler callback parameters to be passed by reference

2015-02-13 Thread Thomas Bley
rfile, $fileno parameter to be passed by reference - No, Allow none of the parameter be a reference parameter and closes in 2 weeks from now. Thanks, Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] I quit.

2015-02-15 Thread Thomas Hruska
it somewhere. So, thank you, PHP community. It has been a wonderful 2 years. Goodbye. -- Andrea Faulds http://ajf.me/ Thank you for being a responsible software developer. Not many developers are this forward and honest about their intentions/plans. -- Thomas Hruska CubicleSoft President

[PHP-DEV] [RFC] Make empty() a Variadic

2015-02-20 Thread Thomas Punt
Hello Internals! The following RFC aims to make empty() have a variable arity: https://wiki.php.net/rfc/variadic_empty. This is a simple feature that enables for a short-hand notation of checking multiple expressions for emptiness (which is a pretty common thing to do). I have avoided including

RE: [PHP-DEV] [RFC] Make empty() a Variadic

2015-02-21 Thread Thomas Punt
Hey Leigh, > Hey Tom, > > Patch looks solid (basically the same as the isset logic with OR > instead of AND). I think it's fairly sane to have this feature because > it compliments isset functionality (although I dislike "empty" > personally - consistency is nice) > > No RFC would be complete wi

RE: [PHP-DEV] [RFC] Make empty() a Variadic

2015-02-21 Thread Thomas Punt
Hey Markus, > From the RFC: > > This behaviour seems to be the most prevalent usage of multiple empty > checks in a condition, therefore benefitting the most end users. > > Here I disagree. > > I would have assumed from the start that empty() would only return true > if *all* of the ent

RE: [PHP-DEV] [RFC] Make empty() a Variadic

2015-02-21 Thread Thomas Punt
// Sorry, having email formatting problems still. Hopefully this one will be more legible. Hey Markus, > From the RFC: > > This behaviour seems to be the most prevalent usage of multiple empty > checks in a condition, therefore benefitting the most end users. > > Here I disagree. > > I would hav

RE: [PHP-DEV] [RFC] Make empty() a Variadic

2015-02-21 Thread Thomas Punt
Hey Dan, > Making it easier to write bad (imo) code does > not seem a good reason for a change. The point of this language feature isn't to promote or simplify the creation of bad code. Developers can (and will) misuse any feature to write poor code. The aim of this RFC is to enable developers

[PHP-DEV] Feature request and RFC

2015-02-24 Thread Thomas Gielfeldt
Hi internals. I've made PR proposing a feature request: A new interface Sortable. https://github.com/php/php-src/pull/1116 If possible, I would like to create and RFC describing this in more detail, and perhaps get a voting on. Thanks Br, Thomas Gielfeldt

Re: [PHP-DEV] [RFC] Anonymous Classes

2015-02-24 Thread Thomas Bley
#x27;pwd', 'db'); return parent::query($query, $resultmode); } } // do sth for some time $->query('...'); // triggers real_connect $->query('...'); // connection is already established I haven't tested this, so I'm only intending to present the

Re: [PHP-DEV] [RFC] Anonymous Classes

2015-02-24 Thread Thomas Bley
I'm not sure if json syntax is better than PHP here: $object = (object)[ 'property'=>$value, 'method'=>function(){...} ]; $object->property; $object->method->__invoke(); S.A.N wrote on 24.02.2015 19:37: > Would have been more useful, inline sintex like JSON: > > $object = > { >'propert

Re: [PHP-DEV] Feature request and RFC

2015-02-24 Thread Thomas Gielfeldt
2015-02-24 17:36 GMT+01:00 Benjamin Eberlei : > Hi, > > On Tue, Feb 24, 2015 at 5:17 PM, Thomas Gielfeldt > wrote: > >> Hi internals. >> >> I've made PR proposing a feature request: A new interface Sortable. >> >> https://github.com/php/php-src/p

Re: [PHP-DEV] [RFC][VOTE] Improve array to string conversion

2015-02-24 Thread Thomas Bley
I think this is a huge bc break that will affect many applications. For example: // test.php error_reporting(E_ALL & ~E_NOTICE); echo $_GET['value']; curl http://.../test.php?value=foo // ok curl http://.../test.php?value[0]=foo&value[1]=bar // application continues with E_NOTICE curl http://...

Re: [PHP-DEV] [RFC][VOTE] Improve array to string conversion

2015-02-24 Thread Thomas Bley
: > On 24 February 2015 at 19:23, Thomas Bley wrote: >> I think this is a huge bc break that will affect many applications. For >> example: >> >> // test.php >> error_reporting(E_ALL & ~E_NOTICE); >> echo $_GET['value']; >> >> curl http

Re: [PHP-DEV] Feature request and RFC

2015-02-24 Thread Thomas Gielfeldt
2015-02-24 20:49 GMT+01:00 Stanislav Malyshev : > Hi! > > > I've made PR proposing a feature request: A new interface Sortable. > > > > https://github.com/php/php-src/pull/1116 > > > > If possible, I would like to create and RFC describing this in more > detail, > > and perhaps get a voting on. >

Re: [PHP-DEV] Feature request and RFC

2015-02-25 Thread Thomas Gielfeldt
2015-02-24 17:36 GMT+01:00 Benjamin Eberlei : > Hi, > > On Tue, Feb 24, 2015 at 5:17 PM, Thomas Gielfeldt > wrote: > >> Hi internals. >> >> I've made PR proposing a feature request: A new interface Sortable. >> >> https://github.com/php/php-src/p

Re: [PHP-DEV] Feature request and RFC

2015-02-25 Thread Thomas Gielfeldt
2015-02-25 11:31 GMT+01:00 Alexander Lisachenko : > > 2015-02-25 13:21 GMT+03:00 Thomas Gielfeldt : > >> I have some more proposals for how to implement this interface. Should we >> create an RFC for purposes of discussion, or do you usually do this in the >> m

Re: [PHP-DEV] Feature request and RFC

2015-02-25 Thread Thomas Gielfeldt
2015-02-25 12:15 GMT+01:00 Alexander Lisachenko : > > 2015-02-25 13:37 GMT+03:00 Thomas Gielfeldt : > >> Yeah, but the "problem" with this, is that your class' sort method, you >> have to implement all the possible permutations the flags can produce. Th

Re: [PHP-DEV] Feature request and RFC

2015-02-25 Thread Thomas Gielfeldt
2015-02-24 17:36 GMT+01:00 Benjamin Eberlei : > Hi, > > On Tue, Feb 24, 2015 at 5:17 PM, Thomas Gielfeldt > wrote: > >> Hi internals. >> >> I've made PR proposing a feature request: A new interface Sortable. >> >> https://github.com/php/php-src/p

Re: [PHP-DEV] Feature request and RFC

2015-02-26 Thread Thomas Gielfeldt
2015-02-24 17:36 GMT+01:00 Benjamin Eberlei : > Hi, > > On Tue, Feb 24, 2015 at 5:17 PM, Thomas Gielfeldt > wrote: > >> Hi internals. >> >> I've made PR proposing a feature request: A new interface Sortable. >> >> https://github.com/php/php-src/p

Re: [PHP-DEV][RFC][VOTE] Enable error_handler callback parameters to be passed by reference

2015-02-27 Thread Thomas Bley
Hi all, the rfc was declined: - Allow $errstr parameter to be passed by reference: 3 - Allow $errno, $errstr, $errfile, $fileno parameter to be passed by reference: 1 - No, Allow none of the parameter be a reference parameter: 16 Regards Thomas Thomas Bley wrote on 13.02.2015 21:51: > Hi

RE: [PHP-DEV] Coercive STH - some real world tests and updated RFC

2015-03-01 Thread Thomas Punt
Hey Zeev, > Another change being considered and not yet in the RFC is re-allowing > leading and trailing spaces for numeric strings (sorry Paddy.) I think that rejecting leading and trailing spaces for stringy ints is for the best. If I only want to accept an integer (in either int or string for

[PHP-DEV] Re: Feature request and RFC

2015-03-01 Thread Thomas Gielfeldt
2015-02-24 17:17 GMT+01:00 Thomas Gielfeldt : > Hi internals. > > I've made PR proposing a feature request: A new interface Sortable. > > https://github.com/php/php-src/pull/1116 > > If possible, I would like to create and RFC describing this in more > detail

Re: [PHP-DEV] Re: Feature request and RFC

2015-03-03 Thread Thomas Gielfeldt
2015-03-02 16:26 GMT+01:00 Rowan Collins : > Rowan Collins wrote on 02/03/2015 10:52: > >> Thomas Gielfeldt wrote on 02/03/2015 07:43: >> >> 2015-02-24 17:17 GMT+01:00 Thomas Gielfeldt : >>> >>> Hi internals. >>>> >>>>

[PHP-DEV] [VOTE] Make empty() a Variadic

2015-03-07 Thread Thomas Punt
Hello PHP Internals! I'd like to put the variadic empty() RFC to vote. RFC: https://wiki.php.net/rfc/variadic_empty Voting will finish in 14 days time on March 21st. Thanks, Tom -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] Re: Feature request and RFC

2015-03-08 Thread Thomas Gielfeldt
2015-03-04 10:41 GMT+01:00 Rowan Collins : > On 4 March 2015 07:12:41 GMT, Thomas Gielfeldt > wrote: > >2015-03-02 16:26 GMT+01:00 Rowan Collins : > > > >> Rowan Collins wrote on 02/03/2015 10:52: > >> > >>> Thomas Gielfeldt wrote on 02/03/201

Re: [PHP-DEV] [RFC] Anonymous Classes

2015-03-08 Thread Thomas Bley
7;, $translateFormat); return parent::createFromFormat($translateFormat, $time); } }); $date = $c::createFromFormat('foo', '2015-03-09'); Regards Thomas Philip Sturgeon wrote on 06.03.2015 20:14: > Right, this here RFC has been drastically improved. > > https

RE: [PHP-DEV] [VOTE] Make empty() a Variadic

2015-03-12 Thread Thomas Punt
Hey PHP Internals, So there hasn't been much discussion on this RFC, and yet a lot of people have voted -1 on it. This is a little disappointing because I'm not entirely sure why people are against it - and no one seems to want to debate it either. >From pre-RFC discussions, two main concerns wer

RE: [PHP-DEV] [VOTE] Make empty() a Variadic

2015-03-12 Thread Thomas Punt
Hey Dan, >> The falsy semantics of empty() means that inlining its behaviour to exactly >> match >> isset() isn't logical. > > The problem isn't so much that the behaviour doesn't match some other > pattern in PHP; the problem is that the function doesn't do what its > name says it does. > > "if

RE: [PHP-DEV] [VOTE] Make empty() a Variadic

2015-03-12 Thread Thomas Punt
Hey Derick, > IMO, because it's not obvious whether it is *all* empty, or *atleast > one* empty. The same argument we had before, when we expanded isset() to > be variadic. We had the same discussion then, resulting on keeping > empty() as it is. > > One discussion 11 years ago: > http://marc.info

Re: [PHP-DEV] [RFC] Basic Scalar Types

2015-03-13 Thread Thomas Bley
to ask Zeev, Francois and Dmitry to withdraw their rfc and open the door for finalizing php7, many people are waiting for. For 7.1 we all know how scalar type hints work in practice and know if we should remove declare(strict...), add coercion rules or stay with the v0.5 behaviour. Regards Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Voting irregularities

2015-03-15 Thread Thomas Bley
P :) Regards Thomas Derick Rethans wrote on 15.03.2015 20:07: > Rowan Collins schreef op 15 maart 2015 17:59:17 > GMT+00:00: >>On 15/03/2015 14:19, Anthony Ferrara wrote: >>> All, >>> >>> I ran some numbers on the current votes of the dual-mode vote right

RE: [PHP-DEV] STH and the 3 RFCs

2015-03-16 Thread Thomas Punt
Hey David, > A library written in weak or strict mode will have no bearing on its public > API. Strictly speaking (pun intended), this is not true. A library can easily expose a facade that enforces a user of that library (who is in weak mode) to have to write in strict mode [1]. Once more, thi

[PHP-DEV] RE: STH and the 3 RFCs

2015-03-16 Thread Thomas Punt
Hey, > This is a bug in the library. It declares strict mode but passes a value it > does not know to be an integer to a method requiring an integer. It can > be fixed by simply adding an int type declaration to the constructor or > test method. The second example is certainly a programmer error,

RE: [PHP-DEV] STH and the 3 RFCs

2015-03-16 Thread Thomas Punt
> No, your example would blow up regardless of the caller being in strict mode > or weak mode. That was the point in my hypothetical example - the library can decide what mode it wants the user to use (strict or weak) if it wants to. -Tom -- PHP Internals -

RE: [PHP-DEV] [RFC][Accepted] Scalar Type Declarations V0.5

2015-03-18 Thread Thomas Punt
Hey Pavel, > how will these examples work btw? > > // a.php > declare(strict_types=1); > function foo($fn) { > $fn("1"); > }; > > // b.php > require 'a.php'; > foo(function (int $a) { return $a * 2; }); Result: catchable fatal error Reason: invocation context is in strict mode > // c.php > f

RE: [PHP-DEV] [VOTE] Make empty() a Variadic

2015-03-21 Thread Thomas Punt
Hey Internals, > I'd like to put the variadic empty() RFC to vote. > > RFC: https://wiki.php.net/rfc/variadic_empty > > Voting will finish in 14 days time on March 21st. Voting has now ended with a 26:26 yes/no split. This means the RFC has has been declined (namely surrounding the ambiguity of w

RE: [PHP-DEV] Exception hierarchy: open issues

2015-03-30 Thread Thomas Punt
Hey, > Imho TypeException may not be best name for > it, as it's also thrown for non-type related error conditions, like > mismatched argument count. Would SignatureException be a more apt name for these error conditions? -Tom -- PHP Internals - PHP Runtime

RE: [PHP-DEV] Allow __toString() to throw exceptions

2015-05-24 Thread Thomas Punt
Hey, > I have a question: is there any reason to throw an exception from > __toString, *other* than a non-recoverable error, which would denote that > the object, which the __toString method is called on, does not have any > meaningful string representation? Because if not, core implementation ful

Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-13 Thread Thomas Bley
ll get the advantages of opcode caching on a > multiple virtual host environment. It would also be easier to setup. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > with a separate directory you can use tmpfs which i

Re: [PHP-DEV] [RFC] Block requests to builtin SQL functions where PHP can prove the call is vulnerable to a potential SQL-injection attack

2015-07-29 Thread Thomas Bley
rn_var ] ] ] ) echo exec_bind('ls ?', [$someDir]); Using exec_bind() means parameters are substituted in as (correctly) escaped strings and the result is run with exec(). Those who want to secure their legacy code can use "disable_functions=mysqli_query,exec" and change the occurrences of both functions to the new bind functions. If people still use echo exec_bind('ls '.$someDir), static code analysis can find it, similar to unsafe includes. Regards Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] GitHub URL for [PHP-DEV] [RFC] Platform and extension-independent API to the system CSPRNG

2012-01-09 Thread Thomas Hruska
internal decision and won't really be a significant improvement over other PHP functions - it'll just be one more confusing option to pick from. As an aside, I recently developed a sufficient-for-most-needs CSPRNG in pure PHP: http://barebonescms.com/documentation/csprng/ -- Thomas Hru

[PHP-DEV] Re: [php-maint] Uploading 5.4 RC to unstable (Was: Upcoming transition of php5 to 5.4)

2012-02-01 Thread Thomas Goirand
ew as reference). Are these now totally removed from PHP 5.4, or do they still show with deprecation warnings? Thoughts? Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Suhosin patch disabled by default in Debian php5 builds

2012-02-02 Thread Thomas Goirand
a build flag be used, so that you can choose security or speed depending on your needs? If you do some: #ifdef ENABLE_SLOWER_SUHOSIN_SECURITY in the controversial parts, then I don't see how this would be of trouble for anyone to have Suhosin included in upstream PHP. Cheers, Thomas Goira

[PHP-DEV] Re: Suhosin patch disabled by default in Debian php5 builds

2012-02-03 Thread Thomas Goirand
her Stefan or anyone else seem to be willing to make the necessary efforts. I've bring that up with Stefan, and yet didn't receive a reply from him on this topic. Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Confusing Windows Users 101...the download page is UNUSABLE.

2012-03-31 Thread Thomas Hruska
wnloads for the previously selected version and build type. This approach also affords adding a "What do I do next?" section to be on the download page to get the user started on the right path if they've never used the PHP binaries or PHP before. Maybe also inject a short blurb

Re: [PHP-DEV] Adding a simple API for secure password hashing?

2012-06-13 Thread Thomas Hruska
ut of crypt() or the lack of input controls. Other thoughts: mt_rand() does not qualify as random. If you need random bytes, consider using CSPRNG (http://barebonescms.com/documentation/csprng/). -- Thomas Hruska CubicleSoft President Barebones CMS is a high-performance, open source

Re: [PHP-DEV] Adding a simple API for secure password hashing?

2012-06-14 Thread Thomas Hruska
rious function pages. -- Thomas Hruska CubicleSoft President Barebones CMS is a high-performance, open source content management system for web developers operating in a team environment. An open source CubicleSoft initiative. Your choice of a MIT or LGPL license. http://barebonescms.com/ --

Re: [PHP-DEV] 6.0 And Moving Forward

2012-07-17 Thread Thomas Nunninger
le - but not in one php block. And that's easier to handle by coding conventions in the team.) Versioning could be a chance to evolve the language and not to mess with existing code. BUT: I don't know if that's doable internally. And it's probably a lot of work... Regard

Re: [PHP-DEV] Re: Generators in PHP

2012-07-25 Thread Thomas Hruska
C somewhere near the beginning of the document. Eh, what? "Switch them off"? What on earth do you mean? "use noGenerators" and then break tons of third-party code relying on it? Or do you think you're forced to use them? I don't understand, sorry. A feature's e

Re: [PHP-DEV] Older style frameworks ...

2012-08-25 Thread Thomas Hruska
expenditures into their cost models. -- Thomas Hruska CubicleSoft President Barebones CMS is a high-performance, open source content management system for web developers operating in a team environment. An open source CubicleSoft initiative. Your choice of a MIT or LGPL license. http://bareb

Re: [PHP-DEV] [PATCH] Modifications for ext/session/

2005-04-25 Thread Thomas O'Neill
I think that these functions could be helpful. Is there any reason we shouldn't have this kind of functionality? What do others think of these changes? -Tom On 4/22/05, Daniel J Cain Jr. <[EMAIL PROTECTED]> wrote: > > These changes in and of themselves will offer zero increased protection

Re: [PHP-DEV] Re: new overloading feature?

2005-05-11 Thread Thomas Richter
Lukas Smith wrote: FYI: SingletonFactory can be a pure static class. yes it just doesnt work if you normally already use a factory ..because then you cant do $name::factory(); call_user_func(array($name,"Factory")); ?? thomas -- PHP Internals - PHP Runtime Development Mailing List To u

[PHP-DEV] [patch] new imap_status_current() function

2005-06-01 Thread Thomas Jarosch
le by other means on the selected mailbox, the STATUS command SHOULD NOT be used on the currently selected mailbox. Maybe it should be added to the documentation to use only the new imap_status_current() function for the current folder. Please CC: comments, I'm not on the list. Best regar

[PHP-DEV] [patch] imap_getacl PHP4 backport + comment typo fix

2005-06-02 Thread Thomas Jarosch
Hi, attached patch backports PHP5's imap_getacl function to PHP4. I also noticed a small typo in PHP5's mail_getacl() comment. Please CC: comments. Best regards, Thomas Jarosch diff -u -r php-5.0.4/ext/imap/php_imap.c php-5.0.4.typo/ext/imap/php_imap.c --- php-5.0.4/ext/imap/php_imap

Re: [PHP-DEV] allow_url_fopen should be INI_ALL

2005-06-29 Thread Shaun Thomas
harassment; that's just not human nature. That said, I humbly ask we add allow_url_include to accompany allow_url_fopen, since some desire only to disable the former. We got what we wanted by patching the source, so do as you will. ^_^ -- Shaun M. ThomasINN Databas

Re: [PHP-DEV] Bringing the 'include' discussion to an end

2005-06-30 Thread Shaun Thomas
versation many times. This is not a debate, it is not a college speech class, there are no "points" to make. Regardless of whether or not you like the answer, the answer is no. Enjoy your vacation---I know we will. ;) -- Shaun M. ThomasINN Database Administrator Phone: (309)

[PHP-DEV] CVS Account Request: jthomas

2007-11-06 Thread Joe Thomas
I want to be able to contribute to the php core for the community. Whether it be contributing to the documentation, developing extensions, or help to maintain the php.net website I am interested! -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/u

[PHP-DEV] CVS Account Request: pandora

2008-03-05 Thread Joe Thomas
I would like to help maintain the documentation and possibly php.net. I would also be looking forward to actually develop php runtime and an official bundled php extension possibly in the near future. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.

[PHP-DEV] CVS Account Request: mimmi

2008-03-11 Thread Thomas Mueller
distributing a new package -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Inclusion of PHP LiteSpeed SAPI in the standard PHPdistribution?

2008-03-24 Thread Thomas Seifert
from Litespeed for their own product. Regards, thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [patch] Implement IMAP DELETEACL command

2008-03-28 Thread Thomas Jarosch
7;m not on the list. Cheers, Thomas --- php-5.2.5/ext/imap/php_imap.c Fri Mar 28 13:28:28 2008 +++ php-5.2.5.new/ext/imap/php_imap.c Fri Mar 28 13:58:18 2008 @@ -153,6 +153,7 @@ PHP_FE(imap_get_quota, NULL) PHP_FE(imap_get_quotaroot, NULL) PHP_FE(imap_set_quota, NULL

Re: [PHP-DEV] RE:

2008-10-27 Thread Thomas Lee
Lester Caine wrote: The backslash is not ideal, but I think we all need to get behind it rather than complaining. The only other real alternative today is to shelve namespaces altogether for the next release rather than putting something in that is simply not practical to extend later? I'd pref

Re: [PHP-DEV] RE:

2008-10-27 Thread Thomas Lee
x27;t like. You just live with that or chouse another language. That's all. 2008/10/27 Thomas Lee <[EMAIL PROTECTED]> Lester Caine wrote: The backslash is not ideal, but I think we all need to get behind it rather than complaining. The only other real alternative today is to shelv

Re: [PHP-DEV] RE:

2008-10-27 Thread Thomas Lee
Steph Fox wrote: Hi Thomas, Anyway, my point is that there may be other options. Such as putting off a long-sought feature until it can be implemented properly. OK, since you obviously didn't do any background reading before posting to this list, let me direct you to the history b

Re: [PHP-DEV] RE:

2008-10-27 Thread Thomas Lee
David Grudl wrote: But what is the purpose of namespaces? To give developers their own separated space. And it is their responsibility to not use ambiguous names. PHP has not problem with class Foo::Bar and namespace Foo::Bar, but coding standards usually prohibits it. +1 to that. Cheers,

[PHP-DEV] php daemons, memory

2009-01-10 Thread Thomas Koch
al kind of PHP binary "php-daemon": - php-daemon is an executable that restarts a given php script in a loop - php-daemon can be combined with apc/xcache to store the bytecode Unfortunately I'm still to much a newbie to write this myself. Thanks for your time reading th

[PHP-DEV] GSOC proposoal: Write an updated Guide on extending PHP

2009-01-22 Thread Thomas Koch
ound it up. Best regards, -- Thomas Koch, http://www.koch.ro -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] FYI: Debian packaging of PHP. SVN->GIT

2009-04-12 Thread Thomas Koch
http://wiki.debian.org/PHP/GitMigration http://lists.alioth.debian.org/pipermail/pkg-php-maint/2009-April/005221.html happy eastern! Thomas Koch -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] - Regarding bug/feature-request: #34421

2005-12-22 Thread Thomas Gielfeldt
Hi Here's a patch that updates debug_backtrace() somewhat as requested in bug/feature-request: #34421 The patch also adds 2 new builtin functions: get_scope() and is_static(). I hope this can be of use to someone and would like to contribute this patch. Contents of patch: -rw-r--r-- t

Re: [PHP-DEV] [PATCH] __toString()

2006-01-27 Thread Thomas Moenicke
__toString() result will be passed to the underlying system, and there is no unicode support yet. What I would prefer is calling overidden operators before __toString() is called. Am I wrong? Can anybody help me please? Thanks, Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] __toString()

2006-01-27 Thread Thomas Moenicke
ra! Why this is not in the core? And what is 'Plan A'? ;) regards, Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Moving gd development to php.net

2006-03-31 Thread Thomas Boutell
e interested in that also willing to ensure that gd remains useful to non-PHP developers? -- Thomas Boutell Boutell.Com, Inc. http://www.boutell.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Moving gd development to php.net

2006-04-02 Thread Thomas Boutell
;s a 2.0.35 release to be made, or sooner if it seems appropriate, I'll make an announcement and direct folks to the appropriate PHP page. -- Thomas Boutell Boutell.Com, Inc. http://www.boutell.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] class inheritance

2006-05-08 Thread Thomas Moenicke
parent::__construct(); } } Is it possible to access $myArray in the parents constructor? Therefor I need the zval* pointer of the child! I do not want to pass it as an argument. Thanks and regards, Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] class inheritance

2006-05-09 Thread Thomas Moenicke
l->type == IS_ARRAY statement can protect the access. regards, Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Extensions building tutorial

2006-05-28 Thread Thomas Moenicke
Hi Yoav, four chapters with example about writing extensions and SAPIs, useful as an introduction: http://www.amazon.com/gp/product/0672325616/ -- Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] gd development as part of php.net

2006-08-30 Thread Thomas Boutell
API that gives it simplicity approaching gd, especially when used from languages like PHP. Also, the ImageMagick license appears to be GPL-compatible and making-money-compatible: http://www.imagemagick.org/script/license.php So, at the expense of my own site traffic perhaps, why the outdated gd

[PHP-DEV] PHP and gd

2006-08-31 Thread Thomas Boutell
Pierre has addressed my concerns and I'm looking forward to great things in gd 2.0.34. -- Thomas Boutell Boutell.Com, Inc. http://www.boutell.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] get_method - handlers

2006-09-07 Thread Thomas Moenicke
Hi, I tried to overwrite the 'get_method' handler and it works fine, but would need the same effect for static methods. I tried something but found no proper way to by-pass the zend_std_get_static_method() in an extension. Is there a solution for it? Thomas -- PHP Internals - P

Re: [PHP-DEV] PHP 5.2: Serialization patch

2006-12-07 Thread Thomas Seifert
eta-data anymore. Also the performance drawback will get you a lot of angry users. Wasn't that just some versions before when the serialization has gotten a lot slower and created lots of problems? thomas Andrei Zmievski schrieb: > I don't see a way we can make it work for all the cases.

Re: [PHP-DEV] [RFC] Scalar Type Hinting With Casts (re-opening)

2014-07-17 Thread Thomas Nunninger
ng" and that should be explicitly mentioned in the docs/tutorials/blog posts/... - I don't know if there is a downside for static code analysis. But probably you even need defined return types for that. Regards Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Scalar Type Hinting With Casts (re-opening)

2014-07-17 Thread Thomas Nunninger
Hi Dan, On 07/17/2014 02:12 PM, Dan Ackroyd wrote: Thomas Nunninger wrote: - "scalar parameter casting" should just be a convenience for coding: function foo( (int) $i, (string) $s ) { } is the same as: function foo( $i, $s ) { $i

Re: [PHP-DEV] [RFC] Closure::call and Function Referencing as Closures

2014-08-03 Thread Thomas Bley
Hello Andrea, from userland perspective, I would prefer to open the Closure constructor instead of adding new syntax: $qux = new FooBar(3); // $func = &FooBar::getStatic; $func = new Closure(array('FooBar', 'getStatic')); $func($qux); // 3 Regards Thomas Andrea Fauld

Re: [PHP-DEV] Regarding PHP-FPM protocols

2014-08-09 Thread Thomas Bley
Hello Aaron, you might look at: https://github.com/adoy/PHP-FastCGI-Client/blob/master/src/Adoy/FastCGI/Client.php see buildNvpair() and buildPacket(). and the specification: http://www.fastcgi.com/devkit/doc/fcgi-spec.html Regards, Thomas Aaron Lewis wrote on 09.08.2014 06:43: >

Re: [PHP-DEV] Let's make a 5.7 release

2014-08-16 Thread Thomas Nunninger
think one year to get it right on both sides - the spec and the implementation - is totally ok.) Regards Thomas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Native support - PUT request, multipart form data

2014-08-16 Thread Thomas Bley
I think it would be great to have json encoded data from input body in $_REQUEST, just like parameters from the request-uri or form-urlencoded data. Regards, Thomas Park Framework wrote on 17.08.2014 02:33: > Maybe, select the best API can community. > The main thing that it was not a

Re: [PHP-DEV] Native support - PUT request, multipart form data

2014-08-16 Thread Thomas Bley
Since we get JSON data, I would also consider $_JSON. Regards Thomas Park Framework wrote on 17.08.2014 01:47: > Variable $_PUT is already a popular name. > Many for yourself already so it was called, at the bottom link. > http://stackoverflow.com/search?q=PHP+%24_PUT > > But

Re: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast

2014-09-14 Thread Thomas Bley
Hello Andrea, I find the rfc a bit difficult to understand: e.g. is_float('1') gives false, but foo('1') with function foo(float $a){} is ok. Regards, Thomas Andrea Faulds wrote on 14.09.2014 01:30: > Good evening, > > I’ve given up on my plan B, so I’m putting

  1   2   3   4   5   >