3v4l.org

run code in 300+ PHP versions simultaneously
<?php class xxx { final public __construct() { echo "ok"; } } $x = new xxx;

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.390.0800.06018.84
5.4.380.0730.06318.46
5.4.370.0930.05018.52
5.4.360.0970.06318.46
5.4.350.0970.04718.46
5.4.340.0630.05718.75
5.4.320.0670.06018.54
5.4.310.0530.05318.73
5.4.300.0870.05018.55
5.4.290.0800.06318.74
5.4.280.0770.06018.68
5.4.270.0670.06018.59
5.4.260.0830.06018.78
5.4.250.0830.04718.45
5.4.240.0800.05718.80
5.4.230.0830.07018.73
5.4.220.0800.05318.44
5.4.210.0800.05318.58
5.4.200.0700.05716.59
5.4.190.0870.05718.77
5.4.180.0930.04318.38
5.4.170.0470.06318.73
5.4.160.0730.06318.80
5.4.150.0900.05718.73
5.4.140.0870.05716.39
5.4.130.0700.06016.18
5.4.120.0700.06316.51
5.4.110.0600.06316.24
5.4.100.0830.05716.22
5.4.90.0470.06316.23
5.4.80.0770.04016.26
5.4.70.0570.06716.21
5.4.60.0770.04716.24
5.4.50.0730.05716.18
5.4.40.0700.05716.21
5.4.30.0670.06016.39
5.4.20.0600.05716.25
5.4.10.0470.05716.15
5.4.00.0800.05015.70
5.3.290.0900.04714.86
5.3.280.0730.05314.61
5.3.270.0630.05014.62
5.3.260.0570.06314.72
5.3.250.0770.05014.73
5.3.240.1000.05014.59
5.3.230.0630.06314.76
5.3.220.0730.05314.62
5.3.210.0730.05314.58
5.3.200.0730.05714.79
5.3.190.0770.04314.58
5.3.180.0730.05314.58
5.3.170.0700.07314.72
5.3.160.0730.05014.65
5.3.150.0900.07714.76
5.3.140.0770.07714.57
5.3.130.0570.06314.55
5.3.120.0530.05014.54
5.3.110.0930.05314.67
5.3.100.0600.06314.17
5.3.90.0870.06714.05
5.3.80.0600.06314.13
5.3.70.0930.04714.05
5.3.60.0870.05314.05
5.3.50.0800.05313.92
5.3.40.0870.06713.97
5.3.30.0670.06314.02
5.3.20.0770.05013.70
5.3.10.0970.04313.71
5.3.00.0870.05313.71
5.2.170.0600.06011.23
5.2.160.0670.04311.20
5.2.150.0870.04711.18
5.2.140.0670.05011.24
5.2.130.0730.05311.19
5.2.120.0600.04711.11
5.2.110.0500.04311.16
5.2.100.0770.04011.32
5.2.90.0500.07311.32
5.2.80.0430.05311.15
5.2.70.0470.06311.09
5.2.60.0300.04311.04
5.2.50.0730.05011.08
5.2.40.0470.05711.19
5.2.30.0530.06011.19
5.2.20.0300.05310.99
5.2.10.0600.04710.91
5.2.00.0330.05010.81
5.1.60.0500.04310.05
5.1.50.0530.03310.09
5.1.40.0430.0409.98
5.1.30.0430.04010.51
5.1.20.0370.04310.47
5.1.10.0400.03310.19
5.1.00.0730.03010.15
5.0.50.0400.0238.58
5.0.40.0230.0308.48
5.0.30.0270.0508.40
5.0.20.0230.0378.20
5.0.10.0370.0408.21
5.0.00.0300.0608.36
4.4.90.0130.0275.91
4.4.80.0130.0335.91
4.4.70.0170.0275.95
4.4.60.0270.0175.98
4.4.50.0070.0305.93
4.4.40.0170.0405.98
4.4.30.0200.0235.91
4.4.20.0170.0306.02
4.4.10.0300.0175.95
4.4.00.0170.0405.89
4.3.110.0170.0275.82
4.3.100.0230.0305.81
4.3.90.0300.0275.87
4.3.80.0330.0435.79
4.3.70.0430.0205.79
4.3.60.0230.0235.77
4.3.50.0230.0305.81
4.3.40.0300.0475.76
4.3.30.0070.0305.25
4.3.20.0130.0305.25
4.3.10.0170.0305.25
4.3.00.0100.0139.22

preferences:
148.36 ms | 1394 KiB | 7 Q