mirror of
https://github.com/php/php-src.git
synced 2024-10-23 01:07:01 +00:00
15 lines
234 B
Plaintext
15 lines
234 B
Plaintext
|
--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\'',
|
||
|
),
|
||
|
)
|