3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test{} $t1 = new Test; $other = new stdClass; $t2 = new Test; echo $t1, "\n", $other, "\n",$t2, "\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)
5.4.320.3570.04018.94
5.4.310.3670.04319.21
5.4.300.3630.04318.97
5.4.290.3430.05019.14
5.4.280.3770.04019.21
5.4.270.3870.03719.24
5.4.260.3930.03018.93
5.4.250.4000.03019.17
5.4.240.3800.04018.96
5.4.230.4100.03319.16
5.4.220.3270.05018.94
5.4.210.3770.03718.93
5.4.200.3630.04019.12
5.4.190.3770.03719.11
5.4.180.4900.03319.13
5.4.170.3700.04718.96
5.4.160.3870.04019.12
5.4.150.3570.04719.19
5.4.140.3570.03316.47
5.4.130.3930.03016.34
5.4.120.3570.03716.35
5.4.110.3530.03716.36
5.4.100.3730.03316.52
5.4.90.3530.03716.48
5.4.80.3300.04016.62
5.4.70.3600.03716.34
5.4.60.3770.03316.62
5.4.50.3770.04016.49
5.4.40.3930.03716.47
5.4.30.3670.03716.65
5.4.20.3870.03316.53
5.4.10.4130.04316.34
5.4.00.4100.04315.85
5.3.290.3870.04014.58
5.3.280.3930.03714.48
5.3.270.3730.03014.77
5.3.260.3630.03314.65
5.3.250.4300.03314.63
5.3.240.3770.03714.54
5.3.230.3900.03314.61
5.3.220.3830.04014.57
5.3.210.3800.04314.56
5.3.200.3800.04014.63
5.3.190.3570.03714.62
5.3.180.3670.03014.61
5.3.170.3800.04314.57
5.3.160.3870.04014.57
5.3.150.3700.04014.56
5.3.140.3800.03314.56
5.3.130.3700.04714.54
5.3.120.3670.03314.59
5.3.110.4200.04014.46
5.3.100.2530.03714.08
5.3.90.0070.03714.06
5.3.80.0030.03714.08
5.3.70.0100.07313.94
5.3.60.3170.03714.05
5.3.50.4130.03313.99
5.3.40.3900.03014.09
5.3.30.4100.04314.06
5.3.20.3930.03713.75
5.3.10.3630.03713.68
5.3.00.4000.03313.52
5.2.170.3100.02711.03
5.2.160.3270.02711.14
5.2.150.3270.02711.18
5.2.140.3170.03011.14
5.2.130.3270.03011.16
5.2.120.3270.02311.10
5.2.110.2970.03011.02
5.2.100.3130.03711.24
5.2.90.3270.03711.05
5.2.80.3100.03011.06
5.2.70.3370.02711.05
5.2.60.3330.03010.95
5.2.50.3000.02711.02
5.2.40.2300.03010.88
5.2.30.0000.06711.02
5.2.20.0100.05311.01
5.2.10.0030.03011.03
5.2.00.0730.03010.66
5.1.60.3030.02010.06
5.1.50.3030.03010.01
5.1.40.2800.0239.99
5.1.30.3100.02310.48
5.1.20.2630.03010.49
5.1.10.2530.02310.14
5.1.00.2130.02710.12
5.0.50.1230.0178.59
5.0.40.1230.0208.47
5.0.30.1230.0378.13
5.0.20.1170.0208.15
5.0.10.1230.0208.07
5.0.00.1370.0338.14
4.4.90.1800.0176.56
4.4.80.1400.0206.56
4.4.70.0030.0336.56
4.4.60.0030.0306.56
4.4.50.0000.0376.56
4.4.40.1600.0276.56
4.4.30.1430.0136.56
4.4.20.1470.0306.56
4.4.10.1230.0136.56
4.4.00.1200.0236.56
4.3.110.1270.0106.56
4.3.100.1200.0106.56
4.3.90.1170.0136.56
4.3.80.1230.0236.56
4.3.70.1200.0136.56
4.3.60.1170.0176.56
4.3.50.1270.0106.56
4.3.40.1230.0206.56
4.3.30.0630.0176.56
4.3.20.0600.0176.56
4.3.10.0570.0176.56
4.3.00.0600.0136.56

preferences:
139.7 ms | 1394 KiB | 7 Q