Re: [PHP-DEV] Named Parameters

2010-04-06 Thread Martin Jansen
On 5.4.2010 00:45, Pierre Joye wrote: > On Mon, Apr 5, 2010 at 12:07 AM, Stanislav Malyshev wrote: > >> 3. Combining named and un-named params can get weird - i.e. foo(1,2,3) is >> simple, foo(1, 2, bar => 3) is doable, but foo(1, 2, bar => 3, 4) would be >> trouble, since it is not clear at all

Re: [PHP-DEV] SVN Account Request: gron

2010-04-06 Thread Lukas Kahwe Smith
On 30.03.2010, at 22:08, Stefan Marr wrote: > I would like to contribute my Traits implementation to PHP. > > BTW, there is no Grafts implementation at the moment, and as long as there is > not any vote from the community that you want Grafts but not Traits, I would > like to commit my work.

[PHP-DEV] SVN Account Request: looyao

2010-04-06 Thread looyao
Developing the PHP runtime -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] What gruntwork needs to be done

2010-04-06 Thread Martin Jansen
On 6.4.2010 19:54, Rasmus Lerdorf wrote: > On 04/06/2010 10:47 AM, Scott MacVicar wrote: >> http://whisky.macvicar.net/patches/utf8-string.diff.txt > > My only issue with this is that it essentially duplicates the utf8 part > of get_next_char() from html.c. I'd like to see cs parsing in one place

Re: [PHP-DEV] What gruntwork needs to be done

2010-04-06 Thread Scott MacVicar
On Apr 6, 2010, at 10:54 AM, Rasmus Lerdorf wrote: > On 04/06/2010 10:47 AM, Scott MacVicar wrote: >> On Apr 6, 2010, at 10:34 AM, Rasmus Lerdorf wrote: >> >>> On 04/06/2010 10:08 AM, Justin Dearing wrote: So pending review an acceptance by Dmitry, I've written my first patch for PHP. W

Re: [PHP-DEV] What gruntwork needs to be done

2010-04-06 Thread Rasmus Lerdorf
On 04/06/2010 10:47 AM, Scott MacVicar wrote: > On Apr 6, 2010, at 10:34 AM, Rasmus Lerdorf wrote: > >> On 04/06/2010 10:08 AM, Justin Dearing wrote: >>> So pending review an acceptance by Dmitry, I've written my first patch for >>> PHP. While there is a good chance I will need to make further rev

Re: [PHP-DEV] What gruntwork needs to be done

2010-04-06 Thread Scott MacVicar
On Apr 6, 2010, at 10:34 AM, Rasmus Lerdorf wrote: > On 04/06/2010 10:08 AM, Justin Dearing wrote: >> So pending review an acceptance by Dmitry, I've written my first patch for >> PHP. While there is a good chance I will need to make further revisions to >> the test or code, I don't know what that

Re: [PHP-DEV] Named Parameters

