Re: [PHP-DEV] php 5.2.4 test results reference

2007-10-19 Thread jean jayet
(resending this message as got return errors) Thanks Nuno for this proposition for sure Sun is very interested in publishing/sharing the test results of integrating PHP 5.2.4 in its OpenSolaris version (Solaris Express Developer Edition, SXDE) fyi, the PHP 5.2.4 test suite has already been

[PHP-DEV] Re: Order of class resolution with namespaces and autoload

2007-10-19 Thread Gregory Beaver
Chuck Hagenbuch wrote: Hi folks- I've hit upon something with namespaces and autoloading that I think is a little out of order. If you take the attached 3 files, put them in the same directory, and run demo.php, you will see this: Fatal error: Uncaught exception 'Exception' in

Re: [PHP-DEV] Re: Order of class resolution with namespaces and autoload

2007-10-19 Thread Chuck Hagenbuch
Quoting Gregory Beaver [EMAIL PROTECTED]: Are you suggesting there be namespace-specific autoload? This sounds interesting to me, but also quite complex, not sure the benefits would outweigh the difficulties for implementation. For instance, PEAR2 namespace would be different from

[PHP-DEV] Order of class resolution with namespaces and autoload

2007-10-19 Thread Chuck Hagenbuch
Hi folks- I've hit upon something with namespaces and autoloading that I think is a little out of order. If you take the attached 3 files, put them in the same directory, and run demo.php, you will see this: Fatal error: Uncaught exception 'Exception' in /Users/chuck/Desktop/test.php:7

Re: [PHP-DEV] Undefined Constants behavior in PHP6

2007-10-19 Thread news.php.net
Alexey Zakhlestin [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] and what's wrong with the following syntax? if(defined('DEBUG')) print_r($_SESSION); I might have a define(DEBUG,$_SERVER[REMOTE_ADDR]==myip); included - on not I know defined exists but, more than the

[PHP-DEV] Undefined Constants behavior in PHP6

2007-10-19 Thread news.php.net
I was wondering if someone already think about modifying the actual behavior of undefined constants in php6. I'm desperate with some if(DEBUG) print_r($_SESSION); - and lot others case - Is there a possibility undefined constants ( strings ) return null :x ? I do not think it's a mistake,

Re: [PHP-DEV] exception policy for core

2007-10-19 Thread Larry Garfield
On Friday 19 October 2007, Lukas Kahwe Smith wrote: I've actually had issues in the past with PDO and non-exception error-mode handling. I had queries that were running fine but when I checked the error value it gave a non-OK value. (I forget what off hand.) As soon as I switched

Re: [PHP-DEV] exception policy for core

2007-10-19 Thread Lukas Kahwe Smith
On 19.10.2007, at 02:20, Larry Garfield wrote: On Thursday 18 October 2007, Lukas Kahwe Smith wrote: The possibility of changing the error mode at run-time makes it quite hard to read code. Since you always have to check the error mode of the object you're currently looking at. Therefore I

Re: [PHP-DEV] Re: Order of class resolution with namespaces and autoload

2007-10-19 Thread Gregory Beaver
Chuck Hagenbuch wrote: So, if I want a global exception, I use ::Exception. If I say Exception, then I mean my namespace's Exception with no fallback. And if I want another namespace's Exception, I import it (import Other::Exception). I (and PEAR) could live with this. I don't have a patch

Re: [PHP-DEV] Undefined Constants behavior in PHP6

2007-10-19 Thread Christian Schneider
news.php.net wrote: I might have a define(DEBUG,$_SERVER[REMOTE_ADDR]==myip); included - on not Just make sure you always set DEBUG, shouldn't be too hard if your code has any structure ;-) - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] Undefined Constants behavior in PHP6

2007-10-19 Thread Alexey Zakhlestin
and what's wrong with the following syntax? if(defined('DEBUG')) print_r($_SESSION); I don't think there's a need to change anything here… On 10/19/07, news.php.net [EMAIL PROTECTED] wrote: I was wondering if someone already think about modifying the actual behavior of undefined constants in