From 2dd02323c09912c3d161c167fbaddc8ceda144da Mon Sep 17 00:00:00 2001 From: SVN Migration Date: Wed, 8 Oct 2003 01:16:45 +0000 Subject: [PATCH] This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. --- ext/standard/tests/array/bug25758.phpt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ext/standard/tests/array/bug25758.phpt 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\'', + ), +) -- 2.50.1