3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iterations = 1000000; $start = microtime(); for ($i=0; $i<$iterations; $i++) { $a = @$_GET['a'] ?: null; } echo round(microtime() - $start, 2);

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.0070.23119.29
7.1.70.0030.22117.18
7.1.60.0130.24619.40
7.1.50.0070.24216.86
7.1.00.0100.31722.45
7.0.200.0030.22916.79
7.0.140.0030.38021.95
7.0.60.0070.29020.08
7.0.50.0000.28717.86
7.0.40.0070.21720.23
7.0.30.0330.27320.30
7.0.20.0200.23020.13
7.0.10.0170.24320.09
7.0.00.0070.29020.08
5.6.280.0000.46021.02
5.6.210.0100.37020.72
5.6.200.0000.31318.16
5.6.190.0070.43320.39
5.6.180.0530.42020.57
5.6.170.0270.37320.68
5.6.160.0070.34320.54
5.6.150.0070.36718.07
5.6.140.0000.38318.09
5.6.130.0070.39318.18
5.6.120.0030.33021.02
5.6.110.0030.32021.09
5.6.100.0100.33321.00
5.6.90.0130.33321.01
5.6.80.0130.37720.51
5.5.350.0300.35720.40
5.5.340.0070.40717.92
5.5.330.0070.34020.46
5.5.320.0830.31020.30
5.5.310.0330.37720.35
5.5.300.0070.35317.98
5.5.290.0030.38317.96
5.5.280.0030.39020.67
5.5.270.0100.36020.75
5.5.260.0030.38320.89
5.5.250.0070.34720.70
5.5.240.0100.37720.25
5.4.450.0530.49019.45
5.4.440.1230.62719.62
5.4.430.1130.56019.46
5.4.420.1030.49019.66
5.4.410.1070.47319.43
5.4.400.0970.50319.24
5.4.390.1070.48719.08
5.4.380.0130.49018.49
5.4.370.0200.50018.50
5.4.360.0170.48318.46
5.4.350.0100.59718.61
5.4.340.0200.49018.61
5.4.320.0090.40012.46
5.4.310.0090.41112.46
5.4.300.0070.41112.46
5.4.290.0100.35812.46
5.4.280.0060.40912.35
5.4.270.0070.38312.35
5.4.260.0060.38312.36
5.4.250.0110.35712.35
5.4.240.0110.40112.35
5.4.230.0080.37712.34
5.4.220.0080.36812.35
5.4.210.0080.38912.34
5.4.200.0060.37812.35
5.4.190.0080.38712.34
5.4.180.0080.39912.34
5.4.170.0080.42112.35
5.4.160.0100.56712.35
5.4.150.0430.48312.35
5.4.140.0090.41612.03
5.4.130.0090.41212.02
5.4.120.0090.44211.97
5.4.110.0130.50111.97
5.4.100.0090.53611.97
5.4.90.0090.56911.97
5.4.80.0100.38111.96
5.4.70.0130.36611.96
5.4.60.0100.41811.97
5.4.50.0040.54311.96
5.4.40.0060.43111.95
5.4.30.0080.36511.95
5.4.20.0050.36711.95
5.4.10.0070.36711.95
5.4.00.0220.43311.44
5.3.290.0060.47412.80
5.3.280.0110.52412.71
5.3.270.0080.58512.73
5.3.260.0370.50012.72
5.3.250.0090.56512.72
5.3.240.0040.48212.72
5.3.230.0040.46712.71
5.3.220.0070.47612.68
5.3.210.0070.45912.68
5.3.200.0040.44712.68
5.3.190.0110.46212.68
5.3.180.0060.51212.67
5.3.170.0100.43612.67
5.3.160.0040.48112.67
5.3.150.0050.50112.67
5.3.140.0100.49612.66
5.3.130.0070.49712.66
5.3.120.0080.47212.66
5.3.110.0040.49412.66
5.3.100.0060.48712.12
5.3.90.0040.45312.09
5.3.80.0060.48612.07
5.3.70.0060.52412.07
5.3.60.0120.52212.06
5.3.50.0050.49112.00
5.3.40.0050.48512.00
5.3.30.0020.48211.95
5.3.20.0110.48111.73
5.3.10.0050.45411.70
5.3.00.0090.46411.68
5.2.170.0030.0319.18
5.2.160.0050.0289.18
5.2.150.0050.0299.18
5.2.140.0040.0309.18
5.2.130.0030.0299.14
5.2.120.0030.0299.14
5.2.110.0060.0289.15
5.2.100.0030.0299.14
5.2.90.0040.0289.14
5.2.80.0060.0349.14
5.2.70.0110.0289.14
5.2.60.0040.0319.10
5.2.50.0050.0309.06
5.2.40.0040.0289.04
5.2.30.0030.0309.02
5.2.20.0040.0289.00
5.2.10.0060.0298.92
5.2.00.0050.0298.78
5.1.60.0020.0268.07
5.1.50.0080.0218.07
5.1.40.0050.0258.04
5.1.30.0030.0288.40
5.1.20.0040.0288.42
5.1.10.0060.0308.14
5.1.00.0040.0298.15
5.0.50.0060.0216.63
5.0.40.0040.0196.48
5.0.30.0030.0316.30
5.0.20.0050.0186.26
5.0.10.0040.0196.24
5.0.00.0030.0316.23
4.4.90.0040.0154.78
4.4.80.0050.0164.75
4.4.70.0020.0184.75
4.4.60.0030.0174.75
4.4.50.0020.0164.77
4.4.40.0010.0304.71
4.4.30.0060.0114.76
4.4.20.0070.0134.85
4.4.10.0050.0164.85
4.4.00.0060.0234.76
4.3.110.0040.0184.67
4.3.100.0030.0184.66
4.3.90.0000.0214.63
4.3.80.0030.0284.59
4.3.70.0030.0134.63
4.3.60.0030.0214.63
4.3.50.0020.0164.63
4.3.40.0030.0244.54
4.3.30.0040.0143.29
4.3.20.0030.0153.27
4.3.10.0000.0173.23
4.3.00.0000.03015.63

preferences:
35.27 ms | 400 KiB | 5 Q