|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-12-09 16:55 UTC] derick@php.net
[2007-12-17 13:39 UTC] derick@php.net
[2007-12-18 10:55 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 23:00:01 2025 UTC |
Description: ------------ var_export() incorrectly escapes char(0) in strings. It returns '\000' in single quotes, therefore then this string can not be imported correctly. Reproduce code: --------------- eval('echo '.var_export("\0",true).';'); Expected result: ---------------- // chr(0) Actual result: -------------- \000