ID: 32020 Updated by: [EMAIL PROTECTED] Reported By: dreeh at ets-online dot de -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 4.3.10 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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