1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 17:22:15 +01:00
Files
archived-php-src/ext/standard/tests/general_functions/var_export_basic9.phpt
Máté Kocsis 7aacc705d0 Add many missing closing PHP tags to tests
Closes GH-5958
2020-08-09 22:03:36 +02:00

13 lines
204 B
PHP

--TEST--
Bug #55082: var_export() doesn't escape properties properly
--FILE--
<?php
$x = new stdClass();
$x->{'\'\\'} = 7;
echo var_export($x);
?>
--EXPECT--
(object) array(
'\'\\' => 7,
)