3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class A{ public $fuck = 10; public $Array = array("test" => "In Class A"); } $a = new A(); $b = ["test" => "fuck"]; echo $a->$b["test"];
based on 5A3T2
Output for 7.0.0 - 7.2.0
Notice: Array to string conversion in /in/2HT9K on line 11 In Class A
Output for 5.5.0 - 5.6.28
10