[PHP-DEV] Re: Reverting ext/mbstring patch

2011-03-03 Thread Moriyoshi Koizumi
Hi, The obvious problem looked like handling of internal encoding. When the script is written in an encoding that is incompatible with the lexer, the script is converted into internal encoding (input_filter) for parsing, and then gets every string literal converted back to the original encoding

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-03 Thread Ángel González
Moriyoshi Koizumi wrote: Regarding the patch (https://gist.github.com/835698): I don't see a switch to disable the internal parse on configure. I don't see any obvious reason it should be able to be turned off through the build option. The only problem is binary size increase, which I guess

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-03 Thread Moriyoshi Koizumi
Hi, On Thu, Mar 3, 2011 at 3:35 PM, Alexey Zakhlestin indey...@gmail.com wrote: On Wed, Mar 2, 2011 at 11:55 PM, Moriyoshi Koizumi m...@mozo.jp wrote: Hi, Just to let you know that I wrote a RFC about built-in web server feature with which PHP can serve contents without a help of web

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-03 Thread Moriyoshi Koizumi
Hi, 2011/3/3 Ángel González keis...@gmail.com: Moriyoshi Koizumi wrote: Regarding the patch (https://gist.github.com/835698): I don't see a switch to disable the internal parse on configure. I don't see any obvious reason it should be able to be turned off through the build option.  The only

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-03 Thread Derick Rethans
On Thu, 3 Mar 2011, Moriyoshi Koizumi wrote: In short, if you need to configure it more, it'd be better off installing Apache to do the right job. I would like to cover just a marginal part of the developer needs with this. I like it being small and simple as well. Sometimes forcing people

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-03 Thread Lester Caine
Derick Rethans wrote: In short, if you need to configure it more, it'd be better off installing Apache to do the right job. I would like to cover just a marginal part of the developer needs with this. I like it being small and simple as well. Sometimes forcing people to use one method

[PHP-DEV] PHP 5.3.6RC2 Released for Testing

2011-03-03 Thread Johannes Schlüter
The second release candidates of 5.3.6 was just released for testing and can be downloaded here: http://downloads.php.net/johannes/php-5.3.6RC2.tar.bz2 (md5sum: f870685b8715600e056d2dbb22920576) http://downloads.php.net/johannes/php-5.3.6RC2.tar.gz (md5sum: 32e88f8a2dd1e756d386b7fe625c7e8b) The

[PHP-DEV] Class Access Modifiers

2011-03-03 Thread Jarrod Nettles
Has there been any discussion on access modifiers for classes? I looked through the existing RFCs and searched through old discussions on the mailing list but didn't come up with anything. Specifically, I think it would be beneficial (for framework developers in particular) if classes could be

Re: [PHP-DEV] Class Access Modifiers

2011-03-03 Thread Martin Scotta
I'm writing a RFC about improvements on the current OO Model. do you want to add this? http://wiki.php.net/rfc/object-model-improvements Martin Scotta On Thu, Mar 3, 2011 at 2:21 PM, Jarrod Nettles jnett...@inccrra.org wrote: Has there been any discussion on access modifiers for classes? I

Re: [PHP-DEV] Volnitsky substring search algo

2011-03-03 Thread Leonid Volnitsky
Damien Tournoud damz at damz.org writes: On Sun, Feb 27, 2011 at 12:50 PM, Jordi Boggiano j.boggiano at seld.be wrote: The algorithm seems flawed to me, at least in its reference implementation. There does not seem to be any guarantee that the returned position is really the *first*

[PHP-DEV] streams problem in 5.3

2011-03-03 Thread Stas Malyshev
Hi! I try to do some complex code with custom streams and I have discovered the following problem: The code in main/streams/cast.c, specifically _php_stream_cast, creates fopencookie() synthetic stream for streams that are not actual file streams. Which works fine until such stream is used

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-03 Thread Christopher Jones
On 03/02/2011 12:55 PM, Moriyoshi Koizumi wrote: Hi, Just to let you know that I wrote a RFC about built-in web server feature with which PHP can serve contents without a help of web servers. That would be handy for development purpose. If interested, have a look at

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-03 Thread Moriyoshi Koizumi
On Fri, Mar 4, 2011 at 11:17 AM, Christopher Jones christopher.jo...@oracle.com wrote: On 03/02/2011 12:55 PM, Moriyoshi Koizumi wrote: Hi, Just to let you know that I wrote a RFC about built-in web server feature with which PHP can serve contents without a help of web servers.  That