3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = microtime(1); $i = 0; while (true) { if ( ++$i>10000 ) break; is_callable('strlen'); } var_dump(microtime(1) - $s);

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)
7.2.00.0000.01519.39
7.1.70.0030.00717.12
7.1.60.0110.01419.46
7.1.50.0060.01916.57
7.1.00.0070.07022.40
7.0.200.0070.01116.66
7.0.140.0070.07322.18
7.0.60.0070.04719.96
7.0.50.0070.08717.84
7.0.40.0030.07720.22
7.0.30.0230.04720.18
7.0.20.0200.06019.99
7.0.10.0100.07020.13
7.0.00.0070.05720.32
5.6.280.0070.07321.14
5.6.210.0100.07320.47
5.6.200.0170.07018.12
5.6.190.0070.08720.67
5.6.180.0500.07720.27
5.6.170.0330.08720.51
5.6.160.0030.06020.44
5.6.150.0030.08318.09
5.6.140.0130.07718.21
5.6.130.0070.07018.11
5.6.120.0030.08720.99
5.6.110.0030.04320.88
5.6.100.0000.09321.01
5.6.90.0100.05720.96
5.6.80.0000.08720.38
5.5.350.3470.04020.32
5.5.340.0030.04318.02
5.5.330.0000.07320.23
5.5.320.0300.07320.41
5.5.310.0230.06320.18
5.5.300.0100.08317.87
5.5.290.0070.06317.95
5.5.280.0000.04720.73
5.5.270.0000.07020.72
5.5.260.0100.05320.82
5.5.250.0070.08720.57
5.5.240.0100.03720.36
5.4.450.0570.03319.57
5.4.440.0970.05019.29
5.4.430.0930.06319.41
5.4.420.0230.04340.55
5.4.410.0330.05337.99
5.4.400.0330.04035.21
5.4.390.0300.03732.53
5.4.380.0070.07018.65
5.4.370.0270.05018.50
5.4.360.0370.05318.66
5.4.350.0200.06718.59
5.4.340.0170.07718.68
5.4.320.0060.04512.45
5.4.310.0070.04012.45
5.4.300.0080.05012.45
5.4.290.0080.03912.45
5.4.280.0070.04412.35
5.4.270.0090.04912.35
5.4.260.0070.04912.35
5.4.250.0070.04512.35
5.4.240.0080.03912.35
5.4.230.0080.04312.34
5.4.220.0050.04412.34
5.4.210.0060.04012.34
5.4.200.0050.04512.34
5.4.190.0060.04312.34
5.4.180.0080.04012.34
5.4.170.0050.04212.35
5.4.160.0050.04212.35
5.4.150.0080.04112.34
5.4.140.0030.04912.02
5.4.130.0060.04112.01
5.4.120.0090.04511.97
5.4.110.0040.04611.97
5.4.100.0050.04111.96
5.4.90.0090.04911.96
5.4.80.0100.05511.96
5.4.70.0070.05511.96
5.4.60.0060.05611.96
5.4.50.0140.05011.96
5.4.40.0110.05111.95
5.4.30.0160.04411.95
5.4.20.0070.05711.95
5.4.10.0070.05311.95
5.4.00.0120.05211.44
5.3.290.0070.05512.80
5.3.280.0170.04612.70
5.3.270.0180.05412.73
5.3.260.0160.03712.72
5.3.250.0070.04212.71
5.3.240.0050.04612.72
5.3.230.0100.04112.70
5.3.220.0110.03912.68
5.3.210.0040.04612.68
5.3.200.0080.04112.68
5.3.190.0040.04512.68
5.3.180.0130.05812.68
5.3.170.0110.05612.67
5.3.160.0060.05312.67
5.3.150.0070.04112.67
5.3.140.0070.03712.66
5.3.130.0070.04112.66
5.3.120.0090.04012.66
5.3.110.0020.04612.65
5.3.100.0060.03912.12
5.3.90.0020.04212.08
5.3.80.0070.03712.07
5.3.70.0070.04112.07
5.3.60.0060.03912.06
5.3.50.0040.04712.00
5.3.40.0040.04312.00
5.3.30.0050.03911.95
5.3.20.0040.04111.72
5.3.10.0060.03811.70
5.3.00.0060.04611.68
5.2.170.0040.0379.18
5.2.160.0060.0329.18
5.2.150.0040.0359.18
5.2.140.0050.0389.18
5.2.130.0070.0409.14
5.2.120.0070.0449.14
5.2.110.0060.0449.15
5.2.100.0090.0509.14
5.2.90.0110.0339.14
5.2.80.0110.0359.14
5.2.70.0060.0529.14
5.2.60.0060.0499.09
5.2.50.0180.0879.06
5.2.40.0070.0429.04
5.2.30.0070.0349.01
5.2.20.0060.0349.00
5.2.10.0060.0338.92
5.2.00.0080.0448.78
5.1.60.0060.0268.06
5.1.50.0020.0318.06
5.1.40.0070.0268.04
5.1.30.0040.0318.39
5.1.20.0090.0278.42
5.1.10.0050.0298.14
5.1.00.0040.0298.14
5.0.50.0040.0266.62
5.0.40.0050.0226.48
5.0.30.0040.0356.29
5.0.20.0020.0246.26
5.0.10.0010.0266.23
5.0.00.0050.0326.23
4.4.90.0030.0194.78
4.4.80.0030.0194.76
4.4.70.0010.0214.75
4.4.60.0020.0204.76
4.4.50.0040.0214.77
4.4.40.0010.0424.71
4.4.30.0050.0254.76
4.4.20.0040.0224.85
4.4.10.0040.0224.85
4.4.00.0050.0264.76
4.3.110.0020.0214.67
4.3.100.0020.0194.67
4.3.90.0040.0164.63
4.3.80.0040.0264.59
4.3.70.0040.0174.63
4.3.60.0060.0184.62
4.3.50.0060.0184.63
4.3.40.0040.0344.54
4.3.30.0030.0223.34
4.3.20.0030.0243.31
4.3.10.0030.0173.28
4.3.00.0030.02031.63

preferences:
37.06 ms | 400 KiB | 5 Q