[PHP-DEV] CVS Account Request: xp2110

2004-01-17 Thread Ahmad Al Mulla
gfyte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] __destruct() not called

2004-01-17 Thread Sebastian Bergmann
The __destruct() method of the PHPUnit_Extensions_Logger_XML class (part of PHPUnit) is not beeing called. To reproduce: 1.) cd pear/PHPUnit 2.) Create FooTest.php with the following code assertEquals( 'abcdefghijklmnopqrstuvwxyz', 'abcdef

Re: [PHP-DEV] __destruct() not called

2004-01-17 Thread Michael Walter
Do you have circular references between 2+ objects? The __destruct() method won't be called then for those, I suppose. Cheers, Michael Sebastian Bergmann wrote: The __destruct() method of the PHPUnit_Extensions_Logger_XML class (part of PHPUnit) is not beeing called. To reproduce: 1.)

[PHP-DEV] PHP 4 Bug Summary Report

2004-01-17 Thread internals
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (812 total including feature requests) ===[*Directory/Filesystem functions] 26574 Assigned basename() cannot work with Chinese Path name 26653 Assigned open_basedir bug 26863 O

Re: [PHP-DEV] ZE2, dl() and objects

2004-01-17 Thread Martin Eisengardt
Pierre-Alain Joye wrote: >> It seems there is a problem in either the PHP's shutdown sequence in >> php_request_shutdown() or destrutor order in ZE2. The problem is quite >> simple, I did some debugging and got a segfault in zend_variables.c:61 ZEND_OBJ_HT_P(zvalue)->del_ref(zavlue TSRMLS_

Re: [PHP-DEV] SimpleXML: Moving Forward

2004-01-17 Thread Marcus Boerger
Hello Christian, Friday, January 16, 2004, 12:20:13 PM, you wrote: > Marcus Boerger wrote: >> Just a node: The thing you saw required SXE objects implementing >> interface RecursiveIterator{reset(), hasMore(), key(), current(), >> next(), hasChildren(), getChildren()} > Excuse my ignorance: As I

[PHP-DEV] Casting of objects to array exports private/protected data

2004-01-17 Thread Andrey Hristov
Hi internals, casting an object to array gives the possibility to get the values of protected/private member variables : class some { public $pub = 1; protected $prot = 2; private $priv = 3; } var_dump((array)new some()); ?> Produces : array(3) { ["pub"]=> int(1) ["

Re: [PHP-DEV] Casting of objects to array exports private/protected data

2004-01-17 Thread Pierre-Alain Joye
On Sat, 17 Jan 2004 16:44:29 +0100 Andrey Hristov <[EMAIL PROTECTED]> wrote: > IMO, when casting to array with (array) only the public-ly visible > members should returned. Dunno, E_STRICT (as you can access them without notice/warning without this flag)? In the same manner: dump(); ?> a var_d

Re: [PHP-DEV] Casting of objects to array exports private/protected data

2004-01-17 Thread Andrey Hristov
Pierre-Alain Joye wrote: On Sat, 17 Jan 2004 16:44:29 +0100 Andrey Hristov <[EMAIL PROTECTED]> wrote: IMO, when casting to array with (array) only the public-ly visible members should returned. Dunno, E_STRICT (as you can access them without notice/warning without this flag)? In the same manner:

[PHP-DEV] Exception from the feature freeze mode

2004-01-17 Thread Andrey Hristov
Hi internals and Andi, what do you think about a small exception from the feature freeze for satisfying feature request http://bugs.php.net/bug.php?id=24258 . The patch is here : http://www.hristov.com/andrey/projects/php_stuff/array_keys_strict.diff.txt The change is not big and imo does not intr

[PHP-DEV] README.PHP4-TO-PHP5-THIN-CHANGES

2004-01-17 Thread Greg Beaver
Hi, There is a bug in #6 of README.PHP4-TO-PHP5-THIN-CHANGES. It should read: 6. Starting PHP 5.0.0 the T_ML_COMMENT constant is no longer defined by the ext/tokenizer extension. If error_reporting is set to E_ALL notices will be produced. Instead of T_ML_COMMENT for /* */ the T_COMMENT

Re: [PHP-DEV] README.PHP4-TO-PHP5-THIN-CHANGES

2004-01-17 Thread Daniel Convissor
On Sat, Jan 17, 2004 at 01:55:15PM -0500, Greg Beaver wrote: > > In addition, I noticed that argv and argc don't appear to be registered > in $_SERVER in the cli version any more - is this expected behavior? I reported this as a bug in November: http://bugs.php.net/bug.php?id=26206 It doesn't se

Re: [PHP-DEV] README.PHP4-TO-PHP5-THIN-CHANGES

2004-01-17 Thread Stefan Walk
This has been discussed on internals before. See http://www.zend.com/lists/php-dev/200310/msg00026.html and follow-ups. -- Regards, Stefan Walk <[EMAIL PROTECTED]> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: ovidutu

2004-01-17 Thread OviDutu
learning -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] README.PHP4-TO-PHP5-THIN-CHANGES

2004-01-17 Thread Andrey Hristov
Hi, Stefan Walk wrote: This has been discussed on internals before. See http://www.zend.com/lists/php-dev/200310/msg00026.html and follow-ups. Thanks for pointing out this discussion. Andrey -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP-DEV] README.PHP4-TO-PHP5-THIN-CHANGES

2004-01-17 Thread Greg Beaver
Indeed, this was very helpful. Perhaps the best path is to add Rasmus's words to THIN-CHANGES: $_SERVER should be populated with argc and argv if variables_order includes "S". If you have specifically configured your system to not create $_SERVER, then of course it shouldn't be there. The chang

Re: [PHP-DEV] README.PHP4-TO-PHP5-THIN-CHANGES

2004-01-17 Thread Daniel Convissor
On Sat, Jan 17, 2004 at 03:08:32PM -0500, Greg Beaver wrote: > > $_SERVER should be populated with argc and argv if variables_order > includes "S". Unfortunately, this isn't working on my system with the php5-win32-200401161930 snapshot. Perhaps I'm misunderstanding something? My variables_ord

Re: [PHP-DEV] PHP include/url fopen

2004-01-17 Thread choinet
--- choinet <[EMAIL PROTECTED]> wrote: > I was helping a user at my ISP support forums. Using > include on an http:// url generates "Warning: main(): > stream does not support seeking in > /home/account/public_html/test.php on line 2". This > occurs for both external/same-server http:// urls. > Eac

Re: [PHP-DEV] ZE2, dl() and objects

2004-01-17 Thread Cristiano Duarte
On Fri, 09 Jan 2004 12:03:18 +0100, Pierre-Alain Joye wrote: > I do not know if that can help but adding $a=null; obviously do not > crash. > > Am I the only one to get such problem within an extension? That makes > hard to track down the leaks or things like that (in debug mode). No Pierre. I'm

Re: [PHP-DEV] PHP include/url fopen

2004-01-17 Thread choinet
--- choinet <[EMAIL PROTECTED]> wrote: > --- choinet <[EMAIL PROTECTED]> wrote: > > I was helping a user at my ISP support forums. Using > > include on an http:// url generates "Warning: main(): > > stream does not support seeking in > > /home/account/public_html/test.php on line 2". This > > occu