|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-01-08 19:20 UTC] rasmus@php.net
[2010-01-08 21:26 UTC] endosquid at endosquid dot com
[2010-01-08 21:39 UTC] rasmus@php.net
[2010-01-08 21:51 UTC] endosquid at endosquid dot com
[2010-01-08 22:23 UTC] rasmus@php.net
[2010-01-08 22:38 UTC] endosquid at endosquid dot com
[2010-01-08 22:47 UTC] rasmus@php.net
[2010-01-08 23:05 UTC] endosquid at endosquid dot com
[2010-01-08 23:20 UTC] rasmus@php.net
[2010-01-08 23:22 UTC] endosquid at endosquid dot com
[2010-01-08 23:47 UTC] bjori@php.net
[2011-08-23 01:41 UTC] jacob at jacobweber dot com
[2012-06-22 14:39 UTC] rasmus@php.net
-Block user comment: No
+Block user comment: Yes
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 08:00:01 2025 UTC |
Description: ------------ php -r 2>/dev/null 'print number_format("",0) . "\n";' on our old PHP 5.1.6 Solaris 8 box (that we are transitioning off of) returns 0. Now, we're testing our code, and we run into this behavior change: php -r 2>/dev/null 'print number_format("",0) . "\n";' on our new RHEL5 with 5.3.1 from the REMI repository returns NULL. Is this the default behavior expected? If so, why did this change happen? If not, where did we go wrong? Reproduce code: --------------- php -r 2>/dev/null 'print number_format("",0) . "\n";' Expected result: ---------------- We expect to see 0 returned, not NULL. Actual result: -------------- NULL is returned.