From: SVN Migration Date: Wed, 8 Oct 2003 01:16:45 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. X-Git-Tag: php-4.3.4RC2~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2dd02323c09912c3d161c167fbaddc8ceda144da;p=php This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. --- diff --git a/ext/standard/tests/array/bug25758.phpt b/ext/standard/tests/array/bug25758.phpt new file mode 100644 index 0000000000..ff97d2e3fb --- /dev/null +++ b/ext/standard/tests/array/bug25758.phpt @@ -0,0 +1,14 @@ +--TEST-- +Bug #25758 (var_export does not escape ' & \ inside array keys) +--FILE-- + array("quote'")); + echo var_export($a, true); +?> +--EXPECT-- +array ( + 'quote\'' => + array ( + 0 => 'quote\'', + ), +)