ID: 32020 User updated by: dreeh at ets-online dot de Reported By: dreeh at ets-online dot de -Status: Bogus +Status: Open Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 4.3.10 New Comment:
no, the problem occurs when i comment the loading of the extension in the php.ini! with loaded extension, the bug doesn't occur. see my last comment. Previous Comments: ------------------------------------------------------------------------ [2005-02-18 16:39:50] [EMAIL PROTECTED] Do not file bugs when you have Zend extensions (zend_extension=) loaded. Examples are Zend Optimizer, Zend Debugger, Turck MM Cache, APC, Xdebug and ionCube loader. These extensions often modify engine behavior which is not related to PHP itself. That's eAccelerator bug and it has nothing to do with PHP itself. ------------------------------------------------------------------------ [2005-02-18 14:34:11] dreeh at ets-online dot de i can reproduce it. the problem ist only existent, if - i run php with normal php-sourcecode files - i run php with eaccelerator with (eaccelerator-encoded) php-compiled files the problem is not repuducable, if - i run php with eaccelerator and normal php-sourcecode files ------------------------------------------------------------------------ [2005-02-18 14:14:55] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Can't reproduce. ------------------------------------------------------------------------ [2005-02-18 13:50:14] dreeh at ets-online dot de Description: ------------ when i assign NULL to a variable, it's saved as 0. see my example... Reproduce code: --------------- $variable[0] = NULL; $variable[1] = null; $variable[2] = 0; $variable[3] = ""; Expected result: ---------------- i'm expecting: Array ( [0] => [1] => [2] => 0 [3] => ) Actual result: -------------- i'm getting this: Array ( [0] => 0 [1] => [2] => 0 [3] => ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32020&edit=1