3v4l.org

run code in 300+ PHP versions simultaneously
<?php class con() { public function text() { return true; } } $con = new con(); $con->text();

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.350.0270.07319.22
5.4.340.0270.05719.09
5.4.320.0470.05318.98
5.4.310.0330.06318.88
5.4.300.0230.06718.98
5.4.290.0330.03318.99
5.4.280.0270.04019.15
5.4.270.0230.06318.87
5.4.260.0230.04319.14
5.4.250.0300.03319.08
5.4.240.0330.05318.84
5.4.230.0230.04318.86
5.4.220.0200.04019.14
5.4.210.0300.05718.86
5.4.200.0300.07319.16
5.4.190.0300.05019.07
5.4.180.0330.06319.09
5.4.170.0230.04319.04
5.4.160.0200.04019.18
5.4.150.0270.03718.96
5.4.140.0230.03716.36
5.4.130.0370.06016.31
5.4.120.0300.04316.45
5.4.110.0300.06016.33
5.4.100.0200.04316.55
5.4.90.0330.05716.58
5.4.80.0230.03316.52
5.4.70.0330.06716.53
5.4.60.0200.04316.16
5.4.50.0400.03716.35
5.4.40.0170.07016.51
5.4.30.0200.04716.42
5.4.20.0200.04316.53
5.4.10.0230.04716.32
5.4.00.0230.04015.90
5.3.290.0270.07714.65
5.3.280.0230.06014.70
5.3.270.0230.03714.71
5.3.260.0200.04014.68
5.3.250.0230.03714.76
5.3.240.0330.04714.52
5.3.230.0330.06714.60
5.3.220.0270.07014.57
5.3.210.0230.03714.68
5.3.200.0200.04314.54
5.3.190.0270.06314.47
5.3.180.0300.07014.78
5.3.170.0230.03014.55
5.3.160.0270.04314.56
5.3.150.0170.04314.56
5.3.140.0230.07714.47
5.3.130.0230.05014.66
5.3.120.0270.04714.63
5.3.110.0300.06714.45
5.3.100.0770.05713.96
5.3.90.0330.06714.10
5.3.80.0330.06314.23
5.3.70.0370.04714.01
5.3.60.0200.05013.91
5.3.50.0270.07313.84
5.3.40.0400.06313.94
5.3.30.0330.03313.81
5.3.20.0300.03013.66
5.3.10.0200.06013.63
5.3.00.0300.05713.75
5.2.170.0230.03311.05
5.2.160.0270.05311.07
5.2.150.0230.04011.05
5.2.140.0230.02711.07
5.2.130.0170.03011.32
5.2.120.0130.03311.22
5.2.110.0170.03011.21
5.2.100.0200.03011.05
5.2.90.0330.05011.01
5.2.80.0230.05011.16
5.2.70.0300.03311.17
5.2.60.0200.05011.16
5.2.50.0170.03711.09
5.2.40.0170.06011.00
5.2.30.0170.03010.89
5.2.20.0230.02010.88
5.2.10.0200.05710.81
5.2.00.0300.04010.87
5.1.60.0200.05010.12
5.1.50.0270.04310.12
5.1.40.0270.03710.12
5.1.30.0230.04010.57
5.1.20.0270.05010.35
5.1.10.0170.04310.12
5.1.00.0230.03710.12
5.0.50.0100.03010.12
5.0.40.0100.04310.12
5.0.30.0130.05310.12
5.0.20.0100.04710.12
5.0.10.0170.02710.12
5.0.00.0100.04710.12
4.4.90.0070.03710.12
4.4.80.0100.01710.12
4.4.70.0070.02010.12
4.4.60.0100.01710.12
4.4.50.0070.03010.12
4.4.40.0100.05010.12
4.4.30.0130.03010.12
4.4.20.0030.02710.12
4.4.10.0070.03310.12
4.4.00.0070.04010.12
4.3.110.0100.03310.12
4.3.100.0100.03310.12
4.3.90.0130.01710.12
4.3.80.0030.05710.12
4.3.70.0070.03010.12
4.3.60.0100.03010.12
4.3.50.0100.03010.12
4.3.40.0030.04010.12
4.3.30.0030.02010.12
4.3.20.0030.04010.12
4.3.10.0030.03310.12
4.3.00.0070.02710.12

preferences:
139.53 ms | 1394 KiB | 7 Q