3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { static function wut() { return new __CLASS__(); } } var_dump(Foo::wut());

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.190.0070.03319.08
5.4.180.0000.04019.30
5.4.170.0070.03318.98
5.4.160.0030.06319.07
5.4.150.0000.04018.92
5.4.140.0000.07016.29
5.4.130.0000.03716.51
5.4.120.0000.03716.41
5.4.110.0000.03716.45
5.4.100.0000.03716.54
5.4.90.0000.03716.41
5.4.80.0100.03016.35
5.4.70.0000.03316.25
5.4.60.0000.03316.43
5.4.50.0030.03016.38
5.4.40.0000.03716.53
5.4.30.0000.03316.48
5.4.20.0030.03716.42
5.4.10.0000.04016.53
5.4.00.0000.03715.80
5.3.270.0000.07014.60
5.3.260.0030.03314.58
5.3.250.0030.03314.52
5.3.240.0000.04314.76
5.3.230.0000.03714.53
5.3.220.0030.03314.79
5.3.210.0000.04014.72
5.3.200.0000.03714.57
5.3.190.0000.03714.54
5.3.180.0000.04014.64
5.3.170.0030.03314.61
5.3.160.0000.04014.64
5.3.150.0000.04014.68
5.3.140.0030.03314.53
5.3.130.0000.03714.53
5.3.120.0000.03714.46
5.3.110.0000.03714.60
5.3.100.0030.04014.03
5.3.90.0000.05714.18
5.3.80.0070.07014.10
5.3.70.0000.07313.93
5.3.60.0070.05314.08
5.3.50.0030.07013.85
5.3.40.0070.05013.86
5.3.30.0230.03713.99
5.3.20.0070.06713.85
5.3.10.0000.06713.66
5.3.00.0030.06013.57

preferences:
136.16 ms | 1394 KiB | 7 Q