3v4l.org

run code in 300+ PHP versions simultaneously
<?php $expected_array_got_string = 'einstring'; var_dump(isset($expected_array_got_string['und'])); var_dump(isset($expected_array_got_string['und'][0])); var_dump(isset($expected_array_got_string['und'][0]['test'])); var_dump(isset($expected_array_got_string['und']['test'][1])); var_dump(isset($expected_array_got_string['und']['test'][0]));

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.60.0100.00716.50
8.3.50.0050.01421.03
8.3.40.0110.00318.75
8.3.30.0130.00318.58
8.3.20.0020.00520.26
8.3.10.0000.00821.93
8.3.00.0040.00423.50
8.2.180.0150.00018.54
8.2.170.0000.01522.96
8.2.160.0000.01320.32
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0050.00219.76
8.2.120.0080.00026.35
8.2.110.0060.00320.35
8.2.100.0070.00717.72
8.2.90.0000.00819.18
8.2.80.0050.00317.97
8.2.70.0110.00017.63
8.2.60.0080.00018.03
8.2.50.0030.00518.07
8.2.40.0050.00520.61
8.2.30.0040.00419.43
8.2.20.0040.00417.59
8.2.10.0050.00218.10
8.2.00.0020.00517.95
8.1.280.0120.00325.92
8.1.270.0070.00020.33
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0150.00622.25
8.1.230.0060.00617.58
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0060.00317.10
8.1.180.0000.00818.10
8.1.170.0000.00818.59
8.1.160.0020.00520.74
8.1.150.0030.00518.92
8.1.140.0030.00619.51
8.1.130.0030.00317.64
8.1.120.0020.00517.36
8.1.110.0080.00017.32
8.1.100.0070.00017.27
8.1.90.0000.00817.38
8.1.80.0060.00317.28
8.1.70.0070.00017.41
8.1.60.0030.00617.59
8.1.50.0040.00417.46
8.1.40.0040.00417.34
8.1.30.0000.00817.60
8.1.20.0040.00417.53
8.1.10.0030.00617.59
8.1.00.0000.00717.54
8.0.300.0000.00818.77
8.0.290.0000.00716.63
8.0.280.0000.00818.39
8.0.270.0000.00717.15
8.0.260.0000.00617.18
8.0.250.0020.00516.92
8.0.240.0040.00416.92
8.0.230.0000.00716.85
8.0.220.0000.00716.84
8.0.210.0050.00216.81
8.0.200.0000.00616.88
8.0.190.0040.00416.87
8.0.180.0000.00716.86
8.0.170.0040.00416.75
8.0.160.0070.00016.70
8.0.150.0070.00016.82
8.0.140.0000.00716.76
8.0.130.0030.00613.28
8.0.120.0040.00416.68
8.0.110.0050.00316.71
8.0.100.0000.00716.82
8.0.90.0000.00716.83
8.0.80.0090.01016.91
8.0.70.0050.00316.82
8.0.60.0040.00416.89
8.0.50.0040.00416.77
8.0.30.0070.01417.20
8.0.20.0080.01017.41
8.0.10.0000.00716.82
8.0.00.0100.00716.79
7.4.330.0020.00216.85
7.4.320.0030.00316.53
7.4.300.0080.00016.42
7.4.290.0000.00916.45
7.4.280.0050.00516.43
7.4.270.0080.00016.46
7.4.260.0030.00316.51
7.4.250.0040.00416.30
7.4.240.0020.00516.56
7.4.230.0000.00716.45
7.4.220.0030.02116.47
7.4.210.0060.01316.40
7.4.200.0030.00316.55
7.4.160.0030.01416.57
7.4.150.0030.01517.40
7.4.140.0160.00917.86
7.4.130.0110.00616.46
7.4.120.0090.00916.41
7.4.110.0090.00916.56
7.4.100.0140.00316.53
7.4.90.0100.00716.49
7.4.80.0070.01419.39
7.4.70.0120.00616.37
7.4.60.0030.01216.57
7.4.50.0030.01316.27
7.4.40.0060.01716.57
7.4.30.0160.00316.39
7.4.00.0080.00614.81
7.3.330.0020.00213.09
7.3.320.0000.00713.00
7.3.310.0030.00316.27
7.3.300.0000.00616.15
7.3.290.0100.00516.22
7.3.280.0070.01016.18
7.3.270.0130.00417.40
7.3.260.0070.01016.55
7.3.250.0070.01016.21
7.3.240.0090.01016.42
7.3.230.0160.00016.39
7.3.210.0090.00616.25
7.3.200.0070.01019.39
7.3.190.0060.01116.27
7.3.180.0140.00316.64
7.3.170.0070.01316.30
7.3.160.0060.00916.28
7.3.120.0070.01314.46
7.3.110.0070.01114.53
7.3.100.0090.00314.59
7.3.90.0030.01014.72
7.3.80.0060.01014.79
7.3.70.0000.01014.71
7.3.60.0060.01014.71
7.3.50.0000.01514.42
7.3.40.0000.00914.77
7.3.30.0070.00714.80
7.3.20.0080.00316.59
7.3.10.0040.01116.54
7.3.00.0030.00716.80
7.2.330.0080.01016.33
7.2.320.0120.00416.42
7.2.310.0070.01316.34
7.2.300.0100.00716.50
7.2.290.0080.00816.55
7.2.250.0110.00814.88
7.2.240.0170.00314.84
7.2.230.0080.00814.92
7.2.220.0030.00915.06
7.2.210.0030.01214.97
7.2.200.0060.00314.78
7.2.190.0030.01414.69
7.2.180.0000.01215.02
7.2.170.0000.01214.79
7.2.60.0060.01016.66
7.2.00.0000.01218.98
7.1.330.0040.00815.80
7.1.320.0030.00915.53
7.1.310.0060.01015.73
7.1.300.0040.01115.70
7.1.290.0000.01315.80
7.1.280.0030.01015.72
7.1.270.0090.00615.74
7.1.260.0080.00815.40
7.1.200.0040.00815.77
7.1.100.0070.00717.95
7.1.70.0000.00916.95
7.1.60.0030.02019.27
7.1.50.0000.01116.89
7.1.00.0000.08022.28
7.0.200.0040.00716.65
7.0.100.0270.05020.06
7.0.90.0270.07019.94
7.0.80.0270.08319.91
7.0.70.0230.07720.13
7.0.60.0300.07719.93
7.0.50.0230.08320.32
7.0.40.0100.04720.08
7.0.30.0030.04720.05
7.0.20.0070.08320.09
7.0.10.0070.08320.10
7.0.00.0030.09319.93
5.6.280.0070.03020.92
5.6.250.0000.05020.59
5.6.240.0070.08720.66
5.6.230.0130.07720.58
5.6.220.0000.04320.64
5.6.210.0070.08320.69
5.6.200.0100.04721.17
5.6.190.0070.06720.95
5.6.180.0130.08021.05
5.6.170.0100.08320.95
5.6.160.0170.08021.07
5.6.150.0030.08720.96
5.6.140.0030.07321.01
5.6.130.0070.04320.93
5.6.120.0030.05321.04
5.6.110.0230.06021.00
5.6.100.0300.06321.06
5.6.90.0030.05021.02
5.6.80.0130.07320.40
5.6.70.0200.06320.45
5.6.60.0000.06320.44
5.6.50.0130.07720.31
5.6.40.0070.07320.38
5.6.30.0070.08020.49
5.6.20.0100.08020.39
5.6.10.0070.08720.39
5.6.00.0030.09020.45
5.5.380.0030.08320.34
5.5.370.0070.07720.51
5.5.360.0000.07020.38
5.5.350.0030.08320.41
5.5.340.0070.07320.80
5.5.330.0070.07720.86
5.5.320.0130.07320.88
5.5.310.0030.08320.89
5.5.300.0000.06020.91
5.5.290.0030.05020.88
5.5.280.0170.07320.79
5.5.270.0130.04320.87
5.5.260.0100.07020.91
5.5.250.0030.06020.60
5.5.240.0100.04320.17
5.5.230.0230.04320.29
5.5.220.0100.07319.97
5.5.210.0030.08020.18
5.5.200.0070.08020.17
5.5.190.0030.07020.27
5.5.180.0130.07020.12
5.5.160.0170.07320.25
5.5.150.0100.06020.21
5.5.140.0070.07320.25
5.5.130.0030.06320.27
5.5.120.0070.07720.26
5.5.110.0170.05020.25
5.5.100.0100.06720.07
5.5.90.0100.06320.14
5.5.80.0070.06720.09
5.5.70.0030.04320.00
5.5.60.0100.07720.02
5.5.50.0030.08320.09
5.5.40.0100.03720.08
5.5.30.0070.07320.07
5.5.20.0100.07020.07
5.5.10.0130.06719.96
5.5.00.0030.07719.99

preferences:
71.22 ms | 401 KiB | 5 Q