3v4l.org

run code in 300+ PHP versions simultaneously
<?php class int { public static function int() { return 'int'; } } class integer { public static function integer() { return 'integer'; } } var_dump(int:int()); var_dump(integer::integer());

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.5.120.0100.07317.39
5.5.110.0100.07017.33
5.5.100.0100.04317.32
5.5.90.0100.07317.17
5.5.80.0000.06317.34
5.5.70.0030.04017.22
5.5.60.0030.07017.22
5.5.50.0200.05717.22
5.5.40.0070.07717.25
5.5.30.0200.06317.26
5.5.20.0130.06717.30
5.5.10.0070.08017.20
5.5.00.0070.07717.19
5.4.280.0200.06719.09
5.4.270.0100.04719.02
5.4.260.0130.07019.09
5.4.250.0030.05019.04
5.4.240.0070.07019.00
5.4.230.0030.04318.88
5.4.220.0070.07718.97
5.4.210.0100.07718.97
5.4.200.0070.06719.04
5.4.190.0100.07319.04
5.4.180.0070.08019.14
5.4.170.0070.05719.04
5.4.160.0100.04719.02
5.4.150.0130.06019.02
5.4.140.0130.07016.30
5.4.130.0130.05716.45
5.4.120.0030.04716.22
5.4.110.0070.07316.38
5.4.100.0130.05716.42
5.4.90.0030.04016.49
5.4.80.0000.07716.28
5.4.70.0070.05316.57
5.4.60.0100.04316.53
5.4.50.0000.04716.29
5.4.40.0070.05316.43
5.4.30.0070.04316.33
5.4.20.0070.07016.35
5.4.10.0100.06716.38
5.4.00.0130.06315.83
5.3.280.0030.07714.70
5.3.270.0130.03714.67
5.3.260.0000.05014.63
5.3.250.0070.06714.58
5.3.240.0000.07314.64
5.3.230.0100.06014.65
5.3.220.0100.04014.61
5.3.210.0100.07314.52
5.3.200.0030.07314.59
5.3.190.0070.07014.52
5.3.180.0070.06714.60
5.3.170.0030.06314.60
5.3.160.0000.07314.57
5.3.150.0070.07314.52
5.3.140.0100.07014.52
5.3.130.0000.06014.50
5.3.120.0070.04014.65
5.3.110.0170.06714.50
5.3.100.0070.08014.04
5.3.90.0070.06714.11
5.3.80.0100.03713.90
5.3.70.0100.06013.86
5.3.60.0030.06713.84
5.3.50.0070.04714.15
5.3.40.0030.08013.84
5.3.30.0100.07713.98
5.3.20.0100.06713.73
5.3.10.0070.06313.66
5.3.00.0030.05313.66

preferences:
142.15 ms | 1394 KiB | 7 Q