2010-04-06 Thread Lukas Kahwe Smith
On 02.04.2010, at 23:17, GM wrote: > Once again I'd love to create an RFC for this, but I don't think I have > permissions on the wiki to do that. What do I do to get those privileges > granted to my wiki account? Hmm thought I already mailed you about this .. anyways the link is here (can be

Re: [PHP-DEV] What gruntwork needs to be done

2010-04-06 Thread Rasmus Lerdorf
On 04/06/2010 10:08 AM, Justin Dearing wrote: > So pending review an acceptance by Dmitry, I've written my first patch for > PHP. While there is a good chance I will need to make further revisions to > the test or code, I don't know what that is. > > However, I've got some free time at the moment

[PHP-DEV] Internals FAQ

2010-04-06 Thread Philip Olson
The internals documentation has stalled, and the sheer size of it is overwhelming. So how about everyone instead take a moment and go here: - http://wiki.php.net/doc/faq/internals And add questions with or without answers. It's casually put together and even includes quotes straight out of I

[PHP-DEV] What gruntwork needs to be done

2010-04-06 Thread Justin Dearing
Hi, So pending review an acceptance by Dmitry, I've written my first patch for PHP. While there is a good chance I will need to make further revisions to the test or code, I don't know what that is. However, I've got some free time at the moment, and I'd like to make use of some of the sunk cost

Re: [PHP-DEV] On constructors: BC Break and Class compiler Improvements

2010-04-06 Thread Richard Quadling
On 6 April 2010 13:52, Ferenc Kovacs wrote: > > > On Tue, Apr 6, 2010 at 1:32 PM, Hannes Magnusson > wrote: >> >> 2010/4/6 Richard Quadling : >> > 2010/4/5 Stanislav Malyshev : >> >> Hi! >> >> >> >>> Given the feedback on the list I think it's ok. >> >>> Please make the BC break clear in the NEWS

Re: [PHP-DEV] On constructors: BC Break and Class compiler Improvements

2010-04-06 Thread Ferenc Kovacs
On Tue, Apr 6, 2010 at 1:32 PM, Hannes Magnusson wrote: > 2010/4/6 Richard Quadling : > > 2010/4/5 Stanislav Malyshev : > >> Hi! > >> > >>> Given the feedback on the list I think it's ok. > >>> Please make the BC break clear in the NEWS file so I remember to copy > it > >>> in the announcement. >

Re: [PHP-DEV] On constructors: BC Break and Class compiler Improvements

2010-04-06 Thread Hannes Magnusson
2010/4/6 Richard Quadling : > 2010/4/5 Stanislav Malyshev : >> Hi! >> >>> Given the feedback on the list I think it's ok. >>> Please make the BC break clear in the NEWS file so I remember to copy it >>> in the announcement. >> >> OK, done. >> -- >> Stanislav Malyshev, Zend Software Architect >> s..

Re: [PHP-DEV] On constructors: BC Break and Class compiler Improvements

2010-04-06 Thread Pierre Joye
2010/4/6 Richard Quadling : > I've just done a quick check on PEAR/packages-all with regard to > classes using __construct vs the class name. > > 818 classes have __construct > 1511 use the class name as the constructor > 3563 files don't have a constructor > > I excluded tests, examples and docum

Re: [PHP-DEV] On constructors: BC Break and Class compiler Improvements

2010-04-06 Thread Richard Quadling
2010/4/5 Stanislav Malyshev : > Hi! > >> Given the feedback on the list I think it's ok. >> Please make the BC break clear in the NEWS file so I remember to copy it >> in the announcement. > > OK, done. > -- > Stanislav Malyshev, Zend Software Architect > s...@zend.com   http://www.zend.com/ > (408

Re: [PHP-DEV] Supplying nothing at all for default parameters

2010-04-06 Thread Alexey Zakhlestin
On 06.04.2010, at 14:16, Richard Quadling wrote: > Hello. > > A suggestion I would like to make is to allow for nothing to be > supplied for defaulted parameters. > > I suppose the easiest way of describing this issue is with the > following code ... > > function foo($bar, $baz = 9, $buzz = 1

[PHP-DEV] Supplying nothing at all for default parameters

2010-04-06 Thread Richard Quadling
Hello. A suggestion I would like to make is to allow for nothing to be supplied for defaulted parameters. I suppose the easiest way of describing this issue is with the following code ... http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Z

Re: [PHP-DEV] unsigned chars

2010-04-06 Thread Apis SARL
To avoid this matter try utf8_encode and utf8_decode. Encode before storing your datas in the file then decode when you read. Le 05/04/2010 11:31, Alexey Zakhlestin a écrit : > Use "reply all" when writing to mailing-list. > > > On 05.04.2010, at 13:18, donald sullivan wrote: > >> what i am

[PHP-DEV] One suggestion to PHP-FPM

2010-04-06 Thread 滕路遥
hi, We use PHP's Imagemagick extension to process images, and this would consume a lot of memory under some circumstances. However, the mainstream PHP's memory management is really weak, so a huge amount of memory would be consumed under high server load. What's worse, this even cause our server t