3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class A{} $a = new A(); $a->{"\cc"} = 123; var_dump($a);
based on kK9DG
Output for 5.0.0 - 7.2.0
object(A)#1 (1) { ["\cc"]=> int(123) }
Output for 4.3.0 - 4.4.9
object(a)(1) { ["\cc"]=> int(123) }