3v4l.org

run code in 300+ PHP versions simultaneously
<?php $option_array[] = array( "name" => "delivery", "options" => array( "sat", "sun") ); $option_array[] = array( "name" => "colour", "options" => array( "red", "blue", "green") ); $option_array[] = array( "name" => "size", "options" => array( "small", "medium", "large") ); var_dump($option_array);

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.40.0060.01218.84
8.3.30.0000.01618.76
8.3.20.0080.00018.61
8.3.10.0040.00420.34
8.3.00.0090.00019.13
8.2.170.0170.00018.79
8.2.160.0030.01022.96
8.2.150.0000.00825.66
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0040.00419.23
8.2.110.0060.00321.00
8.2.100.0040.00817.66
8.2.90.0000.00919.23
8.2.80.0000.00817.97
8.2.70.0070.00417.38
8.2.60.0000.00818.04
8.2.50.0000.00818.07
8.2.40.0000.00818.22
8.2.30.0020.00519.78
8.2.20.0040.00417.54
8.2.10.0000.00817.69
8.2.00.0030.00617.50
8.1.270.0000.00824.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0070.00320.75
8.1.230.0050.00520.89
8.1.220.0040.00418.77
8.1.210.0040.00418.83
8.1.200.0030.00617.35
8.1.190.0050.00217.16
8.1.180.0080.00018.10
8.1.170.0080.00018.65
8.1.160.0040.00418.84
8.1.150.0040.00418.64
8.1.140.0050.00317.36
8.1.130.0070.00017.74
8.1.120.0070.00017.41
8.1.110.0000.00717.30
8.1.100.0000.00717.39
8.1.90.0000.00717.38
8.1.80.0050.00317.40
8.1.70.0030.00317.39
8.1.60.0030.00617.54
8.1.50.0080.00017.33
8.1.40.0030.00617.48
8.1.30.0040.00417.63
8.1.20.0030.00517.52
8.1.10.0050.00317.43
8.1.00.0000.00717.48
8.0.300.0050.00219.86
8.0.290.0070.00016.58
8.0.280.0000.00818.33
8.0.270.0000.00717.11
8.0.260.0030.00318.30
8.0.250.0040.00416.79
8.0.240.0050.00316.91
8.0.230.0040.00416.91
8.0.220.0000.00916.76
8.0.210.0030.00316.85
8.0.200.0000.00716.88
8.0.190.0000.00716.76
8.0.180.0060.00316.86
8.0.170.0040.00416.70
8.0.160.0030.00316.88
8.0.150.0040.00416.84
8.0.140.0000.00916.75
8.0.130.0060.00013.30
8.0.120.0040.00416.79
8.0.110.0060.00316.84
8.0.100.0000.00716.73
8.0.90.0000.00716.72
8.0.80.0120.00316.81
8.0.70.0040.00416.66
8.0.60.0040.00416.77
8.0.50.0040.00416.79
8.0.30.0100.01016.97
8.0.20.0130.00617.40
8.0.10.0030.00416.82
8.0.00.0140.00716.62
7.4.330.0000.00614.50
7.4.320.0000.00616.30
7.4.300.0000.00616.48
7.4.290.0030.00516.23
7.4.280.0050.00316.50
7.4.270.0030.00316.46
7.4.260.0030.00313.09
7.4.250.0030.00616.46
7.4.240.0000.00716.43
7.4.230.0070.00016.27
7.4.220.0100.01416.52
7.4.210.0120.00516.44
7.4.200.0050.00316.48
7.4.190.0040.00416.63
7.4.160.0080.00816.40
7.4.150.0090.01217.40
7.4.140.0110.00717.09
7.4.130.0100.01016.43
7.4.120.0090.01016.32
7.4.110.0110.00716.38
7.4.100.0140.00816.68
7.4.90.0060.01216.43
7.4.80.0160.00719.03
7.4.70.0030.01316.31
7.4.60.0060.01116.43
7.4.50.0040.00416.47
7.4.40.0000.01322.27
7.4.30.0130.00316.41
7.4.10.0070.01015.09
7.4.00.0070.01114.86
7.3.330.0000.00613.11
7.3.320.0030.00313.14
7.3.310.0070.00016.29
7.3.300.0030.00316.15
7.3.290.0110.00416.16
7.3.280.0070.01216.17
7.3.270.0040.01317.40
7.3.260.0220.00518.24
7.3.250.0110.01116.47
7.3.240.0100.01416.24
7.3.230.0140.00316.46
7.3.210.0070.01016.35
7.3.200.0100.01019.39
7.3.190.0140.00816.26
7.3.180.0080.00816.33
7.3.170.0100.00616.35
7.3.160.0100.00716.53
7.3.130.0030.01214.95
7.3.120.0090.00814.88
7.3.110.0030.01214.79
7.3.100.0000.00915.01
7.3.90.0060.00614.70
7.3.80.0030.00614.43
7.3.70.0030.00814.50
7.3.60.0100.00314.61
7.3.50.0070.00314.60
7.3.40.0060.00614.79
7.3.30.0090.00614.40
7.3.20.0100.00616.44
7.3.10.0070.00416.54
7.3.00.0130.00316.68
7.2.330.0090.00916.65
7.2.320.0060.01216.22
7.2.310.0050.01616.54
7.2.300.0100.01016.51
7.2.290.0090.00916.36
7.2.260.0030.01314.71
7.2.250.0070.01014.87
7.2.240.0080.00814.79
7.2.230.0000.01014.54
7.2.220.0110.00414.96
7.2.210.0000.01214.62
7.2.200.0070.01014.62
7.2.190.0000.01014.97
7.2.180.0070.00715.00
7.2.170.0130.00015.00
7.2.160.0070.00714.65
7.2.150.0040.00716.73
7.2.140.0070.00316.72
7.2.130.0070.00716.75
7.2.120.0040.00816.73
7.2.110.0040.00816.88
7.2.100.0100.00316.68
7.2.90.0030.00716.86
7.2.80.0030.01217.01
7.2.70.0070.00716.57
7.2.60.0030.01316.65
7.2.50.0030.01016.75
7.2.40.0060.00816.81
7.2.30.0030.01216.79
7.2.20.0000.01216.88
7.2.10.0090.00616.61
7.2.00.0020.01117.96
7.1.330.0040.00815.76
7.1.320.0110.00315.79
7.1.310.0100.00315.47
7.1.300.0040.00815.61
7.1.290.0040.00715.46
7.1.280.0060.00315.90
7.1.270.0110.00415.54
7.1.260.0040.00815.76
7.1.250.0090.00615.76
7.1.240.0080.00415.52
7.1.230.0070.00715.72
7.1.220.0030.00615.67
7.1.210.0030.01215.63
7.1.200.0050.00515.77
7.1.190.0070.00715.48
7.1.180.0000.01515.82
7.1.170.0000.01015.85
7.1.160.0090.00315.79
7.1.150.0030.01015.57
7.1.140.0030.01015.77
7.1.130.0000.01415.80
7.1.120.0030.00915.65
7.1.110.0030.00915.77
7.1.100.0090.00516.84
7.1.90.0040.01115.73
7.1.80.0040.00415.79
7.1.70.0060.00216.47
7.1.60.0050.01517.58
7.1.50.0080.01016.31
7.1.40.0030.00715.57
7.1.30.0000.01015.57
7.1.20.0070.00715.58
7.1.10.0060.00615.62
7.1.00.0080.03819.04
7.0.330.0070.00715.36
7.0.320.0040.00815.50
7.0.310.0080.00015.40
7.0.300.0120.00415.24
7.0.290.0090.00315.19
7.0.280.0000.01115.33
7.0.270.0070.01015.13
7.0.260.0040.00715.14
7.0.250.0030.00615.54
7.0.240.0030.01015.62
7.0.230.0000.01215.38
7.0.220.0080.00415.30
7.0.210.0060.00315.38
7.0.200.0190.00514.92
7.0.190.0030.01315.26
7.0.180.0070.00315.33
7.0.170.0040.00815.46
7.0.160.0000.01315.23
7.0.150.0030.00615.41
7.0.140.0070.03318.77
7.0.130.0040.00815.27
7.0.120.0040.00715.63
7.0.110.0040.00815.43
7.0.100.0040.00715.51
7.0.90.0000.00815.29
7.0.80.0070.00715.32
7.0.70.0030.00615.26
7.0.60.0170.02717.71
7.0.50.0020.03016.51
7.0.40.0080.03615.59
7.0.30.0090.02415.59
7.0.20.0040.03415.60
7.0.10.0100.03815.58
7.0.00.0030.02315.56
5.6.400.0030.00714.08
5.6.390.0060.00313.98
5.6.380.0070.00714.27
5.6.370.0030.00614.13
5.6.360.0040.00814.11
5.6.350.0090.00614.64
5.6.340.0030.00914.11
5.6.330.0040.01114.07
5.6.320.0090.00614.04
5.6.310.0060.01014.09
5.6.300.0030.01014.44
5.6.290.0030.01014.47
5.6.280.0030.04017.80
5.6.270.0000.01314.30
5.6.260.0070.00714.21
5.6.250.0070.00713.99
5.6.240.0070.00714.24
5.6.230.0150.00014.40
5.6.220.0040.00814.28
5.6.210.0050.03917.40
5.6.200.0080.02816.25
5.6.190.0070.04516.23
5.6.180.0120.04016.21
5.6.170.0080.03716.23
5.6.160.0030.02316.17
5.6.150.0070.02016.12
5.6.140.0020.05016.17
5.6.130.0020.03516.11
5.6.120.0090.02516.17
5.6.110.0060.04316.20
5.6.100.0080.04516.35
5.6.90.0060.02416.13
5.6.80.0040.04615.89
5.6.70.0050.04515.88
5.6.60.0080.03515.81
5.6.50.0070.03515.79
5.6.40.0030.04715.78
5.6.30.0030.03215.91
5.6.20.0120.02715.86
5.6.10.0120.04015.96
5.6.00.0090.02715.82
5.5.380.0000.00913.88
5.5.370.0030.01014.13
5.5.360.0040.00714.38
5.5.350.0020.03617.36
5.5.340.0070.02716.07
5.5.330.0040.02616.28
5.5.320.0070.02516.03
5.5.310.0050.04216.13
5.5.300.0070.03915.91
5.5.290.0070.02816.12
5.5.280.0080.03016.00
5.5.270.0050.03415.88
5.5.260.0030.04715.93
5.5.250.0030.03715.82
5.5.240.0050.04015.77
5.5.230.0090.04015.81
5.5.220.0080.03815.81
5.5.210.0020.02415.79
5.5.200.0080.04015.70
5.5.190.0030.04515.73
5.5.180.0090.03515.85
5.5.170.0030.00914.14
5.5.160.0080.02615.81
5.5.150.0050.04115.79
5.5.140.0060.03815.71
5.5.130.0100.03815.73
5.5.120.0090.03615.72
5.5.110.0030.04815.81
5.5.100.0070.04015.65
5.5.90.0030.02615.63
5.5.80.0070.03315.64
5.5.70.0020.03115.66
5.5.60.0110.03715.74
5.5.50.0070.04415.58
5.5.40.0050.04115.68
5.5.30.0030.04315.76
5.5.20.0050.03315.82
5.5.10.0070.03315.65
5.5.00.0050.02015.64
5.4.450.0030.03015.14
5.4.440.0070.02915.03
5.4.430.0090.02615.29
5.4.420.0080.04015.16
5.4.410.0020.04115.25
5.4.400.0090.03514.69
5.4.390.0080.02514.97
5.4.380.0060.03815.10
5.4.370.0050.02214.98
5.4.360.0080.03714.98
5.4.350.0040.02414.93
5.4.340.0070.03714.87
5.4.330.0000.00810.55
5.4.320.0050.02514.92
5.4.310.0030.02414.81
5.4.300.0070.03814.94
5.4.290.0080.03714.79
5.4.280.0070.03715.00
5.4.270.0030.02515.06
5.4.260.0050.04014.84
5.4.250.0060.03314.98
5.4.240.0080.03714.81
5.4.230.0020.04315.10
5.4.220.0070.03015.09
5.4.210.0030.04114.85
5.4.200.0100.03314.97
5.4.190.0170.01814.87
5.4.180.0100.03715.09
5.4.170.0050.02314.89
5.4.160.0030.02615.05
5.4.150.0020.02314.85
5.4.140.0000.02413.77
5.4.130.0020.02313.63
5.4.120.0000.02313.51
5.4.110.0030.02013.63
5.4.100.0020.02313.58
5.4.90.0070.01513.63
5.4.80.0030.02013.58
5.4.70.0040.01813.58
5.4.60.0090.01713.63
5.4.50.0030.01813.67
5.4.40.0030.02313.73
5.4.30.0070.01813.43
5.4.20.0050.02013.45
5.4.10.0050.02013.73
5.4.00.0020.02313.36
5.3.290.0020.04512.51
5.3.280.0030.02512.40
5.3.270.0050.02712.56
5.3.260.0040.02212.57
5.3.250.0020.02312.58
5.3.240.0020.02412.39
5.3.230.0050.02012.46
5.3.220.0070.02012.42
5.3.210.0000.02712.27
5.3.200.0030.02312.37
5.3.190.0050.01812.43
5.3.180.0030.02312.51
5.3.170.0000.02512.49
5.3.160.0020.02512.41
5.3.150.0070.01712.31
5.3.140.0020.02412.46
5.3.130.0020.02412.37
5.3.120.0050.02012.39
5.3.110.0040.02012.46
5.3.100.0020.02312.16
5.3.90.0030.02012.24
5.3.80.0020.02211.99
5.3.70.0030.01812.02
5.3.60.0000.02212.03
5.3.50.0050.02212.09
5.3.40.0040.02412.14
5.3.30.0030.02112.05
5.3.20.0030.02411.86
5.3.10.0080.01711.84
5.3.00.0010.02011.85
5.2.170.0030.02711.09
5.2.160.0030.02711.10
5.2.150.0070.02311.09
5.2.140.0030.03311.10
5.2.130.0000.03011.25
5.2.120.0000.03011.07
5.2.110.0000.03011.09
5.2.100.0030.02711.07
5.2.90.0000.04311.24
5.2.80.0070.02311.07
5.2.70.0000.03010.92
5.2.60.0000.04711.02
5.2.50.0070.05711.03
5.2.40.0070.03710.95
5.2.30.0000.03710.91
5.2.20.0000.06310.94
5.2.10.0000.04710.89
5.2.00.0030.05710.61
5.1.60.0130.04710.07
5.1.50.0000.05010.05
5.1.40.0030.0539.95
5.1.30.0070.03310.29
5.1.20.0030.05710.25
5.1.10.0000.0509.90
5.1.00.0030.0509.98
5.0.50.0000.0508.58
5.0.40.0000.0478.36
5.0.30.0000.0508.27
5.0.20.0030.0438.28
5.0.10.0000.0308.16
5.0.00.0030.0638.22
4.4.90.0030.0137.73
4.4.80.0030.0177.73
4.4.70.0000.0177.73
4.4.60.0000.0307.73
4.4.50.0030.0207.73
4.4.40.0000.0537.73
4.4.30.0000.0377.73
4.4.20.0070.0277.73
4.4.10.0030.0207.73
4.4.00.0070.0477.73
4.3.110.0000.0337.73
4.3.100.0000.0237.73
4.3.90.0070.0337.73
4.3.80.0030.0537.73
4.3.70.0030.0207.73
4.3.60.0130.0207.73
4.3.50.0030.0337.73
4.3.40.0000.0537.73
4.3.30.0030.0377.73
4.3.20.0000.0207.73
4.3.10.0000.0307.73
4.3.00.0000.0237.73

preferences:
47.21 ms | 400 KiB | 5 Q