3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a[1]=''; $b = isset($a[1]); $c = isset($a[2]); echo 'a='.$a; echo 'b='.$b;

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.0070.01117.79
8.4.10.0040.00417.83
8.3.140.0050.00316.51
8.3.130.0030.00718.49
8.3.120.0070.00320.57
8.3.110.0090.00016.71
8.3.100.0030.00624.06
8.3.90.0140.00026.77
8.3.80.0040.00418.31
8.3.70.0090.00616.63
8.3.60.0100.01416.63
8.3.50.0140.00721.08
8.3.40.0110.00418.82
8.3.30.0140.00018.84
8.3.20.0040.00420.48
8.3.10.0030.00521.73
8.3.00.0080.00019.55
8.2.260.0180.00016.52
8.2.250.0030.00518.64
8.2.240.0090.00617.05
8.2.230.0060.00320.94
8.2.220.0120.00037.54
8.2.210.0000.00826.77
8.2.200.0090.00016.50
8.2.190.0150.00016.63
8.2.180.0150.00618.26
8.2.170.0100.01022.96
8.2.160.0110.01119.16
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00021.05
8.2.120.0070.00026.35
8.2.110.0060.00321.06
8.2.100.0070.00417.93
8.2.90.0000.00719.30
8.2.80.0000.00817.97
8.2.70.0080.00017.62
8.2.60.0040.00418.05
8.2.50.0000.00818.10
8.2.40.0040.00420.47
8.2.30.0040.00419.20
8.2.20.0080.00017.72
8.2.10.0040.00418.16
8.2.00.0000.00718.16
8.1.310.0060.00316.52
8.1.300.0080.00820.13
8.1.290.0090.00018.88
8.1.280.0110.00725.92
8.1.270.0000.00823.91
8.1.260.0050.00228.09
8.1.250.0080.00028.09
8.1.240.0040.00821.85
8.1.230.0070.00319.02
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0100.00017.35
8.1.190.0050.00317.35
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0000.00719.04
8.1.150.0040.00418.72
8.1.140.0000.00819.43
8.1.130.0030.00317.63
8.1.120.0050.00317.26
8.1.110.0000.00817.30
8.1.100.0040.00417.27
8.1.90.0000.00817.34
8.1.80.0040.00417.26
8.1.70.0040.00417.39
8.1.60.0000.00817.50
8.1.50.0060.00317.47
8.1.40.0060.00317.39
8.1.30.0040.00417.52
8.1.20.0000.00817.57
8.1.10.0080.00417.59
8.1.00.0090.00317.33
8.0.300.0000.00718.77
8.0.290.0080.00016.63
8.0.280.0070.00018.40
8.0.270.0000.00817.29
8.0.260.0000.00617.21
8.0.250.0070.00017.06
8.0.240.0050.00217.03
8.0.230.0030.00316.99
8.0.220.0040.00416.96
8.0.210.0060.00016.98
8.0.200.0040.00416.91
8.0.190.0040.00417.06
8.0.180.0060.00316.93
8.0.170.0030.00616.99
8.0.160.0040.00816.93
8.0.150.0070.00016.78
8.0.140.0000.00716.84
8.0.130.0030.00313.36
8.0.120.0050.00316.92
8.0.110.0000.00716.78
8.0.100.0070.00016.84
8.0.90.0040.00416.88
8.0.80.0030.01916.84
8.0.70.0040.00416.78
8.0.60.0000.00716.95
8.0.50.0070.00016.83
8.0.30.0080.01017.21
8.0.20.0110.01117.42
8.0.10.0040.00416.99
8.0.00.0140.00616.86
7.4.330.0050.00015.08
7.4.320.0000.00616.45
7.4.300.0050.00316.50
7.4.290.0040.00416.50
7.4.280.0040.00416.50
7.4.270.0100.00016.38
7.4.260.0040.00416.28
7.4.250.0000.00716.50
7.4.240.0000.00716.54
7.4.230.0030.00316.22
7.4.220.0090.00916.64
7.4.210.0090.00616.58
7.4.200.0000.00716.32
7.4.160.0060.00916.56
7.4.150.0050.01317.40
7.4.140.0070.01017.86
7.4.130.0110.00616.54
7.4.120.0110.00616.57
7.4.110.0070.01016.75
7.4.100.0100.00716.32
7.4.90.0150.00616.51
7.4.80.0100.00719.39
7.4.70.0220.01016.62
7.4.60.0070.01116.61
7.4.50.0030.01316.56
7.4.40.0110.00716.42
7.4.30.0040.01316.42
7.4.10.0100.01014.77
7.4.00.0070.01115.11
7.3.330.0000.00613.12
7.3.320.0000.00513.15
7.3.310.0000.00716.40
7.3.300.0030.00316.31
7.3.290.0080.00916.34
7.3.280.0100.00916.33
7.3.270.0140.00317.40
7.3.260.0060.01216.47
7.3.250.0120.01016.47
7.3.240.0100.00716.49
7.3.230.0090.00916.39
7.3.210.0100.00616.54
7.3.200.0200.00019.39
7.3.190.0110.00716.33
7.3.180.0030.01616.31
7.3.170.0070.00816.34
7.3.160.0060.01016.27
7.3.130.0000.01815.02
7.3.120.0090.00914.92
7.3.110.0100.00714.91
7.3.100.0080.01114.70
7.3.90.0070.01114.88
7.3.80.0070.00714.79
7.3.70.0070.01014.61
7.3.60.0040.01114.59
7.3.50.0070.00714.71
7.3.40.0060.00614.86
7.3.30.0040.00414.56
7.3.20.0060.00916.55
7.3.10.0100.00316.71
7.3.00.0060.00616.84
7.2.330.0070.01116.36
7.2.320.0120.01216.68
7.2.310.0080.00816.71
7.2.300.0120.00916.71
7.2.290.0090.01316.64
7.2.260.0070.01015.21
7.2.250.0030.01215.15
7.2.240.0030.01415.30
7.2.230.0120.00614.77
7.2.220.0080.00415.14
7.2.210.0040.01114.93
7.2.200.0130.00314.98
7.2.190.0060.00614.84
7.2.180.0000.01215.05
7.2.170.0040.00814.98
7.2.160.0120.00015.11
7.2.150.0060.00916.87
7.2.140.0030.00916.82
7.2.130.0070.01116.83
7.2.120.0000.01117.04
7.2.110.0070.00716.91
7.2.100.0040.01416.68
7.2.90.0110.00416.82
7.2.80.0070.00416.95
7.2.70.0100.00316.79
7.2.60.0070.01116.76
7.2.50.0090.00316.81
7.2.40.0090.00916.95
7.2.30.0090.00616.93
7.2.20.0070.00716.60
7.2.10.0060.00916.94
7.2.00.0050.00518.25
7.1.330.0040.01115.76
7.1.320.0040.01515.64
7.1.310.0110.00315.72
7.1.300.0000.01215.46
7.1.290.0060.00615.75
7.1.280.0090.00315.84
7.1.270.0060.00815.79
7.1.260.0030.00715.59
7.1.250.0040.01115.95
7.1.240.0000.01115.62
7.1.230.0050.00515.96
7.1.220.0070.00715.70
7.1.210.0060.00615.81
7.1.200.0040.00715.77
7.1.190.0040.01115.73
7.1.180.0100.00315.89
7.1.170.0070.00715.46
7.1.160.0040.00715.62
7.1.150.0040.00815.92
7.1.140.0060.00615.91
7.1.130.0030.00515.82
7.1.120.0120.00415.68
7.1.110.0000.01315.76
7.1.100.0030.00616.94
7.1.90.0030.00715.73
7.1.80.0030.00915.71
7.1.70.0060.00616.57
7.1.60.0100.00917.46
7.1.50.0030.01415.57
7.1.40.0070.00715.65
7.1.30.0060.00615.61
7.1.20.0090.00016.00
7.1.10.0030.00915.49
7.1.00.0070.04019.14
7.0.330.0070.00715.32
7.0.320.0000.00815.41
7.0.310.0000.00815.51
7.0.300.0070.00715.38
7.0.290.0000.00915.52
7.0.280.0100.00315.43
7.0.270.0030.00915.47
7.0.260.0080.00415.55
7.0.250.0030.00915.53
7.0.240.0030.00915.46
7.0.230.0000.01315.36
7.0.220.0000.01115.46
7.0.210.0060.00315.52
7.0.200.0120.00914.80
7.0.190.0100.00315.40
7.0.180.0060.00615.52
7.0.170.0000.01215.24
7.0.160.0040.00415.49
7.0.150.0030.01015.23
7.0.140.0060.00915.36
7.0.130.0090.00615.43
7.0.120.0030.01015.50
7.0.110.0060.00615.48
7.0.100.0000.01115.49
7.0.90.0040.00715.17
7.0.80.0030.00915.34
7.0.70.0050.00515.52
7.0.60.0170.03818.63
7.0.50.0100.03217.78
7.0.40.0070.03216.84
7.0.30.0200.03316.94
7.0.20.0170.04216.89
7.0.10.0200.03016.78
7.0.00.0190.03016.73
5.6.400.0070.00314.41
5.6.390.0050.00314.65
5.6.380.0040.00414.54
5.6.370.0030.00514.43
5.6.360.0140.00314.44
5.6.350.0060.00614.43
5.6.340.0000.01214.38
5.6.330.0000.00814.31
5.6.320.0070.00414.35
5.6.310.0090.00614.58
5.6.300.0030.01314.26
5.6.290.0070.00714.55
5.6.280.0020.04217.66
5.6.270.0040.00814.31
5.6.260.0070.00414.35
5.6.250.0060.01014.36
5.6.240.0030.01414.16
5.6.230.0030.01314.39
5.6.220.0040.00814.45
5.6.210.0110.03117.40
5.6.200.0170.03317.60
5.6.190.0120.03417.60
5.6.180.0150.03517.64
5.6.170.0220.03317.72
5.6.160.0150.02517.75
5.6.150.0050.03517.65
5.6.140.0250.02817.65
5.6.130.0160.03317.59
5.6.120.0110.02917.60
5.6.110.0180.03317.65
5.6.100.0100.03017.57
5.6.90.0180.03317.66
5.6.80.0140.02917.38
5.6.70.0250.03117.29
5.6.60.0240.02317.33
5.6.50.0190.02817.37
5.6.40.0180.03217.23
5.6.30.0270.02317.17
5.6.20.0240.02517.36
5.6.10.0190.03117.43
5.6.00.0180.02917.27
5.5.380.0040.01114.26
5.5.370.0030.00914.41
5.5.360.0070.00714.27
5.5.350.1720.02917.18
5.5.340.0050.03617.47
5.5.330.0090.03217.46
5.5.320.0220.02917.63
5.5.310.0180.03417.53
5.5.300.0300.02317.56
5.5.290.0180.03417.59
5.5.280.0020.03917.60
5.5.270.0100.04217.51
5.5.260.0060.03817.67
5.5.250.0100.03317.39
5.5.240.0200.03316.98
5.5.230.0180.03617.04
5.5.220.0220.02917.21
5.5.210.0180.03517.11
5.5.200.0230.02317.10
5.5.190.0130.03517.12
5.5.180.0260.02317.35
5.5.170.0060.00314.05
5.5.160.0170.03217.05
5.5.150.0220.03017.03
5.5.140.0220.02817.10
5.5.130.0200.02517.34
5.5.120.0050.03417.28
5.5.110.0080.03317.36
5.5.100.0150.02516.98
5.5.90.0230.02817.08
5.5.80.0190.03017.16
5.5.70.0100.03917.04
5.5.60.0070.03017.10
5.5.50.0090.02917.01
5.5.40.0120.02816.91
5.5.30.0150.03017.20
5.5.20.0150.03816.96
5.5.10.0150.03017.09
5.5.00.0220.02716.87

preferences:
77.62 ms | 406 KiB | 6 Q