|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2018-12-10 16:57 UTC] kabikov at sst dot su
Description: ------------ php /tmp/1.php PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1147720050061953400 bytes) in /tmp/1.php on line 2 Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1147720050061953400 bytes) in /tmp/1.php on line 2 Test script: --------------- <?php $a=""; $b=addslashes(serialize($a)); echo '['.$b.']'; Expected result: ---------------- empty string serialized Actual result: -------------- Fatal error PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 02:00:01 2025 UTC |
Simpler reproducer: <?php var_dump(addslashes('"'));