|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-11-07 20:24 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2013-11-07 20:24 UTC] requinix@php.net
[2013-11-07 20:34 UTC] remco dot pc at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 19:00:01 2026 UTC |
Description: ------------ when useing var_dump or var_export with the following code it goes wrong: $nr = 0; var_dump('test:'. $nr + 1); // result = int(1) var_export('test:'. $nr +1); //result = int(1) //expected string 'test:1' var_dump('test:' . $nr); // result = 'test:0' string(6) var_export('test:') . $nr); // result = 'test:0' string(6) //ok