3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $c = new stdClass; $a = "HIDDEN\000-TEXT"; $c->$a = 'foo'; print_r($c); ?>
Output for 4.3.3 - 4.4.9, 5.5.24 - 7.1.0
stdClass Object ( [HIDDEN-TEXT] => foo )
Output for 4.3.0 - 4.3.2, 5.0.0 - 5.4.45
stdClass Object ( [HIDDEN] => foo )