3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = Array ( 0 => Array ( 'CSTNOC' => 1976, 'TOTALQTY' => 2 ), 1 => Array ( 'CSTNOC' => 5400, 'TOTALQTY' => 1 ), 2 => Array ( 'CSTNOC' => 5400, 'TOTALQTY' => 2 ) ); print_r($arr);

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.70.0030.01716.58
8.3.60.0110.01118.43
8.3.50.0110.00418.25
8.3.40.0100.00718.58
8.3.30.0000.01818.43
8.3.20.0080.00021.60
8.3.10.0080.00021.79
8.3.00.0000.00817.66
8.2.180.0070.01125.92
8.2.170.0140.00718.82
8.2.160.0090.00622.96
8.2.150.0000.00825.66
8.2.140.0080.00024.66
8.2.130.0070.00319.27
8.2.120.0060.00326.35
8.2.110.0060.00320.32
8.2.100.0040.00817.91
8.2.90.0060.00317.63
8.2.80.0000.00818.61
8.2.70.0060.00317.63
8.2.60.0050.00317.38
8.2.50.0040.00417.55
8.2.40.0030.00517.62
8.2.30.0000.00719.24
8.2.20.0000.00817.96
8.2.10.0050.00218.08
8.2.00.0070.00017.86
8.1.280.0110.00725.92
8.1.270.0040.00423.67
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00319.34
8.1.230.0080.00417.77
8.1.220.0040.00418.41
8.1.210.0040.00418.77
8.1.200.0030.00617.12
8.1.190.0000.01117.10
8.1.180.0000.00818.10
8.1.170.0000.00817.62
8.1.160.0040.00418.72
8.1.150.0000.00718.98
8.1.140.0030.00417.53
8.1.130.0000.00718.92
8.1.120.0070.00017.34
8.1.110.0040.00417.39
8.1.100.0040.00417.44
8.1.90.0030.00517.38
8.1.80.0070.00017.39
8.1.70.0040.00417.41
8.1.60.0030.00517.48
8.1.50.0040.00417.45
8.1.40.0050.00317.30
8.1.30.0030.00917.47
8.1.20.0030.00717.63
8.1.10.0000.00917.42
8.1.00.0040.00417.33
8.0.300.0000.00718.77
8.0.290.0080.00316.58
8.0.280.0040.00418.39
8.0.270.0000.00717.22
8.0.260.0030.00317.21
8.0.250.0030.00316.75
8.0.240.0040.00416.86
8.0.230.0030.00316.82
8.0.220.0100.00016.80
8.0.210.0030.00316.84
8.0.200.0030.00316.89
8.0.190.0040.00716.87
8.0.180.0000.00816.79
8.0.170.0060.00616.79
8.0.160.0080.00016.75
8.0.150.0030.00316.75
8.0.140.0030.00316.68
8.0.130.0000.00513.25
8.0.120.0000.00816.80
8.0.110.0000.00716.83
8.0.100.0040.00416.59
8.0.90.0040.00416.68
8.0.80.0070.00716.77
8.0.70.0000.00716.88
8.0.60.0050.00216.59
8.0.50.0030.00616.68
8.0.30.0100.00817.01
8.0.20.0090.01017.40
8.0.10.0050.00216.98
8.0.00.0100.00816.80
7.4.330.0020.00215.55
7.4.320.0020.00516.38
7.4.300.0060.00016.49
7.4.290.0000.00716.52
7.4.280.0060.00316.54
7.4.270.0080.00016.40
7.4.260.0000.00716.46
7.4.250.0050.00316.48
7.4.240.0040.00416.41
7.4.230.0070.00016.62
7.4.220.0040.00316.63
7.4.210.0070.00916.52
7.4.200.0030.00316.41
7.4.160.0120.00716.49
7.4.140.0140.00817.86
7.4.130.0120.01216.61
7.4.120.0080.01016.38
7.4.110.0060.01516.55
7.4.100.0060.01516.38
7.4.90.0030.01416.41
7.4.80.0080.01419.39
7.4.70.0140.00316.36
7.4.60.0060.00916.40
7.4.50.0030.01316.21
7.4.40.0120.00616.22
7.4.10.0070.01316.37
7.4.00.0100.00615.26
7.3.330.0030.00313.04
7.3.320.0030.00313.03
7.3.310.0030.00316.12
7.3.300.0000.00716.11
7.3.290.0060.00016.16
7.3.280.0060.01116.13
7.3.260.0070.01016.19
7.3.240.0090.01016.20
7.3.230.0100.01016.33
7.3.210.0090.00916.23
7.3.200.0060.01016.10
7.3.190.0030.01416.52
7.3.180.0110.00516.12
7.3.170.0030.01316.25
7.3.160.0080.00816.23
7.3.130.0030.01416.50
7.3.120.0120.00515.39
7.3.110.0060.00915.43
7.3.100.0040.00715.40
7.3.90.0080.00615.36
7.3.80.0070.00915.41
7.3.70.0060.00915.46
7.3.60.0050.00815.33
7.3.50.0080.00615.43
7.3.40.0030.00915.35
7.3.30.0040.00815.49
7.3.20.0070.00517.21
7.3.10.0020.01317.17
7.3.00.0050.00717.25
7.2.330.0060.01516.21
7.2.320.0000.01616.17
7.2.310.0090.01016.43
7.2.300.0060.01116.43
7.2.290.0080.00816.38
7.2.260.0030.01316.05
7.2.250.0090.01115.34
7.2.240.0050.01215.40
7.2.230.0110.00315.52
7.2.220.0070.00615.63
7.2.210.0050.00715.60
7.2.200.0040.01215.40
7.2.190.0060.01115.51
7.2.180.0050.01115.53
7.2.170.0080.00515.52
7.2.160.0030.01016.19
7.2.150.0000.01118.16
7.2.140.0000.01418.12
7.2.130.0030.01018.16
7.2.120.0070.01018.18
7.2.110.0000.01518.28
7.2.100.0030.01518.25
7.2.90.0040.00818.18
7.2.80.0030.00717.28
7.2.70.0110.01118.03
7.2.60.0070.00817.63
7.2.50.0050.00817.56
7.2.40.0310.01217.84
7.2.30.0430.01218.11
7.2.20.0450.01418.06
7.2.10.0270.01118.00
7.2.00.0330.01718.08
7.1.330.0030.01016.38
7.1.320.0040.00816.36
7.1.310.0030.01116.46
7.1.300.0070.00316.34
7.1.290.0070.00516.41
7.1.280.0020.01016.29
7.1.270.0020.01116.45
7.1.260.0080.00716.15
7.1.250.0000.01017.34
7.1.240.0130.00317.13
7.1.230.0110.00717.30
7.1.220.0090.00917.29
7.1.210.0070.00717.30
7.1.200.0070.00516.41
7.1.190.0130.00317.23
7.1.180.0070.01117.14
7.1.170.0060.01117.29
7.1.160.0400.01317.02
7.1.150.0460.01417.01
7.1.140.0390.00716.92
7.1.130.0290.01016.99
7.1.120.0280.00916.98
7.1.110.0270.00916.68
7.1.100.0270.00916.71
7.1.90.0430.00716.78
7.1.80.0260.01016.71
7.1.70.0240.01016.26
7.1.60.0370.01025.03
7.1.50.0480.01225.11
7.1.40.0540.01124.94
7.1.30.0690.01224.84
7.1.20.0800.01124.85
7.1.10.0510.00915.99
7.1.00.0400.00816.11
7.0.330.0060.00316.98
7.0.320.0030.01016.80
7.0.310.0040.00716.97
7.0.300.0000.01017.03
7.0.290.0060.01016.95
7.0.280.0090.00917.10
7.0.270.0080.01516.88
7.0.260.0100.01016.85
7.0.250.0060.01016.90
7.0.240.0070.00716.96
7.0.230.0110.00716.82
7.0.220.0040.01116.81
7.0.210.0040.00816.96
7.0.200.0070.00716.69
7.0.190.0110.00316.93
7.0.180.0030.00916.99
7.0.170.0130.00316.85
7.0.160.0030.00916.89
7.0.150.0000.00917.07
7.0.140.0110.00316.88
7.0.130.0030.01417.08
7.0.120.0090.00616.83
7.0.110.0160.00316.83
7.0.100.0070.00717.07
7.0.90.0060.00917.00
7.0.80.0070.00717.02
7.0.70.0070.01016.81
7.0.60.0060.00616.95
7.0.50.0000.01916.89
7.0.40.0040.01114.98
7.0.30.0060.00614.98
7.0.20.0080.00414.89
7.0.10.0000.02014.83
7.0.00.0100.00314.92
5.6.400.0060.00915.60
5.6.390.0000.01115.77
5.6.380.0070.01015.79
5.6.370.0040.01215.87
5.6.360.0140.00315.71
5.6.350.0140.00415.71
5.6.340.0070.01415.87
5.6.330.0100.00615.85
5.6.320.0100.01015.83
5.6.310.0070.00715.79
5.6.300.0070.00315.75
5.6.290.0070.01015.82
5.6.280.0060.01315.49
5.6.270.0100.01016.04
5.6.260.0090.00915.52
5.6.250.0030.01316.11
5.6.240.0040.01115.62
5.6.230.0060.01315.75
5.6.220.0150.00015.61
5.6.210.0120.00615.64
5.6.200.0030.01415.71
5.6.190.0070.00715.73
5.6.180.0030.01015.59
5.6.170.0110.00715.88
5.6.160.0060.00915.71
5.6.150.0060.01315.81
5.6.140.0040.01115.63
5.6.130.0100.01015.64
5.6.120.0120.00615.70
5.6.110.0120.00615.82
5.6.100.0070.01115.59
5.6.90.0030.01215.68
5.6.80.0030.00815.58
5.6.70.0060.01015.72
5.6.60.0000.01515.62
5.6.50.0070.01115.36
5.6.40.0070.00715.71
5.6.30.0070.00315.62
5.6.20.0090.00615.73
5.6.10.0000.01515.68
5.6.00.0100.00615.48

preferences:
55.1 ms | 401 KiB | 5 Q