3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Counter implements Countable { public function count() { var_dump(func_get_args()); } } $counter = new Counter; count($counter, 1); $counter->count(1);