3v4l.org

run code in 300+ PHP versions simultaneously
<?php class aTest{} class bTest{} $x = new bTest(); if (! $x instanceof aTest) echo 'not a' else echo 'a'; if (! $x instanceof bTest) echo 'not b' else echo 'b';

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)
5.4.90.0100.07316.36
5.4.80.0130.05316.70
5.4.70.0170.05716.42
5.4.60.0070.07016.65
5.4.50.0070.06316.36
5.4.40.0030.07316.25
5.4.30.0030.07316.25
5.4.20.0070.07316.39
5.4.10.0000.05016.36
5.4.00.0030.04715.82
5.3.190.0070.04714.55
5.3.180.0130.07014.45
5.3.170.0070.08014.57
5.3.160.0030.04714.59
5.3.150.0100.04014.58
5.3.140.0030.05714.57
5.3.130.0070.06014.61
5.3.120.0030.07314.46
5.3.110.0100.07314.55
5.3.100.0100.07014.08
5.3.90.0070.07713.91
5.3.80.0070.04313.98
5.3.70.0070.06013.95
5.3.60.0000.07714.01
5.3.50.0070.06314.00
5.3.40.0100.06714.11
5.3.30.0070.06713.90
5.3.20.0070.04713.69
5.3.10.0070.07013.70
5.3.00.0100.04313.70

preferences:
139.48 ms | 1394 KiB | 7 Q