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 json_encode($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.0060.01518.30
8.3.50.0220.00821.97
8.3.40.0140.00718.68
8.3.30.0100.01019.18
8.3.20.0100.01020.18
8.3.10.0080.00023.48
8.3.00.0090.00922.39
8.2.180.0150.00016.48
8.2.170.0090.01222.96
8.2.160.0090.01222.16
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0100.00726.16
8.2.120.0110.00017.75
8.2.110.0100.00022.25
8.2.100.0000.01117.72
8.2.90.0040.00419.08
8.2.80.0050.00517.97
8.2.70.0040.00717.63
8.2.60.0030.00617.93
8.2.50.0050.00318.07
8.2.40.0000.00718.22
8.2.30.0040.00417.92
8.2.20.0000.00717.52
8.2.10.0040.00417.77
8.2.00.0070.00017.65
8.1.280.0040.01425.92
8.1.270.0040.00423.87
8.1.260.0110.00726.35
8.1.250.0110.00428.09
8.1.240.0000.01023.76
8.1.230.0070.00419.10
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0090.00017.35
8.1.190.0080.00017.43
8.1.180.0060.00318.10
8.1.170.0030.00618.65
8.1.160.0000.00722.00
8.1.150.0070.00018.54
8.1.140.0050.00217.48
8.1.130.0030.00317.85
8.1.120.0030.00617.52
8.1.110.0000.00717.34
8.1.100.0030.00417.45
8.1.90.0030.00617.49
8.1.80.0040.00417.32
8.1.70.0030.00317.31
8.1.60.0000.00817.53
8.1.50.0080.00017.38
8.1.40.0020.00517.52
8.1.30.0050.00317.64
8.1.20.0060.00317.63
8.1.10.0030.00517.41
8.1.00.0060.00317.45
8.0.300.0050.00318.77
8.0.290.0000.00717.04
8.0.280.0000.00718.43
8.0.270.0040.00417.26
8.0.260.0030.00316.70
8.0.250.0000.00616.82
8.0.240.0060.00316.91
8.0.230.0000.00816.94
8.0.220.0040.00416.77
8.0.210.0030.00416.89
8.0.200.0030.00316.84
8.0.190.0070.00016.95
8.0.180.0000.00716.94
8.0.170.0000.00816.93
8.0.160.0000.00816.83
8.0.150.0030.00316.86
8.0.140.0040.00416.86
8.0.130.0000.00613.28
8.0.120.0030.00616.79
8.0.110.0000.00716.89
8.0.100.0040.00416.70
8.0.90.0070.00016.75
8.0.80.0030.01316.89
8.0.70.0000.00816.90
8.0.60.0040.00416.91
8.0.50.0040.00416.88
8.0.30.0100.01116.92
8.0.20.0060.01317.40
8.0.10.0000.00716.95
8.0.00.0150.00716.68
7.4.330.0060.00015.13
7.4.320.0030.00316.47
7.4.300.0000.00616.47
7.4.290.0040.00416.49
7.4.280.0030.00316.42
7.4.270.0070.00016.58
7.4.260.0070.00016.41
7.4.250.0000.00716.55
7.4.240.0020.00516.54
7.4.230.0070.00016.30
7.4.220.0060.01216.52
7.4.210.0070.00916.49
7.4.200.0000.00816.48
7.4.190.0050.00216.66
7.4.160.0030.01316.39
7.4.150.0080.00817.40
7.4.140.0130.00517.86
7.4.130.0040.01316.55
7.4.120.0100.00716.52
7.4.110.0040.01316.45
7.4.100.0220.00016.54
7.4.90.0130.00716.45
7.4.80.0110.01116.34
7.4.70.0070.01116.53
7.4.60.0070.01016.42
7.4.50.0080.00016.34
7.4.40.0040.01522.77
7.4.30.0110.00716.48
7.4.00.0040.00715.00
7.3.330.0020.00212.93
7.3.320.0000.00713.08
7.3.310.0030.00316.02
7.3.300.0070.00016.16
7.3.290.0060.00916.14
7.3.280.0090.00916.15
7.3.270.0150.00517.40
7.3.260.0070.01016.39
7.3.250.0050.01516.33
7.3.240.0110.00716.21
7.3.230.0090.00916.39
7.3.210.0090.01316.27
7.3.200.0040.01719.39
7.3.190.0090.01116.39
7.3.180.0040.01416.34
7.3.170.0060.00916.36
7.3.160.0120.00916.20
7.3.120.0040.01114.56
7.3.00.0160.00616.45
7.2.330.0180.00516.56
7.2.320.0030.01316.78
7.2.310.0120.00616.62
7.2.300.0030.01416.70
7.2.290.0070.01116.68
7.2.130.0060.01016.62
7.2.120.0000.01616.81
7.2.110.0030.00616.89
7.2.100.0150.00316.98
7.2.90.0030.01417.07
7.2.80.0050.00516.71
7.2.70.0060.00816.86
7.2.60.0110.00417.00
7.2.50.0060.00616.95
7.2.40.0030.01016.57
7.2.30.0040.01216.88
7.2.20.0080.00416.80
7.2.10.0060.00616.89
7.2.00.0120.00316.64
7.1.250.0070.00315.64
7.1.240.0130.00315.60
7.1.230.0040.01115.38
7.1.220.0050.00315.55
7.1.210.0060.00615.64
7.1.200.0090.00415.71
7.1.190.0100.00615.90
7.1.180.0060.00315.60
7.1.170.0090.00315.80
7.1.160.0000.00815.70
7.1.150.0030.00615.59
7.1.140.0030.00715.55
7.1.130.0000.01215.58
7.1.120.0030.01015.84
7.1.110.0100.00715.88
7.1.100.0060.00817.04
7.1.90.0030.00615.58
7.1.80.0060.00615.86
7.1.70.0060.00516.45
7.1.60.0120.00717.48
7.1.50.0110.00516.42
7.1.40.0050.00315.93
7.1.30.0040.00415.63
7.1.20.0080.00015.77
7.1.10.0060.00615.73
7.1.00.0060.04019.04
7.0.330.0030.00715.46
7.0.320.0030.00615.10
7.0.310.0030.00615.07
7.0.300.0030.00715.04
7.0.290.0040.00415.33
7.0.280.0060.00315.15
7.0.270.0060.00615.23
7.0.260.0050.00515.33
7.0.250.0060.00315.18
7.0.240.0030.01015.45
7.0.230.0030.01015.41
7.0.220.0090.00015.38
7.0.210.0060.00615.43
7.0.200.0050.01016.16
7.0.190.0040.00715.23
7.0.180.0060.00615.27
7.0.170.0040.01115.46
7.0.160.0060.00615.62
7.0.150.0030.00715.31
7.0.140.0030.04118.84
7.0.130.0070.00415.45
7.0.120.0040.00715.39
7.0.110.0060.00315.58
7.0.100.0040.00815.42
7.0.90.0020.02717.65
7.0.80.0260.02317.70
7.0.70.0030.02717.50
7.0.60.0050.03817.70
7.0.50.0250.03917.89
7.0.40.0020.03216.83
7.0.30.0080.02816.80
7.0.20.0020.02616.82
7.0.10.0080.03216.80
7.0.00.0040.04916.80
5.6.380.0100.00314.48
5.6.370.0030.01014.58
5.6.360.0100.00014.50
5.6.350.0030.00814.31
5.6.340.0000.00914.20
5.6.330.0030.01013.96
5.6.320.0070.00714.43
5.6.310.0030.00914.04
5.6.300.0000.01413.93
5.6.290.0000.01114.21
5.6.280.0050.03817.61
5.6.270.0060.00614.31
5.6.260.0080.00414.11
5.6.250.0030.01314.29
5.6.240.0040.01114.23
5.6.230.0050.03317.39
5.6.220.0070.03317.37
5.6.210.0020.04917.55
5.6.200.0110.04017.64
5.6.190.0080.04017.57
5.6.180.0100.04017.71
5.6.170.0050.04317.55
5.6.160.0070.03317.64
5.6.150.0080.02617.63
5.6.140.0050.04517.79
5.6.130.0120.02817.73
5.6.120.0130.03617.82
5.6.110.0060.03517.59
5.6.100.0090.02217.50
5.6.90.0030.05317.66
5.6.80.0100.04217.24
5.6.70.0100.02517.32
5.6.60.0120.03717.38
5.6.50.0130.02017.19
5.6.40.0120.03717.32
5.6.30.0120.03917.27
5.6.20.0110.02017.24
5.6.10.0120.01817.09
5.6.00.0120.04017.32
5.5.380.0000.00913.29
5.5.370.0070.03516.91
5.5.360.0070.04116.81
5.5.350.0050.02716.87
5.5.340.0030.02617.08
5.5.330.0050.04417.01
5.5.320.0030.02717.10
5.5.310.0110.03217.08
5.5.300.0030.04217.05
5.5.290.0020.04017.01
5.5.280.0020.04217.10
5.5.270.0080.02517.09
5.5.260.0080.03817.05
5.5.250.0020.02717.00
5.5.240.0090.03816.69
5.5.230.0090.03516.73
5.5.220.0030.04816.63
5.5.210.0040.03916.71
5.5.200.0030.04316.75
5.5.190.0050.04416.76
5.5.180.0130.03316.69
5.5.170.0080.00413.29
5.5.160.0030.04516.78
5.5.150.0020.03216.77
5.5.140.0070.04016.77
5.5.130.0080.02716.64
5.5.120.0050.02516.68
5.5.110.0080.02216.75
5.5.100.0060.02016.72
5.5.90.0050.02316.70
5.5.80.0080.02016.72
5.5.70.0060.02316.70
5.5.60.0130.02016.61
5.5.50.0070.02916.68
5.5.40.0050.03516.69
5.5.30.0090.01716.67
5.5.20.0030.02316.66
5.5.10.0030.04116.71
5.5.00.0080.02016.66
5.4.450.0070.04316.26
5.4.440.0050.04416.28
5.4.430.0020.02516.42
5.4.420.0090.02216.26
5.4.410.0040.02416.36
5.4.400.0050.04016.13
5.4.390.0130.03716.16
5.4.380.0100.03516.19
5.4.370.0110.02516.13
5.4.360.0060.03116.20
5.4.350.0110.03716.13
5.4.340.0040.03416.19
5.4.330.0040.00213.29
5.4.320.0020.03816.17
5.4.310.0030.02516.13
5.4.300.0050.02616.20
5.4.290.0030.02616.19
5.4.280.0080.03316.19
5.4.270.0030.02316.17
5.4.260.0060.02016.16
5.4.250.0030.02316.03
5.4.240.0040.02316.20
5.4.230.0090.02116.21
5.4.220.0030.02316.16
5.4.210.0000.02316.15
5.4.200.0030.03616.03
5.4.190.0070.02016.20
5.4.180.0070.02016.11
5.4.170.0050.02716.17
5.4.160.0070.03216.15
5.4.150.0070.02216.11
5.4.140.0060.02114.66
5.4.130.0050.02014.76
5.4.120.0090.01514.78
5.4.110.0080.03714.76
5.4.100.0080.01314.75
5.4.90.0000.02214.83
5.4.80.0190.01714.74
5.4.70.0080.02314.80
5.4.60.0070.01714.74
5.4.50.0060.01714.74
5.4.40.0080.02014.84
5.4.30.0020.02414.85
5.4.20.0050.02114.83
5.4.10.0030.01814.84
5.4.00.0060.02014.54
5.3.290.0120.03813.97
5.3.280.0090.02013.92
5.3.270.0100.01813.93
5.3.260.0160.01913.95
5.3.250.0020.03613.86
5.3.240.0030.03913.93
5.3.230.0090.01613.94
5.3.220.0050.01913.86
5.3.210.0110.01813.89
5.3.200.0080.02013.90
5.3.190.0100.02113.92
5.3.180.0120.02013.83
5.3.170.0170.03213.92
5.3.160.0130.01813.92
5.3.150.0080.02213.92
5.3.140.0130.02113.85
5.3.130.0110.02213.91
5.3.120.0110.01613.90
5.3.110.0070.01713.92
5.3.100.0080.02013.59
5.3.90.0030.02013.61
5.3.80.0000.02513.58
5.3.70.0010.02013.65
5.3.60.0000.02013.62
5.3.50.0070.02013.57
5.3.40.0010.02113.54
5.3.30.0020.02213.60
5.3.20.0030.01813.49
5.3.10.0060.01513.47
5.3.00.0020.01913.44
5.2.170.0000.02312.21
5.2.160.0000.02012.23
5.2.150.0060.01212.12
5.2.140.0030.01712.12
5.2.130.0040.01712.12
5.2.120.0020.02012.21
5.2.110.0030.01712.17
5.2.100.0030.01412.21
5.2.90.0020.01612.23
5.2.80.0060.01512.21
5.2.70.0000.02212.19
5.2.60.0020.01712.14
5.2.50.0030.01812.15
5.2.40.0060.01312.10
5.2.30.0020.01812.12
5.2.20.0020.02312.14
5.2.10.0000.03812.02
5.2.00.0040.03412.04
5.1.60.0080.02011.63
5.1.50.0050.02411.65
5.1.40.0000.02911.62
5.1.30.0050.02611.85
5.1.20.0030.01811.82
5.1.10.0020.02011.67
5.1.00.0030.02911.67
5.0.50.0050.02010.83
5.0.40.0010.02010.86
5.0.30.0030.02610.76
5.0.20.0030.01610.73
5.0.10.0030.01510.76
5.0.00.0050.02510.78
4.4.90.0020.00810.22
4.4.80.0020.00910.22
4.4.70.0010.00910.22
4.4.60.0020.00810.22
4.4.50.0040.01710.22
4.4.40.0020.02710.22
4.4.30.0000.02410.22
4.4.20.0000.01310.22
4.4.10.0040.01510.22
4.4.00.0000.03210.22
4.3.110.0040.01210.22
4.3.100.0020.00810.22
4.3.90.0000.01510.22
4.3.80.0000.02710.22
4.3.70.0030.01510.22
4.3.60.0000.01710.22
4.3.50.0000.02410.22
4.3.40.0020.02810.22
4.3.30.0040.01310.22
4.3.20.0000.01510.22
4.3.10.0000.02310.22
4.3.00.0040.01010.22

preferences:
37.16 ms | 401 KiB | 5 Q