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

2011-04-17 Thread Mikael Fernandus S
As a non core dev, I would like to say that the patches are so handy and this feature will be so helpful in portable php development scenarios. +1 on this and hoping it will make into the main branch pretty soon. Similar with others, my suggestion is to put the docroot and router script as parts

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

2011-04-17 Thread Richard Quadling
On 17 April 2011 15:51, Mikael Fernandus S mika...@gmail.com wrote: As a non core dev, I would like to say that the patches are so handy and this feature will be so helpful in portable php development scenarios. +1 on this and hoping it will make into the main branch pretty soon. Similar

Re: [PHP-DEV] [PATCH] Allow loading of arbitrary resource bundles when fallback is disabled.

2011-04-17 Thread Stas Malyshev
Hi! With the fallback flag off (third ctor argument), ures_open is still used. This won't allow loading of data in invalid identifiers, such as some of ICU's built-in data (e.g. supplementalData). I think it makes sense, I've applied it. -- Stanislav Malyshev, Software Architect SugarCRM:

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

2011-04-17 Thread Andi Gutmans
I really like the idea. Just to be clear though I'd change: Server is listening on localhost:8000... Press CTRL-C to quit. To something like: PHP Development Server is listening on localhost:8000... Press CTRL-C to quit. I think that makes it very clear this is for development and enhancements

[PHP-DEV] Re: internals Digest 18 Apr 2011 04:07:09 -0000 Issue 2314

2011-04-17 Thread G M
I wrote a function that takes a reference, like so: ifset($arr, $key, $default) wouldn't this be more in line with PHP's design, anyway? Greg -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] ternary operator

2011-04-17 Thread G M
I should mention the more general use cases of the function I had made: ifset($arr, $key1, $key2, ..., $keyN, $default) actually, this function checks with array_key_exists, and not just isset. Meaning, if the value exists at that array key path and is null, it is used, otherwise, $default is