summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/bug25758.phpt
blob: ff97d2e3fb2b528bd18b779d60ff9dbeb2c6ec51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Bug #25758 (var_export does not escape ' & \ inside array keys)
--FILE--
<?php
	$a = array ("quote'" => array("quote'"));
	echo var_export($a, true);
?>
--EXPECT--
array (
  'quote\'' => 
  array (
    0 => 'quote\'',
  ),
)