![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #55082: var_export() doesn't escape properties properly ! 3: --FILE-- ! 4: <?php ! 5: $x = new stdClass(); ! 6: $x->{'\'\\'} = 7; ! 7: echo var_export($x); ! 8: --EXPECT-- ! 9: stdClass::__set_state(array( ! 10: '\'\\' => 7, ! 11: ))