3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array ( 0 => array ( 81 => 'assess', ), 1 => array ( 9 => 'assess', ), 2 => array ( 45 => 'assess', ), 3 => array ( 22 => 'assess', ), 4 => array ( 83 => 'assess3', ), 5 => array ( 9 => 'assess', ), ); print_r(array_unique($x, SORT_REGULAR));

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.0090.00616.63
8.3.50.0230.00822.05
8.3.40.0070.00718.59
8.3.30.0080.00619.09
8.3.20.0080.00020.34
8.3.10.0040.00721.80
8.3.00.0040.00417.34
8.2.180.0070.00725.92
8.2.170.0170.00318.54
8.2.160.0110.01122.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0040.00420.64
8.2.110.0070.00322.26
8.2.100.0090.00317.62
8.2.90.0030.00522.32
8.2.80.0040.00417.97
8.2.70.0060.00317.80
8.2.60.0060.00318.03
8.2.50.0000.01018.10
8.2.40.0040.00420.41
8.2.30.0050.00218.13
8.2.20.0030.00617.49
8.2.10.0040.00417.94
8.2.00.0000.00718.04
8.1.280.0120.00325.92
8.1.270.0040.00420.32
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00320.79
8.1.230.0110.00019.29
8.1.220.0000.00817.74
8.1.210.0080.00018.85
8.1.200.0040.00417.10
8.1.190.0050.00317.10
8.1.180.0050.00318.10
8.1.170.0040.00418.59
8.1.160.0030.00322.04
8.1.150.0030.00520.62
8.1.140.0040.00417.30
8.1.130.0030.00318.92
8.1.120.0040.00417.27
8.1.110.0020.00517.46
8.1.100.0050.00217.27
8.1.90.0040.00417.29
8.1.80.0000.00717.29
8.1.70.0000.00817.36
8.1.60.0080.00017.46
8.1.50.0050.00217.48
8.1.40.0050.00217.36
8.1.30.0060.00317.48
8.1.20.0020.00517.63
8.1.10.0040.00417.44
8.1.00.0050.00317.25
8.0.300.0060.00319.90
8.0.290.0000.00716.63
8.0.280.0000.00718.29
8.0.270.0000.00716.75
8.0.260.0030.00318.42
8.0.250.0030.00316.79
8.0.240.0040.00416.89
8.0.230.0050.00316.84
8.0.220.0000.00716.83
8.0.210.0000.00716.82
8.0.200.0000.00716.83
8.0.190.0000.00716.77
8.0.180.0040.00416.71
8.0.170.0030.00616.80
8.0.160.0000.00816.71
8.0.150.0000.00716.78
8.0.140.0000.00816.74
8.0.130.0060.00313.22
8.0.120.0030.00516.84
8.0.110.0070.00016.75
8.0.100.0050.00516.65
8.0.90.0040.00416.89
8.0.80.0060.01016.80
8.0.70.0040.00416.83
8.0.60.0040.00416.67
8.0.50.0040.00416.65
8.0.30.0100.00616.77
8.0.20.0120.00517.21
8.0.10.0090.00616.87
8.0.00.0110.00616.67
7.4.330.0050.00015.04
7.4.320.0040.00416.45
7.4.300.0030.00316.51
7.4.290.0040.00416.39
7.4.280.0070.00016.44
7.4.270.0070.00016.50
7.4.260.0030.00316.46
7.4.250.0070.00016.39
7.4.240.0040.00416.47
7.4.230.0060.00016.34
7.4.220.0070.01116.54
7.4.210.0050.00916.52
7.4.200.0000.00716.51
7.4.160.0050.01016.37
7.4.150.0100.00516.92
7.4.140.0090.00917.34
7.4.130.0100.00816.42
7.4.120.0060.01016.32
7.4.110.0130.00616.48
7.4.100.0110.00716.47
7.4.90.0050.01016.43
7.4.80.0120.00617.83
7.4.70.0060.01016.41
7.4.60.0080.00916.33
7.4.50.0090.00216.29
7.4.40.0090.00916.27
7.4.30.0090.00716.44
7.4.20.0070.01416.25
7.4.10.0070.00716.27
7.4.00.0110.00715.73
7.3.330.0050.00013.01
7.3.320.0000.00512.90
7.3.310.0030.00316.12
7.3.300.0030.00316.12
7.3.290.0000.00616.13
7.3.280.0040.01016.09
7.3.270.0070.00816.71
7.3.260.0100.00516.28
7.3.250.0080.00816.24
7.3.240.0120.00316.24
7.3.230.0100.00516.23
7.3.220.0040.00816.06
7.3.210.0110.00316.09
7.3.200.0110.00517.73
7.3.190.0020.01516.18
7.3.180.0050.01016.02
7.3.170.0090.00616.18
7.3.160.0100.00816.01
7.3.150.0040.01516.06
7.3.140.0140.00016.16
7.3.130.0100.00616.10
7.3.120.0130.00616.05
7.3.110.0070.00716.00
7.3.100.0080.00615.95
7.3.90.0070.01116.30
7.3.80.0040.00916.11
7.3.70.0100.00416.26
7.3.60.0080.00516.21
7.3.50.0040.01216.23
7.3.40.0000.01416.22
7.3.30.0130.00616.32
7.3.20.0290.00715.50
7.3.10.0240.00615.74
7.3.00.0220.00915.77
7.2.340.0180.00616.18
7.2.330.0100.01116.12
7.2.320.0120.01016.31
7.2.310.0160.01016.32
7.2.300.0180.00516.24
7.2.290.0130.01216.27
7.2.280.0190.00516.07
7.2.270.0190.00816.08
7.2.260.0210.00516.11
7.2.250.0160.00816.07
7.2.240.0150.01116.14
7.2.230.0190.00816.11
7.2.220.0150.01516.11
7.2.210.0150.01116.16
7.2.200.0260.00016.16
7.2.190.0150.01116.20
7.2.180.0170.00716.22
7.2.170.0160.00816.30
7.2.160.0160.00816.31
7.2.150.0340.00615.51
7.2.140.0380.00415.46
7.2.130.0250.00915.97
7.2.120.0380.00716.56
7.2.110.0270.00816.59
7.2.100.0270.00816.58
7.2.90.0250.01416.39
7.2.80.0270.00816.62
7.2.70.0240.01016.44
7.2.60.0210.01116.46
7.2.50.0240.00916.50
7.2.40.0370.01115.95
7.2.30.0210.00615.93
7.2.20.0240.00715.90
7.2.10.0240.00615.77
7.2.00.0150.01116.68
7.1.330.0610.00415.50
7.1.320.0220.00015.39
7.1.310.0130.00915.58
7.1.300.0120.01215.48
7.1.290.0160.00815.34
7.1.280.0170.00815.53
7.1.270.0160.00815.54
7.1.260.0190.00415.39
7.1.250.0350.00914.77
7.1.240.0330.00815.56
7.1.230.0320.01315.54
7.1.220.0280.00915.52
7.1.210.0410.00915.57
7.1.200.0250.00615.48
7.1.190.0390.00815.64
7.1.180.0370.00915.32
7.1.170.0390.00715.49
7.1.160.0330.01114.58
7.1.150.0360.00514.60
7.1.140.0300.00914.63
7.1.130.0410.00714.61
7.1.120.0530.00714.60
7.1.110.0310.00614.66
7.1.100.0210.01115.75
7.1.90.0500.00514.63
7.1.80.0560.00614.67
7.1.70.0290.00715.40
7.1.60.0340.00715.27
7.1.50.0280.00815.29
7.1.40.0260.00815.24
7.1.30.0260.01015.38
7.1.20.0330.00715.25
7.1.10.0280.00515.39
7.1.00.0240.01115.21
7.0.330.0490.00915.18
7.0.320.0320.00915.18
7.0.310.0380.00815.13
7.0.300.0340.00515.13
7.0.290.0410.01014.23
7.0.280.0330.00614.27
7.0.270.0510.01014.28
7.0.260.0390.00614.20
7.0.250.0270.01214.21
7.0.240.0390.01114.37
7.0.230.0500.00914.36
7.0.220.0300.00814.30
7.0.210.0330.00914.31
7.0.200.0280.00615.18
7.0.190.0260.00615.02
7.0.180.0220.00914.96
7.0.170.0280.00615.07
7.0.160.0260.01014.91
7.0.150.0240.00814.88
7.0.140.0240.00714.96
7.0.130.0250.01015.14
7.0.120.0260.00614.98
7.0.110.0220.01014.93
7.0.100.0260.00914.95
7.0.90.0360.00614.99
7.0.80.0270.00814.96
7.0.70.0220.00615.00
7.0.60.0220.00814.98
7.0.50.0220.00714.87
7.0.40.0240.00714.46
7.0.30.0200.00714.48
7.0.20.0240.00914.40
7.0.10.0280.00714.42
7.0.00.0190.01114.45
5.6.400.0160.01115.75
5.6.390.0200.00315.63
5.6.380.0150.01014.94
5.6.370.0170.01315.00
5.6.360.0170.01015.08
5.6.350.0200.00814.84
5.6.340.0170.01315.01
5.6.330.0190.00815.07
5.6.320.0150.00915.08
5.6.310.0140.00814.92
5.6.300.0150.01916.89
5.6.290.0100.02216.99
5.6.280.0220.02016.87
5.6.270.0120.02216.88
5.6.260.0140.02216.99
5.6.250.0160.02216.92
5.6.240.0160.01916.96
5.6.230.0130.02016.92
5.6.220.0140.01616.90
5.6.210.0120.02416.91
5.6.200.0130.02016.95
5.6.190.0210.02517.02
5.6.180.0150.01916.99
5.6.170.0100.03216.88
5.6.160.0170.01717.01
5.6.150.0130.01716.93
5.6.140.0140.02016.95
5.6.130.0120.02416.97
5.6.120.0160.01916.83
5.6.110.0130.02016.87
5.6.100.0050.02516.92
5.6.90.0100.02317.01
5.6.80.0090.01916.69
5.6.70.0100.01616.75
5.6.60.0080.02016.74
5.6.50.0100.01916.72
5.6.40.0110.01716.65
5.6.30.0100.02216.59
5.6.20.0140.02416.70
5.6.10.0080.02216.71
5.6.00.0110.02316.64
5.5.380.0140.01514.73
5.5.370.0070.02214.84
5.5.360.0080.02414.71
5.5.350.0110.01714.76
5.5.340.0070.02114.94
5.5.330.0090.02114.91
5.5.320.0120.01614.94
5.5.310.0120.01914.88
5.5.300.0070.02114.95
5.5.290.0060.02214.85
5.5.280.0130.01714.88
5.5.270.0090.02214.92
5.5.260.0120.02114.84
5.5.250.0070.02014.72
5.5.240.0080.01914.71
5.5.230.0110.01514.67
5.5.220.0090.01814.73
5.5.210.0060.02214.63
5.5.200.0110.01514.75
5.5.190.0130.02014.57
5.5.180.0070.01914.72
5.5.170.0130.00513.29
5.5.160.0140.01514.64
5.5.150.0140.01814.55
5.5.140.0080.02014.61
5.5.130.0120.01914.63
5.5.120.0110.02114.67
5.5.110.0100.01714.54
5.5.100.0120.01714.65
5.5.90.0140.01614.69
5.5.80.0070.02114.67
5.5.70.0080.01814.57
5.5.60.0080.02414.56
5.5.50.0120.01714.64
5.5.40.0080.02014.64
5.5.30.0080.02014.66
5.5.20.0100.01814.67
5.5.10.0110.02214.51
5.5.00.0110.02514.43
5.4.450.0110.02014.31
5.4.440.0110.01914.39
5.4.430.0080.01614.37
5.4.420.0120.01414.42
5.4.410.0110.01614.29
5.4.400.0100.01914.10
5.4.390.0110.01514.25
5.4.380.0040.02114.05
5.4.370.0090.01614.18
5.4.360.0130.01614.13
5.4.350.0060.01914.21
5.4.340.0130.01414.13
5.4.330.0100.00811.90
5.4.320.0130.01814.22
5.4.310.0100.01814.27
5.4.300.0080.01714.11
5.4.290.0110.01514.18
5.4.280.0070.01914.13
5.4.270.0160.01914.21
5.4.260.0070.01614.16
5.4.250.0120.01814.13
5.4.240.0080.02014.22
5.4.230.0120.01814.08
5.4.220.0110.01613.94
5.4.210.0100.02114.13
5.4.200.0140.01314.16
5.4.190.0080.01914.13
5.4.180.0120.01614.12
5.4.170.0100.01614.06
5.4.160.0080.01614.16
5.4.150.0130.01814.14
5.4.140.0120.01313.46
5.4.130.0050.02013.27
5.4.120.0140.01613.26
5.4.110.0100.01513.40
5.4.100.0050.01913.23
5.4.90.0100.02013.38
5.4.80.0070.01913.39
5.4.70.0070.02013.38
5.4.60.0080.01713.38
5.4.50.0060.02013.33
5.4.40.0130.02013.35
5.4.30.0070.01913.41
5.4.20.0070.01813.32
5.4.10.0100.01713.27
5.4.00.0090.01613.17

preferences:
53.95 ms | 401 KiB | 5 Q