3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iterations = 1000000; $string = 'btw'; // test isset perf $count = 0; while ($count < $iterations) { isset($string['key']); ++$count; }

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.3.70.0160.02818.30
8.3.60.0140.02216.38
8.3.50.0160.02818.29
8.3.40.0000.02918.54
8.3.30.0040.02518.71
8.3.20.0080.00818.78
8.3.10.0030.01218.66
8.3.00.0070.01319.38
8.2.180.0100.03318.02
8.2.170.0130.02222.96
8.2.160.0100.02618.71
8.2.150.0060.01024.18
8.2.140.0100.00724.66
8.2.130.0100.02226.16
8.2.120.0090.00619.66
8.2.110.0040.01820.35
8.2.100.0000.02117.91
8.2.90.0000.01719.30
8.2.80.0000.01819.40
8.2.70.0060.01217.63
8.2.60.0060.01318.04
8.2.50.0030.01418.07
8.2.40.0030.01518.22
8.2.30.0040.01419.48
8.2.20.0060.02317.72
8.2.10.0030.01417.64
8.2.00.0000.01717.59
8.1.280.0170.01725.92
8.1.270.0040.01123.99
8.1.260.0030.01326.35
8.1.250.0030.01328.09
8.1.240.0060.01323.84
8.1.230.0030.01820.88
8.1.220.0000.01718.77
8.1.210.0060.01318.77
8.1.200.0030.01617.23
8.1.190.0090.00917.43
8.1.180.0030.01618.10
8.1.170.0030.01318.53
8.1.160.0000.01818.71
8.1.150.0030.01718.57
8.1.140.0030.01617.29
8.1.130.0000.01719.23
8.1.120.0030.01417.41
8.1.110.0030.01417.42
8.1.100.0000.01617.36
8.1.90.0030.01417.43
8.1.80.0000.01717.38
8.1.70.0000.01617.34
8.1.60.0000.02017.48
8.1.50.0060.01317.44
8.1.40.0030.01617.48
8.1.30.0030.01617.63
8.1.20.0060.01817.63
8.1.10.0000.02017.46
8.1.00.0030.01717.36
8.0.300.0060.01319.89
8.0.290.0090.00917.04
8.0.280.0000.01718.38
8.0.270.0070.01016.80
8.0.260.0030.01616.80
8.0.250.0030.01316.88
8.0.240.0070.01116.84
8.0.230.0040.01516.94
8.0.220.0030.02816.80
8.0.210.0030.01516.78
8.0.200.0060.01216.83
8.0.190.0070.02316.88
8.0.180.0000.01916.84
8.0.170.0090.01216.79
8.0.160.0090.01316.82
8.0.150.0060.02316.84
8.0.140.0040.01516.78
8.0.130.0060.01913.20
8.0.120.0000.02116.75
8.0.110.0060.01516.77
8.0.100.0040.01516.88
8.0.90.0070.01316.73
8.0.80.0000.03516.77
8.0.70.0030.01616.62
8.0.60.0040.01716.64
8.0.50.0000.01916.80
8.0.30.0060.02517.14
8.0.20.0110.03016.95
8.0.10.0030.01616.82
8.0.00.0120.02816.61
7.4.330.0030.01412.86
7.4.320.0000.01816.37
7.4.300.0030.01416.55
7.4.290.0070.01816.29
7.4.280.0040.02516.53
7.4.270.0070.01416.46
7.4.260.0000.02016.51
7.4.250.0040.01816.41
7.4.240.0030.01816.43
7.4.230.0040.01816.34
7.4.220.0130.04016.50
7.4.210.0030.03016.40
7.4.200.0000.02316.34
7.4.190.0080.01616.58
7.4.160.0130.02516.61
7.4.150.0090.02816.59
7.4.140.0040.03617.86
7.4.130.0130.02916.30
7.4.120.0120.03216.49
7.4.110.0070.03516.45
7.4.100.0160.03516.43
7.4.90.0130.02916.41
7.4.80.0080.02919.39
7.4.70.0030.03616.43
7.4.60.0090.03116.44
7.4.50.0030.02716.22
7.4.40.0030.02516.27
7.4.30.0100.03316.37
7.4.00.0000.03115.05
7.3.330.0030.02013.04
7.3.320.0030.01613.00
7.3.310.0040.01816.39
7.3.300.0030.01816.26
7.3.290.0060.03816.24
7.3.280.0040.03516.28
7.3.270.0030.04016.46
7.3.260.0100.03116.39
7.3.240.0040.03716.21
7.3.230.0090.04216.50
7.3.210.0130.02916.47
7.3.200.0070.04016.38
7.3.190.0090.03216.37
7.3.180.0130.02716.23
7.3.170.0030.03816.29
7.3.160.0130.02916.57
7.3.120.0040.02814.83
7.2.330.0090.04516.70
7.2.320.0070.03316.48
7.2.310.0030.05116.48
7.2.300.0180.03216.73
7.2.290.0030.03716.46
7.2.80.0040.02216.49
7.2.60.0060.01916.72
7.2.00.0100.02319.19
7.1.200.0000.02515.84
7.1.100.0030.02118.06
7.1.70.0070.03117.02
7.1.60.0100.04019.25
7.1.50.0030.04716.94
7.1.00.0000.06022.32
7.0.200.0040.01816.84
7.0.140.0100.09022.07
7.0.120.0000.05022.13
7.0.60.0200.04319.91
7.0.50.0030.05317.88
7.0.40.0100.10020.02
7.0.30.0270.09720.34
7.0.20.0270.10020.30
7.0.10.0370.10020.19
7.0.00.0130.09720.27
5.6.280.0030.11321.08
5.6.210.0070.11320.60
5.6.200.0100.09018.21
5.6.190.0100.10720.76
5.6.180.3400.08020.45
5.6.170.0200.08320.39
5.6.160.0100.12320.46
5.6.150.0130.07718.18
5.6.140.0070.11718.12
5.6.130.0030.12318.15
5.6.120.0070.11721.05
5.6.110.0130.11721.01
5.6.100.0000.06721.10
5.6.90.0100.08020.96
5.6.80.0030.07720.39
5.5.350.0170.11320.36
5.5.340.0170.11017.98
5.5.330.0100.09720.40
5.5.320.0270.05720.32
5.5.310.0330.08020.21
5.5.300.0130.10317.97
5.5.290.0070.07018.00
5.5.280.0000.07320.79
5.5.270.0130.08720.88
5.5.260.0070.13720.79
5.5.250.0200.10320.57
5.5.240.0170.06320.35
5.4.450.0000.07319.48
5.4.440.0070.09019.40
5.4.430.0030.11719.49
5.4.420.0070.07319.41
5.4.410.0100.10719.28
5.4.400.0070.11019.09
5.4.390.0100.11319.08
5.4.380.0030.08318.81
5.4.370.0030.11019.00
5.4.360.0100.10318.92
5.4.350.0170.10019.07
5.4.340.0030.06018.81
5.4.320.0070.07719.08
5.4.310.0070.08319.00
5.4.300.0070.11018.95
5.4.290.0070.11319.08
5.4.280.0070.06319.00
5.4.270.0030.06719.10
5.4.260.0030.10719.14
5.4.250.0000.08018.91
5.4.240.0130.09319.16
5.4.230.0070.08019.09
5.4.220.0070.08019.16
5.4.210.0100.07319.17
5.4.200.0030.06719.16
5.4.190.0030.06319.17
5.4.180.0030.10718.77
5.4.170.0000.06319.16
5.4.160.0070.08019.06
5.4.150.0070.10318.79
5.4.140.0030.10016.35
5.4.130.0070.10316.27
5.4.120.0100.05316.24
5.4.110.0200.08716.40
5.4.100.0100.11016.25
5.4.90.0100.06716.60
5.4.80.0000.06316.29
5.4.70.0100.08716.33
5.4.60.0030.06016.13
5.4.50.0130.06316.26
5.4.40.0000.07016.57
5.4.30.0030.06016.12
5.4.20.0000.06316.34
5.4.10.0030.06016.58
5.4.00.0000.06015.70
5.3.290.0130.14014.59
5.3.280.0030.15314.55
5.3.270.0030.10014.52
5.3.260.0270.08014.42
5.3.250.0100.11714.52
5.3.240.0130.15014.58
5.3.230.0070.12714.47
5.3.220.0100.09314.51
5.3.210.0070.10014.46
5.3.200.0030.16714.67
5.3.190.0030.10314.51
5.3.180.0070.12714.48
5.3.170.0030.15314.57
5.3.160.0000.17314.53
5.3.150.0100.15014.48
5.3.140.0000.09714.45
5.3.130.0000.10014.48
5.3.120.0070.09314.33
5.3.110.0030.09714.48
5.3.100.0100.08313.96
5.3.90.0030.09313.95
5.3.80.0070.10013.83
5.3.70.0000.09313.85
5.3.60.0000.09013.79
5.3.50.0030.09013.88
5.3.40.0100.08313.73
5.3.30.0130.09313.86
5.3.20.0100.08313.79
5.3.10.0000.09013.63
5.3.00.0100.08313.59
5.2.170.0000.10010.97
5.2.160.0000.09711.07
5.2.150.0030.09711.04
5.2.140.0030.09711.08
5.2.130.0030.14311.19
5.2.120.0000.10010.98
5.2.110.0030.09011.03
5.2.100.0130.13310.98
5.2.90.0030.09011.18
5.2.80.0030.09710.98
5.2.70.0030.09711.04
5.2.60.0000.11310.97
5.2.50.0000.09711.02
5.2.40.0030.09310.89
5.2.30.0000.09710.97
5.2.20.0030.09310.94
5.2.10.0130.14010.85
5.2.00.0100.15310.71
5.1.60.0030.10310.03
5.1.50.0000.1009.93
5.1.40.0030.1039.92
5.1.30.0030.15710.18
5.1.20.0100.14710.35
5.1.10.0000.10010.14
5.1.00.0030.09310.07
5.0.50.0070.1838.58
5.0.40.0030.2138.30
5.0.30.0000.1938.16
5.0.20.0030.2008.10
5.0.10.0070.1478.21
5.0.00.0030.2238.15
4.4.90.0000.2207.95
4.4.80.0000.2137.95
4.4.70.0000.2207.95
4.4.60.0030.2407.95
4.4.50.0030.2177.95
4.4.40.0030.2877.95
4.4.30.0000.2477.95
4.4.20.0000.2777.95
4.4.10.0000.2277.95
4.4.00.0030.2907.95
4.3.110.0030.2807.95
4.3.100.0000.2777.95
4.3.90.0000.2207.95
4.3.80.0030.2937.95
4.3.70.0030.2807.95
4.3.60.0000.2237.95
4.3.50.0070.2807.95
4.3.40.0000.2237.95
4.3.30.0070.2737.95
4.3.20.0030.2807.95
4.3.10.0070.2707.95
4.3.00.0000.2277.95

preferences:
64.44 ms | 401 KiB | 5 Q