3v4l.org

run code in 300+ PHP versions simultaneously
<?php $workflow['Workflow'] = array('ContactInformation' => 'Primary'); $workflow['Workflow']['ContactInformation']['Primary'] = array('FirstName' => 'Jon'); $input = $workflow['Workflow']['ContactInformatino']; if (array_key_exists('FirstName', $input['Primary'])) { var_dump('hello'); } var_dump($workflow);

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.0140.00316.88
8.3.50.0120.00916.49
8.3.40.0110.00418.84
8.3.30.0070.00719.09
8.3.20.0000.00720.33
8.3.10.0060.00323.56
8.3.00.0050.00318.05
8.2.180.0090.00618.42
8.2.170.0150.00022.96
8.2.160.0110.00419.32
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0060.00326.16
8.2.120.0040.00420.64
8.2.110.0000.00922.20
8.2.100.0030.00719.21
8.2.90.0050.00319.23
8.2.80.0070.00019.39
8.2.70.0040.00417.75
8.2.60.0000.00818.05
8.2.50.0040.00418.07
8.2.40.0000.00918.16
8.2.30.0040.00418.07
8.2.20.0030.00517.86
8.2.10.0000.00718.00
8.2.00.0040.00417.91
8.1.280.0100.00725.92
8.1.270.0060.00323.73
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0040.00423.79
8.1.230.0080.00419.17
8.1.220.0070.00317.74
8.1.210.0080.00018.77
8.1.200.0030.00617.48
8.1.190.0000.00817.52
8.1.180.0040.00418.86
8.1.170.0040.00418.66
8.1.160.0030.00322.15
8.1.150.0050.00218.89
8.1.140.0040.00417.38
8.1.130.0030.00317.84
8.1.120.0050.00317.49
8.1.110.0000.00717.39
8.1.100.0030.00417.45
8.1.90.0000.00717.39
8.1.80.0040.00417.46
8.1.70.0030.00317.41
8.1.60.0030.00617.48
8.1.50.0030.00617.43
8.1.40.0000.00817.40
8.1.30.0030.00617.73
8.1.20.0040.00417.63
8.1.10.0080.00017.61
8.1.00.0000.00717.45
8.0.300.0040.00418.77
8.0.290.0000.00717.18
8.0.280.0050.00218.46
8.0.270.0070.00017.32
8.0.260.0000.00717.21
8.0.250.0030.00317.04
8.0.240.0040.00416.98
8.0.230.0000.00717.03
8.0.220.0000.00716.94
8.0.210.0000.00716.83
8.0.200.0000.00817.04
8.0.190.0050.00316.90
8.0.180.0070.00017.06
8.0.170.0000.00816.89
8.0.160.0000.00717.03
8.0.150.0030.00316.93
8.0.140.0030.00516.89
8.0.130.0050.00013.39
8.0.120.0050.00316.84
8.0.110.0000.00716.96
8.0.100.0070.00016.96
8.0.90.0040.00416.97
8.0.80.0090.00616.99
8.0.70.0000.00717.04
8.0.60.0000.00716.88
8.0.50.0040.00416.94
8.0.30.0060.01417.14
8.0.20.0120.01017.40
8.0.10.0040.00417.21
8.0.00.0090.00916.77
7.4.330.0060.00015.09
7.4.320.0060.00016.54
7.4.300.0000.00616.65
7.4.290.0070.00016.61
7.4.280.0000.00816.41
7.4.270.0030.00316.52
7.4.260.0070.00316.39
7.4.250.0000.00716.55
7.4.240.0020.00516.57
7.4.230.0050.00316.64
7.4.220.0110.00716.43
7.4.210.0030.01116.43
7.4.200.0070.00016.56
7.4.160.0060.00916.54
7.4.150.0070.01717.40
7.4.140.0130.00817.86
7.4.130.0120.00516.60
7.4.120.0130.00516.56
7.4.110.0090.00916.55
7.4.100.0060.01216.48
7.4.90.0130.00316.36
7.4.80.0120.00919.39
7.4.70.0140.00316.70
7.4.60.0100.01016.63
7.4.50.0040.00416.61
7.4.40.0110.00716.34
7.4.30.0030.01416.46
7.4.00.0110.00414.85
7.3.330.0000.00513.16
7.3.320.0020.00313.25
7.3.310.0030.00316.20
7.3.300.0040.00416.33
7.3.290.0100.00516.34
7.3.280.0050.01216.33
7.3.270.0080.00817.40
7.3.260.0110.00816.35
7.3.250.0070.01116.37
7.3.240.0100.00716.43
7.3.230.0080.01016.57
7.3.210.0000.01616.32
7.3.200.0130.01319.39
7.3.190.0110.00616.65
7.3.180.0100.00716.45
7.3.170.0140.00616.42
7.3.160.0160.01016.28
7.3.10.0090.00616.56
7.3.00.0070.00716.57
7.2.330.0180.00016.48
7.2.320.0130.00316.48
7.2.310.0000.01816.39
7.2.300.0040.01416.73
7.2.290.0070.01516.30
7.2.130.0000.01316.66
7.2.120.0030.00716.85
7.2.110.0000.01116.66
7.2.100.0100.00316.52
7.2.90.0040.01116.71
7.2.80.0070.00717.10
7.2.70.0040.00716.86
7.2.60.0030.01016.65
7.2.50.0060.00916.94
7.2.40.0070.00416.65
7.2.30.0070.00316.78
7.2.20.0060.00616.78
7.2.10.0000.01217.07
7.2.00.0030.01318.07
7.1.250.0030.00915.53
7.1.200.0070.01015.48
7.1.100.0030.00618.08
7.1.70.0000.01016.99
7.1.60.0170.00019.34
7.1.50.0040.01116.92
7.1.00.0030.07722.51
7.0.200.0030.00716.92
7.0.140.0070.03022.15
7.0.60.0070.07020.04
7.0.50.0030.08317.91
7.0.40.0100.06319.98
7.0.30.0230.05020.30
7.0.20.0270.08320.11
7.0.10.0170.04720.09
7.0.00.0070.07019.99
5.6.280.0100.06720.78
5.6.210.0070.07720.51
5.6.200.0030.06018.12
5.6.190.0070.08320.27
5.6.180.4030.04020.49
5.6.170.0370.07720.62
5.6.160.0030.08020.52
5.6.150.0030.05018.15
5.6.140.0070.05718.21
5.6.130.0000.04718.15
5.6.120.0070.07721.11
5.6.110.0030.05320.98
5.6.100.0070.07721.01
5.6.90.0130.04021.00
5.6.80.0170.07020.39
5.6.70.0330.06320.38
5.5.350.0400.06720.30
5.5.340.0030.08017.96
5.5.330.0070.08720.32
5.5.320.0270.06720.24
5.5.310.0430.07020.29
5.5.300.0070.08317.98
5.5.290.0100.07317.95
5.5.280.0070.08020.73
5.5.270.0070.05720.79
5.5.260.0100.08020.72
5.5.250.0030.05020.69
5.5.240.0370.05020.23
5.4.450.0330.05719.14
5.4.440.0570.06319.58
5.4.430.0100.06019.14
5.4.420.0130.05319.25
5.4.410.0200.04319.34
5.4.400.0130.04719.15
5.4.390.0170.04319.05
5.4.380.0130.06318.72
5.4.370.0230.06718.68
5.4.360.0230.05318.61
5.4.350.0130.04713.88
5.4.340.0030.05713.71
5.4.320.0130.05014.17
5.4.310.0170.04714.18
5.4.300.0100.04314.29
5.4.290.0230.02714.13
5.4.280.0100.03714.20
5.4.270.0100.04014.10
5.4.260.0130.03714.02
5.4.250.0030.04314.02
5.4.240.0070.03714.10
5.4.230.0030.04314.18
5.4.220.0100.04714.02
5.4.210.0100.03714.09
5.4.200.0100.04014.09
5.4.190.0070.04314.07
5.4.180.0070.04314.15
5.4.170.0100.03714.18
5.4.160.0070.03714.20
5.4.150.0070.05314.06
5.4.140.0100.03713.93
5.4.130.0100.04313.68
5.4.120.0100.03713.72
5.4.110.0030.04013.70
5.4.100.0100.03313.73
5.4.90.0070.04013.87
5.4.80.0070.05713.72
5.4.70.0030.04013.66
5.4.60.0100.05013.70
5.4.50.0030.04013.70
5.4.40.0100.03313.86
5.4.30.0070.04313.86
5.4.20.0070.03713.63
5.4.10.0030.04013.70
5.4.00.0070.05313.13
5.3.290.0200.03314.64
5.3.280.0170.03714.62
5.3.270.0200.04314.66
5.3.260.0070.04014.41
5.3.250.0200.04314.50
5.3.240.0130.05014.63
5.3.230.0070.04714.49
5.3.220.0070.04714.41
5.3.210.0070.04014.41
5.3.200.0130.03714.43
5.3.190.0100.03714.41
5.3.180.0070.04014.53
5.3.170.0100.03314.57
5.3.160.0030.04014.48
5.3.150.0070.04014.59
5.3.140.0130.04714.56
5.3.130.0070.04314.45
5.3.120.0100.05314.40
5.3.110.0170.03714.55
5.3.100.0070.04313.95
5.3.90.0100.03713.92
5.3.80.0070.04013.96
5.3.70.0130.03313.93
5.3.60.0030.04013.97
5.3.50.0070.04013.84
5.3.40.0070.03713.80
5.3.30.0070.04013.80
5.3.20.0100.04313.59
5.3.10.0170.04313.68
5.3.00.0170.05013.55
5.2.170.0070.04711.05
5.2.160.0170.03711.20
5.2.150.0030.04711.00
5.2.140.0330.03711.25
5.2.130.0130.03710.92
5.2.120.0130.04011.01
5.2.110.0130.03311.11
5.2.100.0000.03311.05
5.2.90.0100.02711.07
5.2.80.0070.03011.02
5.2.70.0030.03311.06
5.2.60.0030.03311.06
5.2.50.0100.03011.01
5.2.40.0070.02710.97
5.2.30.0030.03310.86
5.2.20.0030.03710.93
5.2.10.0070.04010.85
5.2.00.0070.03710.81
5.1.60.0070.02710.05
5.1.50.0100.02710.05
5.1.40.0130.0279.93
5.1.30.0070.02710.24
5.1.20.0030.03010.43
5.1.10.0100.02710.14
5.1.00.0030.03010.02
5.0.50.0030.0238.55
5.0.40.0070.0278.48
5.0.30.0070.0408.23
5.0.20.0030.0208.13
5.0.10.0030.0238.21
5.0.00.0000.0378.22
4.4.90.0070.0205.84
4.4.80.0100.0175.75
4.4.70.0100.0175.81
4.4.60.0030.0175.88
4.4.50.0070.0175.81
4.4.40.0030.0275.79
4.4.30.0000.0205.79
4.4.20.0100.0175.90
4.4.10.0070.0205.82
4.4.00.0070.0335.95
4.3.110.0070.0205.75
4.3.100.0000.0235.80
4.3.90.0070.0175.73
4.3.80.0030.0335.72
4.3.70.0070.0235.72
4.3.60.0000.0235.73
4.3.50.0070.0205.89
4.3.40.0030.0335.82
4.3.30.0070.0204.49
4.3.20.0170.0274.45
4.3.10.0200.0334.41
4.3.00.0100.0206.22

preferences:
51.42 ms | 400 KiB | 5 Q