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