|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-04-15 15:51 UTC] jason at amp-design dot net
[2005-04-16 00:46 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 01:00:01 2025 UTC |
Description: ------------ strval() does not terminate strings with 0 / NULL characters. The direct return value for var_dump() is totally garbled. When this result is passed to another internal PHP function this returns random garabe that varies with each request. Reproduce code: --------------- <?php var_dump(strval ('en')); die(); ?> Expected result: ---------------- string(2) " Actual result: -------------- string(2) "