3v4l.org

run code in 300+ PHP versions simultaneously
<?php class chi extends par implements int { } class par { } interface int { } $x = new chi; if ($x instanceof chi) { echo "chi\n"; } if ($x instanceof par) { echo "par\n"; } if ($x instanceof int) { echo "int\n"; }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.1.200.0550.00913.63

preferences:
132.15 ms | 1394 KiB | 7 Q