|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-18 14:14 UTC] tony2001@php.net
[2005-02-18 14:34 UTC] dreeh at ets-online dot de
[2005-02-18 16:39 UTC] tony2001@php.net
[2005-02-18 16:53 UTC] dreeh at ets-online dot de
[2005-02-20 18:30 UTC] iliaa@php.net
[2005-02-20 21:43 UTC] dreeh at ets-online dot de
[2005-02-21 18:49 UTC] tony2001@php.net
[2005-02-23 09:19 UTC] dreeh at ets-online dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 21 18:00:01 2025 UTC |
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] => )