3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); echo('start'); function _($x){return ($x)?htmlspecialchars($x):'nbsp;';} echo('end');

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)
8.4.20.0130.00717.65
8.4.10.0100.00619.21
8.3.150.0060.01218.97
8.3.140.0040.00418.70
8.3.130.0080.00018.46
8.3.120.0040.00420.62
8.3.110.0040.01120.94
8.3.100.0060.00324.06
8.3.90.0000.00826.77
8.3.80.0060.00318.43
8.3.70.0100.00716.50
8.3.60.0100.01016.75
8.3.50.0100.00817.20
8.3.40.0110.00718.67
8.3.30.0070.00718.57
8.3.20.0060.00318.64
8.3.10.0040.00420.43
8.3.00.0040.00419.38
8.2.260.0180.00016.32
8.2.250.0080.00016.40
8.2.240.0040.01118.79
8.2.230.0030.00622.58
8.2.220.0030.00637.54
8.2.210.0020.00526.77
8.2.200.0040.00916.25
8.2.190.0110.00316.63
8.2.180.0060.00918.29
8.2.170.0070.00722.96
8.2.160.0030.01020.94
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0050.00319.48
8.2.110.0060.00321.00
8.2.100.0060.00617.66
8.2.90.0080.00017.65
8.2.80.0080.00019.07
8.2.70.0060.00317.38
8.2.60.0000.00917.63
8.2.50.0000.00817.80
8.2.40.0060.00317.80
8.2.30.0050.00319.15
8.2.20.0050.00317.53
8.2.10.0060.00317.57
8.2.00.0040.00417.54
8.1.310.0000.00816.43
8.1.300.0000.00718.23
8.1.290.0070.01118.88
8.1.280.0130.00325.92
8.1.270.0040.00424.66
8.1.260.0030.00526.35
8.1.250.0030.00528.09
8.1.240.0090.00322.07
8.1.230.0110.00020.96
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0030.00617.10
8.1.190.0080.00017.10
8.1.180.0040.00418.10
8.1.170.0000.00817.62
8.1.160.0070.00018.77
8.1.150.0040.00420.07
8.1.140.0000.00817.20
8.1.130.0020.00517.79
8.1.120.0040.00417.26
8.1.110.0060.00317.36
8.1.100.0070.00017.24
8.1.90.0040.00417.22
8.1.80.0000.00717.36
8.1.70.0050.00317.27
8.1.60.0080.00017.48
8.1.50.0040.00417.39
8.1.40.0050.00317.35
8.1.30.0000.00817.35
8.1.20.0000.00917.50
8.1.10.0000.00817.35
8.1.00.0040.00417.40
8.0.300.0000.00819.87
8.0.290.0000.00916.63
8.0.280.0030.00318.25
8.0.270.0000.00817.19
8.0.260.0000.00716.72
8.0.250.0040.00416.73
8.0.240.0000.00716.74
8.0.230.0070.00016.83
8.0.220.0000.00816.68
8.0.210.0000.00816.78
8.0.200.0000.00716.78
8.0.190.0070.00016.71
8.0.180.0000.00716.80
8.0.170.0090.00016.81
8.0.160.0040.00416.72
8.0.150.0040.00416.75
8.0.140.0060.00316.75
8.0.130.0030.00313.21
8.0.120.0040.00416.76
8.0.110.0030.00316.68
8.0.100.0060.00316.87
8.0.90.0000.00716.64
8.0.80.0050.01016.82
8.0.70.0000.00816.62
8.0.60.0000.00816.64
8.0.50.0040.00416.63
8.0.30.0130.00616.99
8.0.20.0110.00916.97
8.0.10.0000.00716.90
8.0.00.0100.00816.69
7.4.330.0000.00512.82
7.4.320.0000.00616.37
7.4.300.0040.00416.41
7.4.290.0030.00316.31
7.4.280.0000.00816.39
7.4.270.0000.00716.45
7.4.260.0030.00313.05
7.4.250.0000.00816.51
7.4.240.0020.00616.38
7.4.230.0040.00416.56
7.4.220.0090.00916.52
7.4.210.0070.00916.42
7.4.200.0000.00716.27
7.4.190.0000.00816.57
7.4.160.0090.00616.38
7.4.150.0170.00016.27
7.4.140.0130.01516.26
7.4.130.0100.00916.35
7.4.120.0090.00716.42
7.4.110.0130.00916.52
7.4.100.0030.01316.34
7.4.90.0030.01416.41
7.4.80.0080.01116.43
7.4.70.0160.00616.52
7.4.60.0100.01016.27
7.4.50.0000.00516.48
7.4.40.0100.00716.26
7.4.30.0030.01216.19
7.3.330.0000.00613.18
7.3.320.0000.00513.20
7.3.310.0070.00016.21
7.3.300.0000.00616.19
7.3.290.0060.01216.16
7.3.280.0080.00716.17
7.3.270.0070.01016.20
7.3.260.0090.01016.16
7.3.250.0130.00616.23
7.3.240.0030.01216.19
7.3.230.0100.01316.38
7.3.210.0120.00616.48
7.3.200.0110.00619.39
7.3.190.0090.00916.29
7.3.180.0120.00316.19
7.3.170.0090.00616.50
7.3.160.0110.00416.04
7.2.330.0130.00316.27
7.2.320.0170.00016.45
7.2.310.0140.00916.64
7.2.300.0090.01316.60
7.2.290.0080.00916.32
7.1.90.0030.01317.90
7.1.80.0060.00918.03
7.1.70.0040.00817.00
7.1.60.0210.00634.71
7.1.50.0150.01134.63
7.1.40.0190.01634.27
7.1.30.0220.01534.11
7.1.20.0160.01934.23
7.1.10.0030.01016.23
7.1.00.0000.01216.36
7.0.200.0080.00416.75
7.0.190.0000.01216.34
7.0.180.0100.00316.22
7.0.170.0030.01416.25
7.0.160.0000.01416.20
7.0.150.0060.00616.27
7.0.140.0100.00716.02
7.0.130.0000.01216.28
7.0.120.0030.01016.30
7.0.110.0030.01016.35
7.0.100.0060.00616.24
7.0.90.0000.01416.21
7.0.80.0040.00816.21
7.0.70.0000.01416.05
7.0.60.0060.00615.78
7.0.50.0060.00916.32
7.0.40.0090.00416.45
7.0.30.0060.00616.34
7.0.20.0090.00316.25
7.0.10.0120.00016.36
7.0.00.0040.00816.19
5.6.300.0070.06020.68
5.6.290.0070.05720.68
5.6.280.0100.05520.92
5.6.270.0070.05920.82
5.6.260.0140.05121.01
5.6.250.0160.04920.85
5.6.240.0130.05521.01
5.6.230.0100.05820.81
5.6.220.0070.05920.95
5.6.210.0070.05821.03
5.6.200.0070.05820.79
5.6.190.0140.05520.94
5.6.180.0130.05220.79
5.6.170.0100.05920.80
5.6.160.0000.06721.04
5.6.150.0160.05320.81
5.6.140.0130.05620.78
5.6.130.0070.05720.78
5.6.120.0130.05320.75
5.6.110.0100.05920.73
5.6.100.0030.06420.95
5.6.90.0100.05820.75
5.6.80.0190.04220.34
5.6.70.0070.05520.15
5.6.60.0260.04520.14
5.6.50.0140.04720.16
5.6.40.0140.04820.14
5.6.30.0100.05220.34
5.6.20.0160.04520.14
5.6.10.0100.05020.19
5.6.00.0130.04920.08
5.5.380.0070.05617.61
5.5.370.0100.05017.44
5.5.360.0130.05217.48
5.5.350.0070.05417.50
5.5.340.0100.05917.95
5.5.330.0030.05817.69
5.5.320.0130.05417.75
5.5.310.0160.04918.00
5.5.300.0070.05817.77
5.5.290.0070.05718.05
5.5.280.0100.07717.95
5.5.270.0100.05618.02
5.5.260.0100.05417.93
5.5.250.0070.05617.81
5.5.240.0100.04917.42
5.5.230.0100.05117.08
5.5.220.0140.04717.34
5.5.210.0030.05517.41
5.5.200.0130.04617.32
5.5.190.0030.05717.11
5.5.180.0030.05817.48
5.5.160.0070.05617.15
5.5.150.0070.05317.14
5.5.140.0100.06317.14
5.5.130.0070.05417.09
5.5.120.0160.04417.41
5.5.110.0100.05817.12
5.5.100.0100.07317.00
5.5.90.0140.06217.19
5.5.80.0100.05417.27
5.5.70.0100.05217.04
5.5.60.0100.04917.21
5.5.50.0100.05017.27
5.5.40.0070.05417.27
5.5.30.0130.04917.23
5.5.20.0070.06817.20
5.5.10.0130.06917.29
5.5.00.0030.05717.03
5.4.450.0170.04819.41
5.4.440.0070.05919.35
5.4.430.0070.05619.34
5.4.420.0130.05319.16
5.4.410.0130.05919.21
5.4.400.0070.05219.15
5.4.390.0030.05719.11
5.4.380.0000.06018.92
5.4.370.0070.05419.00
5.4.360.0100.05019.24
5.4.350.0160.04219.04
5.4.340.0190.04219.15
5.4.320.0100.05519.27
5.4.310.0130.04819.15
5.4.300.0070.05518.84
5.4.290.0140.04619.14
5.4.280.0100.05219.07
5.4.270.0070.05518.92
5.4.260.0130.06919.15
5.4.250.0130.06619.07
5.4.240.0070.05519.14
5.4.230.0070.05318.86
5.4.220.0240.03719.01
5.4.210.0070.05618.93
5.4.200.0100.05318.92
5.4.190.0100.04418.91
5.4.180.0100.05919.05
5.4.170.0100.04918.89
5.4.160.0070.06919.04
5.4.150.0050.06218.97
5.4.140.0050.06216.31
5.4.130.0070.05916.42
5.4.120.0140.04116.51
5.4.110.0050.05416.50
5.4.100.0080.06516.38
5.4.90.0100.04516.59
5.4.80.0070.04216.52
5.4.70.0050.04916.52
5.4.60.0100.03816.51
5.4.50.0030.06616.38
5.4.40.0030.04716.46
5.4.30.0100.05916.40
5.4.20.0170.04816.42
5.4.10.0070.06316.38
5.4.00.0120.05615.96
5.3.290.0170.04614.84
5.3.280.0070.05314.89
5.3.270.0030.05814.56
5.3.260.0090.06414.76
5.3.250.0030.06714.63
5.3.240.0100.05914.64
5.3.230.0070.05914.79
5.3.220.0030.06714.71
5.3.210.0080.05814.53
5.3.200.0070.05414.66
5.3.190.0050.05214.70
5.3.180.0080.04714.59
5.3.170.0060.04714.69
5.3.160.0110.03814.62
5.3.150.0170.05714.61
5.3.140.0070.06114.71
5.3.130.0030.05314.69
5.3.120.0080.06514.62
5.3.110.0110.06214.62
5.3.100.0070.05314.25
5.3.90.0080.04414.17
5.3.80.0030.04914.24
5.3.70.0020.05514.12
5.3.60.0080.04414.16
5.3.50.0120.04013.92
5.3.40.0100.05314.10
5.3.30.0100.04913.91
5.3.20.0110.06013.79
5.3.10.0080.04913.74
5.3.00.0110.04913.73

preferences:
82.68 ms | 403 KiB | 5 Q