ID:               32020
 User updated by:  dreeh at ets-online dot de
 Reported By:      dreeh at ets-online dot de
-Status:           Feedback
+Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: Linux
 PHP Version:      4.3.10
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to