3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Animal{ function __set($f, $v){ var_dump($f, $v); } } $a = new Animal; $a->name="bob";
based on OLN9t
Output for 5.0.0 - 7.2.0
string(4) "name" string(3) "bob"
Output for 4.3.0 - 4.4.9