summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/var_export_basic9.phpt
blob: 3c9706edfd0d80ab70d467028f96bce4b26ce562 (plain)
1
2
3
4
5
6
7
8
9
10
11
--TEST--
Bug #55082: var_export() doesn't escape properties properly
--FILE--
<?php
	$x = new stdClass();
	$x->{'\'\\'} = 7;
	echo var_export($x);
--EXPECT--
stdClass::__set_state(array(
   '\'\\' => 7,
))