3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr=json_decode('{"account":"user12","date":"2012-10-01 12:32:00","paymentType":"mc","projectId":"519","sum":"10.00","sign":"9bdf52a4830779a1383ac24f1b3ed054","unitpayId":"1234567","profit":"10.00"}'); $arr = array($arr); ksort($arr); echo $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.60.0100.00316.63
8.3.50.0100.01021.88
8.3.40.0100.00718.68
8.3.30.0100.00318.96
8.3.20.0080.00019.98
8.3.10.0040.00423.65
8.3.00.0060.00319.38
8.2.180.0090.00618.11
8.2.170.0100.00722.96
8.2.160.0140.00320.10
8.2.150.0050.00224.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00422.11
8.2.110.0170.00319.32
8.2.100.0040.00817.66
8.2.90.0090.00019.17
8.2.80.0030.00617.97
8.2.70.0060.00317.50
8.2.60.0040.00417.93
8.2.50.0030.00718.07
8.2.40.0000.00817.99
8.2.30.0040.00418.11
8.2.20.0070.00317.68
8.2.10.0000.00717.99
8.2.00.0000.00817.64
8.1.280.0070.01325.92
8.1.270.0080.00022.14
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.24
8.1.230.0090.00320.73
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.25
8.1.190.0000.00817.53
8.1.180.0090.00018.10
8.1.170.0050.00318.64
8.1.160.0040.00422.01
8.1.150.0020.00518.63
8.1.140.0000.00717.49
8.1.130.0030.00317.82
8.1.120.0000.00717.34
8.1.110.0040.00417.29
8.1.100.0050.00317.41
8.1.90.0030.00417.39
8.1.80.0030.00317.41
8.1.70.0070.00017.40
8.1.60.0000.00817.50
8.1.50.0030.00617.51
8.1.40.0020.00517.46
8.1.30.0040.00417.60
8.1.20.0040.00417.63
8.1.10.0080.00017.46
8.1.00.0040.00417.45
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0000.00718.42
8.0.270.0030.00317.24
8.0.260.0000.00816.87
8.0.250.0030.00317.02
8.0.240.0000.00717.00
8.0.230.0030.00317.04
8.0.220.0000.00716.87
8.0.210.0000.00816.94
8.0.200.0040.00416.89
8.0.190.0050.00617.01
8.0.180.0040.00417.01
8.0.170.0000.00816.98
8.0.160.0000.00716.99
8.0.150.0000.00717.01
8.0.140.0000.00716.78
8.0.130.0000.00613.43
8.0.120.0000.00716.95
8.0.110.0050.00316.85
8.0.100.0030.00516.73
8.0.90.0000.00716.76
8.0.80.0080.00816.93
8.0.70.0040.00416.80
8.0.60.0000.00816.91
8.0.50.0040.00416.77
8.0.30.0090.01017.10
8.0.20.0130.00617.40
8.0.10.0020.00516.91
8.0.00.0090.01116.61
7.4.330.0020.00215.07
7.4.320.0030.00316.48
7.4.300.0030.00616.51
7.4.290.0030.00316.57
7.4.280.0070.00016.43
7.4.270.0000.00716.42
7.4.260.0030.00316.52
7.4.250.0070.00016.54
7.4.240.0030.00516.55
7.4.230.0070.00016.59
7.4.220.0030.01316.63
7.4.210.0120.00316.53
7.4.200.0000.00716.66
7.4.190.0030.00316.66
7.4.160.0080.00816.72
7.4.150.0100.01017.40
7.4.140.0090.00917.86
7.4.130.0090.01016.44
7.4.120.0090.00816.56
7.4.110.0060.01616.55
7.4.100.0170.00716.53
7.4.90.0040.01416.51
7.4.80.0130.00419.39
7.4.70.0060.01216.50
7.4.60.0110.00916.62
7.4.50.0040.00416.36
7.4.40.0060.00922.77
7.4.30.0130.00716.65
7.4.00.0000.01514.82
7.3.330.0050.00012.95
7.3.320.0050.00013.10
7.3.310.0000.00716.33
7.3.300.0000.00616.09
7.3.290.0110.00416.28
7.3.280.0150.00316.28
7.3.270.0160.00317.40
7.3.260.0070.01016.23
7.3.250.0040.01416.31
7.3.240.0070.01116.21
7.3.230.0050.01416.41
7.3.210.0100.00716.50
7.3.200.0110.01019.39
7.3.190.0040.01416.50
7.3.180.0120.00416.51
7.3.170.0120.00416.34
7.3.160.0070.00916.38
7.3.120.0030.01014.98
7.3.10.0060.00716.61
7.3.00.0030.01016.52
7.2.330.0110.00616.37
7.2.320.0070.01016.70
7.2.310.0040.01216.61
7.2.300.0110.01116.74
7.2.290.0100.00716.70
7.2.130.0050.01116.58
7.2.120.0090.00516.77
7.2.110.0090.00616.86
7.2.100.0020.00816.86
7.2.90.0040.00916.77
7.2.80.0030.00716.97
7.2.70.0070.00616.81
7.2.60.0050.00716.84
7.2.50.0060.00616.61
7.2.40.0020.01016.83
7.2.30.0080.00516.98
7.2.20.0040.00916.79
7.2.10.0080.00516.84
7.2.00.0050.00817.67
7.1.250.0100.00515.74
7.1.100.0000.01018.17
7.1.70.0050.00517.30
7.1.60.0090.01519.33
7.1.50.0060.00616.93
7.1.00.0000.08022.32
7.0.200.0050.00316.81
7.0.140.0030.07322.00
7.0.60.0300.06719.92
7.0.50.0030.04717.80
7.0.40.0200.06320.08
7.0.30.0300.07720.01
7.0.20.0100.06020.33
7.0.10.0100.08320.21
7.0.00.0000.05020.19
5.6.280.0070.06721.02
5.6.210.0170.07020.75
5.6.200.0030.04318.12
5.6.190.0070.08720.45
5.6.180.0300.07020.37
5.6.170.0100.04720.33
5.6.160.0100.03720.38
5.6.150.0000.06318.20
5.6.140.0030.09018.11
5.6.130.0070.08018.11
5.6.120.0030.09020.96
5.6.110.0000.04320.98
5.6.100.0130.07721.13
5.6.90.0000.09720.94
5.6.80.0100.07720.48
5.6.70.3470.03020.49
5.5.350.0000.06320.39
5.5.340.0000.04717.93
5.5.330.0070.04020.40
5.5.320.0270.04020.34
5.5.310.0430.07020.29
5.5.300.0170.07017.88
5.5.290.0070.08317.96
5.5.280.0070.06720.86
5.5.270.0070.08320.71
5.5.260.0100.06720.93
5.5.250.0170.07020.61
5.5.240.0000.04020.06
5.4.450.0700.03719.21
5.4.440.0930.06019.41
5.4.430.0830.05719.25
5.4.420.0130.05019.43
5.4.410.0870.05319.28
5.4.400.0970.06019.32
5.4.390.0770.05318.84
5.4.380.0330.05318.78
5.4.370.0230.05718.70
5.4.360.0230.05318.64
5.4.350.0200.06318.46
5.4.340.0200.05718.53
5.4.320.0080.03412.45
5.4.310.0070.04812.45
5.4.300.0070.03812.45
5.4.290.0060.03812.45
5.4.280.0040.04312.35
5.4.270.0070.03612.35
5.4.260.0070.03712.35
5.4.250.0040.03912.35
5.4.240.0090.03712.35
5.4.230.0040.04312.34
5.4.220.0050.04212.34
5.4.210.0070.04012.34
5.4.200.0080.04012.34
5.4.190.0100.05212.34
5.4.180.0160.04312.34
5.4.170.0210.03912.35
5.4.160.0180.04312.34
5.4.150.0150.04712.34
5.4.140.0180.07212.02
5.4.130.0140.04612.01
5.4.120.0110.04711.96
5.4.110.0170.04111.96
5.4.100.0180.04211.96
5.4.90.0160.04511.96
5.4.80.0300.05911.96
5.4.70.0180.04211.96
5.4.60.0180.04011.96
5.4.50.0340.08511.96
5.4.40.0110.04611.95
5.4.30.0170.04511.95
5.4.20.0120.04711.95
5.4.10.0170.04211.95
5.4.00.0170.04211.44
5.3.290.0100.03812.80
5.3.280.0040.03912.71
5.3.270.0200.04412.72
5.3.260.0190.04412.72
5.3.250.0190.04312.72
5.3.240.0160.04512.72
5.3.230.0190.04612.71
5.3.220.0190.04112.68
5.3.210.0150.04512.68
5.3.200.0170.04412.68
5.3.190.0140.04812.68
5.3.180.0170.04312.68
5.3.170.0210.04012.66
5.3.160.0350.05512.67
5.3.150.0110.04912.67
5.3.140.0150.04412.66
5.3.130.0140.04612.66
5.3.120.0170.04412.66
5.3.110.0310.05912.66
5.3.100.0170.04312.11
5.3.90.0110.04712.09
5.3.80.0160.04412.08
5.3.70.0140.04712.08
5.3.60.0210.04012.07
5.3.50.0150.04412.00
5.3.40.0260.09412.00
5.3.30.0220.03511.96
5.3.20.0120.04611.73
5.3.10.0160.03911.70
5.3.00.0160.04011.68
5.2.170.0090.0389.18
5.2.160.0240.0529.18
5.2.150.0130.0359.18
5.2.140.0110.0389.18
5.2.130.0130.0359.14
5.2.120.0140.0349.14
5.2.110.0120.0389.15
5.2.100.0260.0859.14
5.2.90.0120.0369.14
5.2.80.0150.0349.13
5.2.70.0140.0379.13
5.2.60.0130.0359.09
5.2.50.0120.0359.05
5.2.40.0250.0549.04
5.2.30.0130.0359.00
5.2.20.0170.0309.00
5.2.10.0180.0288.92
5.2.00.0170.0338.78
5.1.60.0140.0268.06
5.1.50.0120.0288.06
5.1.40.0260.0468.05
5.1.30.0090.0348.39
5.1.20.0090.0338.42
5.1.10.0090.0348.14
5.1.00.0150.0278.14
5.0.50.0110.0256.63
5.0.40.0080.0246.47
5.0.30.0060.0396.29
5.0.20.0100.0226.27
5.0.10.0100.0216.24
5.0.00.0060.0386.23
4.4.90.0070.0194.78
4.4.80.0080.0174.76
4.4.70.0070.0194.76
4.4.60.0060.0194.76
4.4.50.0090.0164.77
4.4.40.0110.0554.71
4.4.30.0060.0194.76
4.4.20.0070.0184.85
4.4.10.0080.0174.85
4.4.00.0070.0284.76
4.3.110.0070.0184.67
4.3.100.0090.0154.67
4.3.90.0080.0164.64
4.3.80.0070.0284.58
4.3.70.0080.0164.63
4.3.60.0160.0384.62
4.3.50.0080.0164.63
4.3.40.0050.0284.54
4.3.30.0050.0183.28
4.3.20.0030.0203.27
4.3.10.0060.0163.23
4.3.00.0300.02315.59

preferences:
44.97 ms | 401 KiB | 5 Q