- Output for 8.2.0 - 8.2.29, 8.3.0 - 8.3.27, 8.4.1 - 8.4.14
- $dummy:
\Dummy::__set_state(array(
'pub' => 0,
'prot' => 1,
'priv' => 2,
))
$dummy_to_arr:
array (
'pub' => 0,
'' . "\0" . '*' . "\0" . 'prot' => 1,
'' . "\0" . 'Dummy' . "\0" . 'priv' => 2,
)
$dummy_arr_to_obj:
(object) array(
'pub' => 0,
'prot' => 1,
'priv' => 2,
)
$object_vars:
array (
'pub' => 0,
'' . "\0" . '*' . "\0" . 'prot' => 1,
'' . "\0" . 'Dummy' . "\0" . 'priv' => 2,
)
Fatal error: Uncaught Error: Cannot access property starting with "\0" in /in/ScIk3:25
Stack trace:
#0 {main}
thrown in /in/ScIk3 on line 25
Process exited with code 255. - Output for 8.0.1 - 8.0.30, 8.1.0 - 8.1.33
- $dummy:
Dummy::__set_state(array(
'pub' => 0,
'prot' => 1,
'priv' => 2,
))
$dummy_to_arr:
array (
'pub' => 0,
'' . "\0" . '*' . "\0" . 'prot' => 1,
'' . "\0" . 'Dummy' . "\0" . 'priv' => 2,
)
$dummy_arr_to_obj:
(object) array(
'pub' => 0,
'prot' => 1,
'priv' => 2,
)
$object_vars:
array (
'pub' => 0,
'' . "\0" . '*' . "\0" . 'prot' => 1,
'' . "\0" . 'Dummy' . "\0" . 'priv' => 2,
)
Fatal error: Uncaught Error: Cannot access property starting with "\0" in /in/ScIk3:25
Stack trace:
#0 {main}
thrown in /in/ScIk3 on line 25
Process exited with code 255.