3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 7 == 007 ? "yes" : "no", "\n"; echo 8 == 008 ? "yes" : "no", "\n"; echo 9 == 009 ? "yes" : "no", "\n"; echo 10 == 010 ? "yes" : "no", "\n"; echo 8 == 010 ? "yes" : "no", "\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.6.280.0030.07321.09
5.6.210.0130.08020.74
5.6.200.0070.07018.19
5.6.190.0000.05020.39
5.6.180.0430.04320.60
5.6.170.0370.05020.56
5.6.160.0030.08720.41
5.6.150.0070.08318.21
5.6.140.0000.04718.11
5.6.130.0030.08718.06
5.6.120.0000.09320.93
5.6.110.0070.08020.99
5.6.100.0100.08020.96
5.6.90.0070.05020.98
5.6.80.0070.03720.38
5.5.350.0170.08320.43
5.5.340.0030.08017.97
5.5.330.0030.04020.25
5.5.320.0230.04020.38
5.5.310.0270.04020.18
5.5.300.0070.06717.95
5.5.290.0100.07317.89
5.5.280.0100.03720.79
5.5.270.0070.04020.77
5.5.260.0070.09320.67
5.5.250.0070.08320.61
5.5.240.0200.07020.18
5.4.450.0100.05019.46
5.4.440.0100.03019.24
5.4.430.0200.03019.24
5.4.420.0070.03719.45
5.4.410.0130.05019.43
5.4.400.0070.04019.06
5.4.390.0030.05019.09
5.4.380.0400.06718.71
5.4.370.0430.05718.65
5.4.360.0400.06018.80
5.4.350.0330.06718.56
5.4.340.0330.05318.48
5.4.320.0070.03912.45
5.4.310.0110.03612.45
5.4.300.0050.04612.45
5.4.290.0070.03912.45
5.4.280.0100.03312.34
5.4.270.0070.03712.35
5.4.260.0070.03912.34
5.4.250.0090.04612.35
5.4.240.0060.03612.35
5.4.230.0030.04212.34
5.4.220.0080.04112.34
5.4.210.0070.03912.34
5.4.200.0060.04112.34
5.4.190.0080.04412.34
5.4.180.0070.04012.34
5.4.170.0090.03312.35
5.4.160.0110.03712.34
5.4.150.0060.03812.34
5.4.140.0080.03712.02
5.4.130.0080.03412.01
5.4.120.0090.04211.96
5.4.110.0080.03911.96
5.4.100.0070.03911.96
5.4.90.0050.04611.96
5.4.80.0090.03811.96
5.4.70.0070.03611.96
5.4.60.0050.03511.96
5.4.50.0050.04111.96
5.4.40.0080.04311.95
5.4.30.0100.03811.95
5.4.20.0080.03311.95
5.4.10.0080.03411.95
5.4.00.0080.03511.43
5.3.290.0120.04012.80
5.3.280.0050.04312.70
5.3.270.0090.04212.73
5.3.260.0070.03712.72
5.3.250.0080.04312.72
5.3.240.0040.04712.72
5.3.230.0090.04112.70
5.3.220.0100.03712.68
5.3.210.0090.04312.68
5.3.200.0120.03412.68
5.3.190.0110.04712.68
5.3.180.0080.03512.67
5.3.170.0070.03912.67
5.3.160.0100.03912.67
5.3.150.0070.04812.68
5.3.140.0050.04212.66
5.3.130.0080.04512.66
5.3.120.0080.05012.66
5.3.110.0060.04512.66
5.3.100.0070.04312.12
5.3.90.0110.03512.08
5.3.80.0090.03412.07
5.3.70.0040.03712.07
5.3.60.0100.03312.06
5.3.50.0080.04112.00
5.3.40.0090.03712.00
5.3.30.0100.03411.95
5.3.20.0070.03711.72
5.3.10.0100.04111.69
5.3.00.0050.03611.67
5.2.170.0050.0389.18
5.2.160.0060.0329.18
5.2.150.0050.0319.18
5.2.140.0080.0329.18
5.2.130.0060.0299.14
5.2.120.0040.0309.14
5.2.110.0040.0329.14
5.2.100.0060.0299.14
5.2.90.0050.0389.14
5.2.80.0040.0319.13
5.2.70.0040.0309.14
5.2.60.0020.0339.09
5.2.50.0040.0309.05
5.2.40.0050.0289.03
5.2.30.0060.0289.01
5.2.20.0090.0309.00
5.2.10.0040.0278.92
5.2.00.0030.0398.78
5.1.60.0030.0248.05
5.1.50.0050.0318.05
5.1.40.0060.0288.04
5.1.30.0030.0288.39
5.1.20.0050.0318.41
5.1.10.0030.0288.13
5.1.00.0070.0258.13
5.0.50.0030.0256.62
5.0.40.0050.0196.47
5.0.30.0020.0386.29
5.0.20.0040.0256.26
5.0.10.0020.0266.23
5.0.00.0070.0316.22
4.4.90.0070.0184.78
4.4.80.0040.0194.75
4.4.70.0050.0164.75
4.4.60.0050.0224.75
4.4.50.0060.0174.77
4.4.40.0030.0284.71
4.4.30.0030.0264.76
4.4.20.0030.0174.85
4.4.10.0050.0214.85
4.4.00.0040.0284.76
4.3.110.0030.0204.67
4.3.100.0020.0184.67
4.3.90.0060.0124.63
4.3.80.0040.0224.58
4.3.70.0030.0224.63
4.3.60.0020.0164.62
4.3.50.0010.0184.63
4.3.40.0020.0274.54
4.3.30.0020.0163.28
4.3.20.0020.0163.26
4.3.10.0020.0173.22
4.3.00.0070.01014.87

preferences:
140.23 ms | 1394 KiB | 7 Q