3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function execFce() { echo printf('%05d', 1234567); } } $test = new Test(); $test->execFce(); $test2 = (new Test())->execFce();

preferences:
53.34 ms | 402 KiB | 5 Q