3v4l.org

run code in 300+ PHP versions simultaneously
<?php $expected_array_got_string = 'einstring'; var_dump($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.0150.00016.49
8.3.50.0090.01216.20
8.3.40.0140.00318.92
8.3.30.0140.00718.46
8.3.20.0050.00320.39
8.3.10.0000.00823.52
8.3.00.0080.00023.61
8.2.180.0030.01616.85
8.2.170.0090.00622.96
8.2.160.0100.00720.58
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00420.97
8.2.120.0040.00426.35
8.2.110.0070.00720.43
8.2.100.0080.00417.91
8.2.90.0050.00319.08
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0080.00018.03
8.2.50.0040.00418.09
8.2.40.0020.00520.48
8.2.30.0040.00419.31
8.2.20.0000.00717.79
8.2.10.0070.00018.08
8.2.00.0080.00018.08
8.1.280.0140.00725.92
8.1.270.0070.00022.18
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0040.00723.78
8.1.230.0070.00423.90
8.1.220.0030.00517.79
8.1.210.0040.00418.77
8.1.200.0030.00717.22
8.1.190.0030.00517.22
8.1.180.0040.00418.10
8.1.170.0080.00018.59
8.1.160.0000.00720.71
8.1.150.0040.00420.60
8.1.140.0080.00019.43
8.1.130.0030.00317.64
8.1.120.0000.00817.28
8.1.110.0040.00417.27
8.1.100.0030.00417.38
8.1.90.0050.00317.41
8.1.80.0050.00217.45
8.1.70.0030.00317.29
8.1.60.0040.00417.50
8.1.50.0040.00417.52
8.1.40.0060.00317.42
8.1.30.0040.00417.60
8.1.20.0030.00617.69
8.1.10.0000.00717.57
8.1.00.0080.00017.52
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.37
8.0.270.0070.00017.11
8.0.260.0030.00317.11
8.0.250.0030.00316.85
8.0.240.0070.00016.91
8.0.230.0070.00016.88
8.0.220.0000.00816.87
8.0.210.0000.00816.79
8.0.200.0080.00016.87
8.0.190.0000.00716.96
8.0.180.0040.00416.89
8.0.170.0040.00416.92
8.0.160.0040.00416.86
8.0.150.0050.00216.92
8.0.140.0000.00716.74
8.0.130.0000.00513.33
8.0.120.0000.00816.83
8.0.110.0040.00416.79
8.0.100.0040.00416.88
8.0.90.0000.00716.84
8.0.80.0060.00916.89
8.0.70.0080.00016.90
8.0.60.0000.00816.88
8.0.50.0040.00416.96
8.0.30.0100.00817.20
8.0.20.0120.00817.40
8.0.10.0000.00716.90
8.0.00.0130.00616.73
7.4.330.0050.00016.69
7.4.320.0000.00816.54
7.4.300.0030.00316.54
7.4.290.0000.00716.54
7.4.280.0000.00716.40
7.4.270.0000.00716.56
7.4.260.0030.00316.41
7.4.250.0000.00716.51
7.4.240.0050.00216.53
7.4.230.0000.00716.44
7.4.220.0100.01316.58
7.4.210.0030.01716.60
7.4.200.0050.00316.52
7.4.160.0060.00916.46
7.4.150.0040.01817.40
7.4.140.0150.00617.86
7.4.130.0080.01016.50
7.4.120.0090.01216.46
7.4.110.0070.01016.44
7.4.100.0120.01016.43
7.4.90.0090.00916.57
7.4.80.0060.00919.39
7.4.70.0100.00616.52
7.4.60.0070.01016.56
7.4.50.0100.00716.50
7.4.40.0130.01016.52
7.4.30.0090.00816.25
7.4.10.0070.00716.45
7.4.00.0080.00815.44
7.3.330.0000.00513.19
7.3.320.0050.00013.22
7.3.310.0040.00416.45
7.3.300.0070.00016.27
7.3.290.0090.00616.35
7.3.280.0080.01116.43
7.3.270.0040.01317.40
7.3.260.0140.00316.41
7.3.250.0120.00916.38
7.3.240.0080.00816.47
7.3.230.0090.00916.39
7.3.210.0090.01116.45
7.3.200.0030.01219.39
7.3.190.0030.01316.42
7.3.180.0060.01016.20
7.3.170.0130.00316.31
7.3.160.0030.01316.37
7.3.130.0080.00816.23
7.3.120.0070.00516.37
7.3.110.0030.01016.30
7.3.100.0150.00416.16
7.3.90.0040.01116.20
7.3.80.0030.01216.20
7.3.70.0040.01116.38
7.3.60.0070.01016.15
7.3.50.0030.01216.17
7.3.40.0060.00316.36
7.3.30.0030.01016.34
7.3.20.0070.00718.04
7.3.10.0060.01017.99
7.3.00.0000.01118.11
7.2.330.0130.00316.43
7.2.320.0070.01616.34
7.2.310.0070.01416.41
7.2.300.0100.00716.66
7.2.290.0120.00916.56
7.2.260.0070.01116.42
7.2.250.0070.01016.48
7.2.240.0040.01316.63
7.2.230.0060.01316.55
7.2.220.0150.00316.22
7.2.210.0060.00916.32
7.2.200.0060.00316.61
7.2.190.0060.00616.33
7.2.180.0040.01116.24
7.2.170.0030.01116.35
7.2.160.0030.01416.43
7.2.150.0040.01118.20
7.2.140.0070.00318.44
7.2.130.0040.00718.36
7.2.120.0070.00718.22
7.2.110.0000.01418.44
7.2.100.0100.00718.36
7.2.90.0070.00718.36
7.2.80.0040.00818.28
7.2.70.0150.00318.21
7.2.60.0050.01017.47
7.2.50.0030.00917.98
7.2.40.0040.01118.27
7.2.30.0060.01018.34
7.2.20.0080.00818.38
7.2.10.0100.00718.40
7.2.00.0060.00918.58
7.1.330.0110.00417.22
7.1.320.0090.00617.33
7.1.310.0040.00817.42
7.1.300.0070.00717.40
7.1.290.0060.00617.38
7.1.280.0030.00817.38
7.1.270.0030.00717.34
7.1.260.0040.01117.27
7.1.250.0090.00617.20
7.1.240.0000.01317.16
7.1.230.0050.00517.32
7.1.220.0070.01117.27
7.1.210.0000.01417.36
7.1.200.0080.00816.50
7.1.190.0090.00617.24
7.1.180.0070.00317.36
7.1.170.0040.00717.12
7.1.160.0070.00717.29
7.1.150.0030.00817.34
7.1.140.0030.00617.28
7.1.130.0040.01117.26
7.1.120.0070.00717.27
7.1.110.0000.01417.39
7.1.100.0030.01017.76
7.1.90.0040.00917.24
7.1.80.0000.01417.23
7.1.70.0020.01417.27
7.1.60.0050.01418.25
7.1.50.0120.00517.09
7.1.40.0040.01217.30
7.1.30.0100.00717.21
7.1.20.0070.00417.39
7.1.10.0060.00617.02
7.1.00.0020.04319.76
7.0.330.0100.00316.85
7.0.320.0040.01116.82
7.0.310.0030.00816.98
7.0.300.0000.01416.85
7.0.290.0070.00416.94
7.0.280.0030.00916.91
7.0.270.0030.01016.88
7.0.260.0030.01016.92
7.0.250.0110.00316.89
7.0.240.0070.00716.96
7.0.230.0090.00617.09
7.0.220.0100.00616.77
7.0.210.0100.00317.03
7.0.200.0130.01015.64
7.0.190.0090.00617.05
7.0.180.0030.00916.99
7.0.170.0060.00616.86
7.0.160.0040.00716.85
7.0.150.0060.00817.08
7.0.140.0040.01117.05
7.0.130.0030.00916.76
7.0.120.0000.01116.96
7.0.110.0030.01216.68
7.0.100.0110.00416.88
7.0.90.0030.01016.96
7.0.80.0030.01016.84
7.0.70.0030.01016.98
7.0.60.0150.04119.32
7.0.50.0100.03917.38
7.0.40.0020.02917.57
7.0.30.0260.03017.57
7.0.20.0200.02417.48
7.0.10.0080.04217.63
7.0.00.0030.05117.45
5.6.400.0080.00415.61
5.6.390.0120.00415.79
5.6.380.0030.01215.58
5.6.370.0140.00015.85
5.6.360.0120.00315.66
5.6.350.0040.01115.98
5.6.340.0070.00715.80
5.6.330.0120.00315.77
5.6.320.0030.00715.87
5.6.310.0030.01015.76
5.6.300.0110.00315.81
5.6.290.0040.01115.74
5.6.280.0080.02018.48
5.6.270.0000.01415.66
5.6.260.0110.00415.88
5.6.250.0060.00615.90
5.6.240.0070.00715.96
5.6.230.0040.01215.77
5.6.220.0070.00715.70
5.6.210.0020.03618.29
5.6.200.0070.03516.89
5.6.190.0120.04218.13
5.6.180.0100.03218.01
5.6.170.0170.02718.07
5.6.160.0080.04218.15
5.6.150.0050.02717.05
5.6.140.0070.02317.01
5.6.130.0030.02716.81
5.6.120.0110.02718.59
5.6.110.0050.04518.48
5.6.100.0130.04018.46
5.6.90.0030.04518.39
5.6.80.0080.02118.01
5.6.70.0000.01015.60
5.6.60.0110.00415.71
5.6.50.0030.01015.82
5.6.40.0090.00615.50
5.6.30.0060.00615.73
5.6.20.0000.01215.71
5.6.10.0070.00715.91
5.6.00.0100.01015.93
5.5.380.0040.00715.57
5.5.370.0060.00615.71
5.5.360.0040.01115.82
5.5.350.0200.03717.92
5.5.340.0030.04016.79
5.5.330.0030.02817.98
5.5.320.0170.02217.92
5.5.310.0200.02817.93
5.5.300.0030.02516.92
5.5.290.0070.04616.85
5.5.280.0020.02718.35
5.5.270.0070.04718.29
5.5.260.0090.04218.18
5.5.250.0080.04518.20
5.5.240.0130.03717.82
5.5.230.0090.00615.72
5.5.220.0140.00415.79
5.5.210.0030.01015.51
5.5.200.0060.00915.73
5.5.190.0090.00615.82
5.5.180.0070.00715.47
5.5.170.0070.01015.77
5.5.160.0070.01115.73
5.5.150.0060.00915.50
5.5.140.0070.00315.61
5.5.130.0070.00715.64
5.5.120.0060.00615.81
5.5.110.0090.00915.47
5.5.100.0070.00715.48
5.5.90.0070.01415.53
5.5.80.0020.01315.51
5.5.70.0040.01115.40
5.5.60.0080.00915.41
5.5.50.0130.00315.70
5.5.40.0120.00315.61
5.5.30.0100.00015.63
5.5.20.0000.01515.68
5.5.10.0100.00715.72
5.5.00.0050.01315.43

preferences:
55.34 ms | 400 KiB | 5 Q