3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $obj = new \stdclass(); $obj->attr1 = 1; $obj->attr2 = 2; var_dump(count($obj));
based on g8084