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.5.20.0060.01120.29
8.5.10.0120.00520.11
8.5.00.0130.00719.78
8.4.160.0130.00923.04
8.4.150.0030.00014.05
8.4.140.0150.00717.48
8.4.130.0080.01017.84
8.4.120.0050.00420.90
8.4.110.0080.01222.46
8.4.100.0140.00718.59
8.4.90.0110.01018.71
8.4.80.0130.00317.71
8.4.70.0090.01317.96
8.4.60.0080.00818.66
8.4.50.0090.01118.82
8.4.40.0200.00019.25
8.4.30.0080.00817.69
8.4.20.0080.00817.72
8.4.10.0030.00617.46
8.3.290.0070.00620.83
8.3.280.0120.01218.32
8.3.270.0130.00716.59
8.3.260.0120.00716.42
8.3.250.0100.00918.79
8.3.240.0120.00816.74
8.3.230.0080.00816.45
8.3.220.0120.00717.24
8.3.210.0040.00416.41
8.3.200.0050.00416.42
8.3.190.0100.00817.17
8.3.180.0030.00516.42
8.3.170.0140.00018.89
8.3.160.0120.00617.30
8.3.150.0080.00819.11
8.3.140.0080.00816.39
8.3.130.0060.00316.54
8.3.120.0100.01018.89
8.3.110.0060.00320.94
8.3.100.0100.00616.64
8.3.90.0040.01418.21
8.3.80.0070.00317.97
8.3.70.0120.00616.48
8.3.60.0070.00716.50
8.3.50.0120.00621.26
8.3.40.0100.00318.66
8.3.30.0110.00418.69
8.3.20.0000.00720.20
8.3.10.0040.00421.73
8.3.00.0040.00419.43
8.2.300.0080.00220.32
8.2.290.0130.00620.55
8.2.280.0120.01118.30
8.2.270.0110.00717.27
8.2.260.0100.01016.54
8.2.250.0110.00416.52
8.2.240.0030.00619.17
8.2.230.0100.00722.58
8.2.220.0060.00324.06
8.2.210.0110.00426.77
8.2.200.0060.00318.50
8.2.190.0090.00916.79
8.2.180.0110.00718.23
8.2.170.0140.00322.96
8.2.160.0130.00620.60
8.2.150.0040.00424.18
8.2.140.0140.00024.66
8.2.130.0030.00526.16
8.2.120.0090.00017.38
8.2.110.0030.00719.20
8.2.100.0060.00617.78
8.2.90.0030.00519.23
8.2.80.0000.00817.97
8.2.70.0030.00517.63
8.2.60.0050.00318.04
8.2.50.0000.00818.07
8.2.40.0080.00021.19
8.2.30.0040.00419.72
8.2.20.0000.00717.58
8.2.10.0050.00217.93
8.2.00.0090.00017.99
8.1.340.0190.00217.57
8.1.330.0120.00722.00
8.1.320.0140.00516.34
8.1.310.0100.00718.41
8.1.300.0100.00016.39
8.1.290.0040.00418.88
8.1.280.0080.00525.92
8.1.270.0000.00920.37
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0000.00824.04
8.1.230.0060.00617.46
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0040.00417.23
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0080.00018.46
8.1.160.0000.00721.95
8.1.150.0040.00418.88
8.1.140.0030.00617.38
8.1.130.0050.00217.63
8.1.120.0000.00717.42
8.1.110.0050.00317.41
8.1.100.0050.00317.30
8.1.90.0040.00417.39
8.1.80.0000.00717.29
8.1.70.0070.00017.39
8.1.60.0000.00817.55
8.1.50.0000.00817.36
8.1.40.0000.00817.32
8.1.30.0080.00017.58
8.1.20.0060.00317.58
8.1.10.0040.00417.55
8.1.00.0080.00017.51
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0030.00318.30
8.0.270.0070.00017.18
8.0.260.0000.00617.19
8.0.250.0000.00716.92
8.0.240.0030.00616.94
8.0.230.0030.00316.73
8.0.220.0030.00316.78
8.0.210.0060.00316.84
8.0.200.0040.00416.92
8.0.190.0030.00516.79
8.0.180.0040.00716.76
8.0.170.0060.00316.84
8.0.160.0000.00816.86
8.0.150.0070.00016.87
8.0.140.0000.00816.80
8.0.130.0060.00013.19
8.0.120.0040.00416.85
8.0.110.0000.00816.80
8.0.100.0080.00016.62
8.0.90.0050.00216.87
8.0.80.0060.01016.78
8.0.70.0080.00016.85
8.0.60.0000.00716.71
8.0.50.0000.00716.91
8.0.30.0110.00616.97
8.0.20.0100.00917.40
8.0.10.0040.00416.88
8.0.00.0110.00716.75
7.4.330.0030.00315.09
7.4.320.0000.00716.43
7.4.300.0060.00016.46
7.4.290.0030.00316.46
7.4.280.0030.00716.54
7.4.270.0030.00316.35
7.4.260.0060.00016.53
7.4.250.0060.00316.51
7.4.240.0020.00516.55
7.4.230.0030.00316.29
7.4.220.0120.00616.48
7.4.210.0060.00916.39
7.4.200.0070.00016.29
7.4.160.0090.00616.40
7.4.150.0150.00317.40
7.4.140.0100.01017.86
7.4.130.0070.01216.48
7.4.120.0080.01016.53
7.4.110.0070.01016.41
7.4.100.0100.00716.46
7.4.90.0170.00716.38
7.4.80.0110.00519.39
7.4.70.0080.00816.32
7.4.60.0090.00616.40
7.4.50.0040.00416.55
7.4.40.0130.00316.55
7.4.30.0090.02116.46
7.4.00.0120.00315.02
7.3.330.0080.00013.13
7.3.320.0000.00613.00
7.3.310.0080.00016.21
7.3.300.0000.00616.29
7.3.290.0050.01116.25
7.3.280.0090.00916.32
7.3.270.0120.00417.40
7.3.260.0130.00316.26
7.3.250.0100.00916.25
7.3.240.0160.00716.17
7.3.230.0160.00616.46
7.3.210.0040.01416.21
7.3.200.0080.00816.12
7.3.190.0100.00616.55
7.3.180.0100.00616.22
7.3.170.0070.01416.27
7.3.160.0040.01216.57
7.2.330.0100.01216.29
7.2.320.0030.01316.48
7.2.310.0120.00416.36
7.2.300.0090.01316.60
7.2.290.0170.00616.60
7.2.60.0120.00416.57
7.2.10.0070.01119.34
7.2.00.0030.01019.48
7.1.200.0080.00315.77
7.1.130.0060.00918.73
7.1.120.0090.00318.84
7.1.110.0050.00718.23
7.1.100.0080.00718.03
7.1.90.0030.01017.66
7.1.80.0060.00618.02
7.1.70.0030.00617.09
7.1.60.0150.01127.43
7.1.50.0170.00825.65
7.1.40.0170.01034.36
7.1.30.0230.00334.33
7.1.20.0120.01634.35
7.1.10.0070.00716.43
7.1.00.0020.04819.57
7.0.270.0030.00918.25
7.0.260.0000.01218.32
7.0.250.0060.00617.52
7.0.240.0000.01217.66
7.0.230.0000.01416.76
7.0.220.0060.00617.42
7.0.210.0080.00416.44
7.0.200.0040.00716.53
7.0.190.0030.00916.46
7.0.180.0090.00615.81
7.0.170.0050.00815.95
7.0.160.0060.00616.09
7.0.150.0090.00316.15
7.0.140.0130.00016.02
7.0.130.0000.01216.57
7.0.120.0080.00816.19
7.0.110.0060.00616.27
7.0.100.0000.01316.20
7.0.90.0000.01215.86
7.0.80.0030.01016.25
7.0.70.0140.00616.29
7.0.60.0130.04218.94
7.0.50.0050.04617.09
7.0.40.0050.02518.25
7.0.30.0160.02718.26
7.0.20.0130.02618.12
7.0.10.0050.03818.29
7.0.00.0060.02618.04
5.6.300.0100.05820.74
5.6.290.0060.08020.69
5.6.280.0030.05820.81
5.6.270.0070.06020.85
5.6.260.0000.06420.73
5.6.250.0120.06421.02
5.6.240.0100.05920.79
5.6.230.0170.05420.74
5.6.220.0100.07820.83
5.6.210.0070.05420.84
5.6.200.0080.06919.44
5.6.190.0080.07420.66
5.6.180.0220.06620.74
5.6.170.0250.06420.56
5.6.160.0150.06220.54
5.6.150.0050.06519.52
5.6.140.0120.06119.52
5.6.130.0100.06119.54
5.6.120.0070.07621.00
5.6.110.0120.07120.96
5.6.100.0130.07720.93
5.6.90.0080.05620.93
5.6.80.0130.06020.25
5.6.70.0200.05220.12
5.6.60.0070.06420.20
5.6.50.0070.06420.10
5.6.40.0070.05520.08
5.6.30.0100.05820.05
5.6.20.0100.06120.29
5.6.10.0100.06020.07
5.6.00.0100.05420.05
5.5.380.0070.05917.56
5.5.370.0200.04417.40
5.5.360.0130.07317.39
5.5.350.0150.05018.98
5.5.340.0080.06117.95
5.5.330.0100.06719.00
5.5.320.0380.05919.19
5.5.310.0230.06319.05
5.5.300.0060.05317.96
5.5.290.0070.05617.92
5.5.280.0080.05319.28
5.5.270.0110.05719.37
5.5.260.0120.06219.31
5.5.250.0050.06919.13
5.5.240.0080.06418.67
5.5.230.0130.06817.43
5.5.220.0130.06517.07
5.5.210.0130.05317.42
5.5.200.0160.04517.31
5.5.190.0070.06317.10
5.5.180.0130.05117.23
5.5.160.0190.06317.39
5.5.150.0100.05017.14
5.5.140.0150.05817.30
5.5.130.0100.06217.05
5.5.120.0170.04817.09
5.5.110.0160.04817.40
5.5.100.0150.07217.22
5.5.90.0120.05717.30
5.5.80.0030.05617.25
5.5.70.0030.06516.94
5.5.60.0100.05417.12
5.5.50.0130.04717.04
5.5.40.0080.05717.12
5.5.30.0090.07216.94
5.5.20.0160.04617.21
5.5.10.0130.05417.22
5.5.00.0130.05016.93
5.4.450.0130.06619.30
5.4.440.0140.04719.24
5.4.430.0100.05919.41
5.4.420.0180.05419.34
5.4.410.0170.06019.19
5.4.400.0050.07119.02
5.4.390.0100.06618.84
5.4.380.0090.06519.11
5.4.370.0070.06019.03
5.4.360.0110.04618.89
5.4.350.0140.05518.96
5.4.340.0150.04419.03
5.4.320.0060.05719.07
5.4.310.0090.06019.07
5.4.300.0100.04719.13
5.4.290.0050.05819.09
5.4.280.0050.05118.93
5.4.270.0070.05018.77
5.4.260.0100.04919.12
5.4.250.0050.06519.03
5.4.240.0150.04218.87
5.4.230.0130.06019.07
5.4.220.0050.06819.06
5.4.210.0100.06619.05
5.4.200.0120.06018.95
5.4.190.0100.07019.03
5.4.180.0100.05619.08
5.4.170.0150.05818.95
5.4.160.0070.04818.96
5.4.150.0070.07219.05
5.4.140.0080.06416.40
5.4.130.0100.05916.29
5.4.120.0090.06116.35
5.4.110.0070.06416.46
5.4.100.0050.05216.33
5.4.90.0150.04416.37
5.4.80.0070.06516.42
5.4.70.0080.05816.42
5.4.60.0080.04416.48
5.4.50.0070.05716.32
5.4.40.0110.05716.30
5.4.30.0070.06016.19
5.4.20.0130.06116.30
5.4.10.0080.06316.52
5.4.00.0030.06315.82
5.3.290.0030.05614.66
5.3.280.0110.05914.57
5.3.270.0020.05614.73
5.3.260.0100.06614.67
5.3.250.0100.04314.67
5.3.240.0100.06214.57
5.3.230.0070.06514.72
5.3.220.0120.06714.59
5.3.210.0130.06114.59
5.3.200.0120.04614.69
5.3.190.0100.05814.45
5.3.180.0050.06414.46
5.3.170.0030.06514.62
5.3.160.0080.06814.50
5.3.150.0080.06514.45
5.3.140.0030.04814.59
5.3.130.0100.05914.48
5.3.120.0050.06314.59
5.3.110.0080.06814.53
5.3.100.0100.05614.07
5.3.90.0030.06314.04
5.3.80.0080.05014.05
5.3.70.0070.04814.03
5.3.60.0100.05614.01
5.3.50.0080.05814.02
5.3.40.0090.04313.87
5.3.30.0080.05613.84
5.3.20.0080.06113.68
5.3.10.0130.05113.68
5.3.00.0050.05913.64
5.2.170.0080.05111.06
5.2.160.0030.04311.12
5.2.150.0080.04011.15
5.2.140.0060.04911.19
5.2.130.0070.04411.18
5.2.120.0100.04611.21
5.2.110.0150.04311.12
5.2.100.0050.05111.19
5.2.90.0070.04211.10
5.2.80.0050.05011.02
5.2.70.0030.04511.00
5.2.60.0100.04911.07
5.2.50.0050.05110.96
5.2.40.0070.05111.05
5.2.30.0120.04410.96
5.2.20.0050.04510.98
5.2.10.0030.03611.02
5.2.00.0060.03110.84
5.1.60.0100.03810.12
5.1.50.0000.0409.97
5.1.40.0090.0329.92
5.1.30.0070.02710.32
5.1.20.0030.04510.34
5.1.10.0050.02910.06
5.1.00.0020.03210.11
5.0.50.0030.0238.84
5.0.40.0030.0228.83
5.0.30.0050.0378.82
5.0.20.0030.0228.82
5.0.10.0020.0268.82
5.0.00.0020.0378.82
4.4.90.0050.0218.82
4.4.80.0020.0308.82
4.4.70.0020.0218.82
4.4.60.0000.0298.82
4.4.50.0060.0178.82
4.4.40.0100.0238.82
4.4.30.0030.0188.82
4.4.20.0050.0168.82
4.4.10.0030.0178.82
4.4.00.0040.0268.82
4.3.110.0060.0158.82
4.3.100.0060.0148.82
4.3.90.0020.0178.82
4.3.80.0050.0288.82
4.3.70.0030.0218.82
4.3.60.0020.0178.82
4.3.50.0000.0248.82
4.3.40.0050.0258.82
4.3.30.0030.0158.82
4.3.20.0000.0218.82
4.3.10.0000.0228.82
4.3.00.0020.0178.82

preferences:
45.97 ms | 403 KiB | 5 Q