3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(function_exists('json_last_error_msg')) { $json = '{ "bookindId":"30779265", "timestamp":"1428447744", "plate":"D-GO9872", "cityId":"RLD", "zoneId":"759", "highDemandZones":[ "402", "429", "714", "715", "721", "728", "732", "734", "742", "756", "758", "763" ], "accountId":"151426", "date":"20150408", "formattedDate":"08.04.2015, 01:02 Uhr" }'; print_r(json_decode($json), true); // Decode as array echo 'Error: '.json_last_error_msg(); }

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.01518.65
8.3.30.0120.00418.81
8.3.20.0080.00020.03
8.3.10.0040.00421.90
8.3.00.0080.00018.99
8.2.170.0000.01422.96
8.2.160.0060.00622.08
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.68
8.2.110.0000.00820.27
8.2.100.0080.00317.97
8.2.90.0000.00819.01
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0040.00417.93
8.2.50.0060.00618.07
8.2.40.0050.00317.97
8.2.30.0040.00419.42
8.2.20.0000.00717.66
8.2.10.0000.00817.93
8.2.00.0040.00417.55
8.1.270.0050.00319.01
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0060.00323.98
8.1.230.0110.00018.95
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0050.00717.25
8.1.190.0000.00917.23
8.1.180.0040.00418.10
8.1.170.0030.00618.65
8.1.160.0040.00421.93
8.1.150.0070.00018.83
8.1.140.0000.00719.29
8.1.130.0030.00317.82
8.1.120.0070.00017.29
8.1.110.0040.00417.42
8.1.100.0040.00417.44
8.1.90.0000.00717.32
8.1.80.0000.00717.33
8.1.70.0030.00317.27
8.1.60.0040.00417.41
8.1.50.0080.00017.36
8.1.40.0060.00317.44
8.1.30.0000.00817.57
8.1.20.0000.00717.42
8.1.10.0040.00417.39
8.1.00.0000.00817.30
8.0.300.0000.00718.77
8.0.290.0000.00716.58
8.0.280.0030.00318.45
8.0.270.0050.00217.19
8.0.260.0000.00617.25
8.0.250.0000.00616.96
8.0.240.0060.00016.97
8.0.230.0000.00716.91
8.0.220.0030.00316.89
8.0.210.0020.00516.80
8.0.200.0000.00616.82
8.0.190.0000.00816.91
8.0.180.0030.00516.91
8.0.170.0040.00416.96
8.0.160.0030.00416.91
8.0.150.0050.00216.87
8.0.140.0040.00416.90
8.0.130.0030.00313.25
8.0.120.0040.00416.87
8.0.110.0040.00416.90
8.0.100.0060.00316.68
8.0.90.0000.00816.70
8.0.80.0040.01116.79
8.0.70.0040.00416.79
8.0.60.0040.00416.64
8.0.50.0040.00416.70
8.0.30.0140.00817.03
8.0.20.0120.00817.40
8.0.10.0040.00416.98
8.0.00.0140.00516.72
7.4.330.0000.00515.03
7.4.320.0030.00316.49
7.4.300.0000.00716.56
7.4.290.0040.00416.55
7.4.280.0030.00916.32
7.4.270.0040.00416.46
7.4.260.0000.00716.49
7.4.250.0070.00016.50
7.4.240.0010.00616.35
7.4.230.0000.00816.52
7.4.220.0100.01016.30
7.4.210.0030.01516.50
7.4.200.0000.00816.24
7.4.160.0120.00316.34
7.4.150.0110.01417.40
7.4.140.0120.01017.86
7.4.130.0120.00716.56
7.4.120.0090.00816.55
7.4.110.0060.01116.36
7.4.100.0040.01416.36
7.4.90.0120.00616.36
7.4.80.0090.01219.39
7.4.70.0100.00616.55
7.4.60.0000.01516.23
7.4.50.0000.00816.25
7.4.40.0090.01216.56
7.4.30.0100.00716.50
7.4.10.0060.01314.69
7.4.00.0050.01115.09
7.3.330.0050.00013.04
7.3.320.0030.00313.05
7.3.310.0030.00316.07
7.3.300.0030.00316.27
7.3.290.0050.01116.20
7.3.280.0070.00816.20
7.3.270.0170.00717.40
7.3.260.0070.01616.48
7.3.250.0090.00916.28
7.3.240.0110.00616.39
7.3.230.0030.01316.39
7.3.210.0040.01816.29
7.3.200.0100.00719.39
7.3.190.0130.00316.23
7.3.180.0100.00616.38
7.3.170.0030.01316.39
7.3.160.0030.01316.09
7.3.130.0080.01215.03
7.3.120.0070.01014.63
7.3.110.0090.00814.71
7.3.100.0060.00914.70
7.3.90.0080.00914.78
7.3.80.0060.00914.54
7.3.70.0040.00914.87
7.3.60.0070.00914.62
7.3.50.0070.00714.68
7.3.40.0080.00514.54
7.3.30.0060.01014.63
7.3.20.0070.00516.56
7.3.10.0050.00816.71
7.3.00.0060.00716.46
7.2.330.0070.01016.61
7.2.320.0090.00616.63
7.2.310.0060.01516.67
7.2.300.0090.00916.59
7.2.290.0040.01216.45
7.2.260.0060.00614.89
7.2.250.0060.01214.88
7.2.240.0030.00914.82
7.2.230.0140.00315.14
7.2.220.0030.01214.91
7.2.210.0070.00714.95
7.2.200.0060.00714.75
7.2.190.0010.01614.82
7.2.180.0070.00815.00
7.2.170.0020.01114.83
7.2.160.0050.01214.95
7.2.150.0020.01416.93
7.2.140.0090.00616.88
7.2.130.0020.01016.87
7.2.120.0040.00916.83
7.2.110.0110.00516.77
7.2.100.0050.00917.01
7.2.90.0060.00716.85
7.2.80.0090.00616.87
7.2.70.0020.01016.78
7.2.60.0070.00716.83
7.2.50.0020.01116.88
7.2.40.0080.00816.75
7.2.30.0020.01516.70
7.2.20.0050.00816.85
7.2.10.0030.00716.65
7.2.00.0060.01017.70
7.1.330.0080.00515.70
7.1.320.0060.01015.73
7.1.310.0040.00915.84
7.1.300.0070.00915.63
7.1.290.0020.01315.66
7.1.280.0050.00815.67
7.1.270.0080.00515.55
7.1.260.0100.00415.71
7.1.250.0100.00515.68
7.1.240.0080.00415.41
7.1.230.0080.00415.50
7.1.220.0000.01015.70
7.1.210.0040.01115.34
7.1.200.0060.00815.60
7.1.190.0100.00315.66
7.1.180.0000.01115.72
7.1.170.0030.01315.66
7.1.160.0070.01015.53
7.1.150.0050.00515.91
7.1.140.0030.01015.67
7.1.130.0050.00515.74
7.1.120.0070.00715.45
7.1.110.0100.00315.96
7.1.100.0020.01116.90
7.1.90.0040.00715.72
7.1.80.0080.00415.65
7.1.70.0050.00816.15
7.1.60.0050.01217.70
7.1.50.0130.00825.21
7.1.40.0040.00715.79
7.1.30.0090.00315.34
7.1.20.0000.01715.84
7.1.10.0070.00315.88
7.1.00.0050.04219.00
7.0.330.0030.00715.50
7.0.320.0100.00315.31
7.0.310.0100.00715.34
7.0.300.0000.00815.39
7.0.290.0040.00715.54
7.0.280.0070.00315.32
7.0.270.0030.01315.28
7.0.260.0000.01415.48
7.0.250.0120.00415.38
7.0.240.0040.01115.09
7.0.230.0030.01015.25
7.0.220.0040.01115.41
7.0.210.0100.00615.30
7.0.200.0020.01115.17
7.0.190.0100.00015.28
7.0.180.0030.00815.59
7.0.170.0000.01315.53
7.0.160.0040.00415.42
7.0.150.0000.01415.58
7.0.140.0030.04318.52
7.0.130.0110.00315.50
7.0.120.0030.00615.55
7.0.110.0030.00615.13
7.0.100.0040.00915.41
7.0.90.0070.00415.21
7.0.80.0040.00415.38
7.0.70.0040.00915.17
7.0.60.0100.04317.53
7.0.50.0070.03816.66
7.0.40.0050.02816.86
7.0.30.0170.03616.78
7.0.20.0150.04216.73
7.0.10.0060.05016.82
7.0.00.0050.02316.81
5.6.400.0070.00714.51
5.6.390.0060.00814.55
5.6.380.0060.00314.35
5.6.370.0070.00314.52
5.6.360.0030.00914.61
5.6.350.0080.00614.21
5.6.340.0040.00513.95
5.6.330.0030.01214.23
5.6.320.0060.00614.26
5.6.310.0060.00614.45
5.6.300.0040.00814.57
5.6.290.0060.00913.91
5.6.280.0030.04417.66
5.6.270.0050.00514.11
5.6.260.0120.00014.12
5.6.250.0040.00814.44
5.6.240.0040.00714.61
5.6.230.0000.01014.49
5.6.220.0060.00914.39
5.6.210.0050.03317.67
5.6.200.0110.04316.28
5.6.190.0050.04217.61
5.6.180.2000.02917.45
5.6.170.0170.04517.44
5.6.160.0080.02017.57
5.6.150.0080.03816.18
5.6.140.0080.04016.28
5.6.130.0070.02516.37
5.6.120.0080.03717.66
5.6.110.0050.02517.65
5.6.100.0120.04217.70
5.6.90.0080.04117.56
5.6.80.0070.02317.49
5.6.70.2120.02417.43
5.6.60.0030.01014.27
5.6.50.0060.00314.02
5.6.40.0040.01114.44
5.6.30.0090.00614.23
5.6.20.0080.00314.23
5.6.10.0030.01314.12
5.6.00.0030.01014.18
5.5.380.0070.00314.21
5.5.370.0080.00014.36
5.5.360.0060.00914.30
5.5.350.0070.03217.42
5.5.340.0030.04016.12
5.5.330.0120.03717.37
5.5.320.1760.02117.35
5.5.310.0150.02517.42
5.5.300.0020.02716.25
5.5.290.0090.04116.17
5.5.280.0070.04817.63
5.5.270.0070.04217.56
5.5.260.0060.04517.39
5.5.250.0080.02817.50
5.5.240.0180.04017.13
5.5.230.0030.00714.32
5.5.220.0030.01014.18
5.5.210.0060.00614.32
5.5.200.0030.01014.39
5.5.190.0000.00814.22
5.5.180.0110.00414.19
5.5.170.0000.01514.32
5.5.160.0030.00913.96
5.5.150.0040.01114.23
5.5.140.0030.00914.11
5.5.130.0120.00314.20
5.5.120.0050.00314.20
5.5.110.0130.00014.16
5.5.100.0030.00714.12
5.5.90.0000.00914.31
5.5.80.0000.01814.30
5.5.70.0070.01014.11
5.5.60.0040.00414.27
5.5.50.0000.01714.21
5.5.40.0060.00613.97
5.5.30.0090.00614.26
5.5.20.0070.01114.25
5.5.10.0000.01514.05
5.5.00.0110.00713.91
5.4.450.0250.03214.88
5.4.440.0150.02715.16
5.4.430.0070.03415.07
5.4.420.0080.03215.11
5.4.410.0140.02614.87
5.4.400.0080.03015.05
5.4.390.0430.02614.53
5.4.380.0480.03014.65
5.4.370.0550.03314.65
5.4.360.0500.04114.58
5.4.350.0650.03314.62
5.4.340.0480.03814.80
5.4.330.0000.00710.81
5.4.320.0430.04214.74
5.4.310.0470.03714.64
5.4.300.0430.03814.67
5.4.290.0410.03314.64
5.4.280.0630.03114.54
5.4.270.0610.02714.59
5.4.260.0480.02914.72
5.4.250.0380.03514.66
5.4.240.0500.03814.61
5.4.230.0580.02314.59
5.4.220.0610.02414.62
5.4.210.0410.03514.65
5.4.200.0620.03313.54
5.4.190.0450.02814.65
5.4.180.0370.03114.76
5.4.170.0400.03514.85
5.4.160.0350.03914.63
5.4.150.0320.03214.71
5.4.140.0400.03113.37
5.4.130.0550.03213.34
5.4.120.0470.02613.44
5.4.110.0510.02813.40
5.4.100.0570.03813.49
5.4.90.0600.03813.45
5.4.80.0580.03413.45
5.4.70.0400.03313.33
5.4.60.0380.02213.48
5.4.50.0530.02613.41
5.4.40.0620.02813.43
5.4.30.0430.02513.46
5.4.20.0420.02613.39
5.4.10.0500.02813.38
5.4.00.0540.02713.11
5.3.290.0670.06014.66
5.3.280.1100.06714.62
5.3.270.0930.06314.60
5.3.260.1070.05014.58
5.3.250.0930.06314.65
5.3.240.1030.07014.55
5.3.230.1000.05014.57
5.3.220.1070.06014.56
5.3.210.0730.05014.55
5.3.200.0600.05314.48
5.3.190.0670.06314.54
5.3.180.0970.05314.65
5.3.170.0630.07714.45
5.3.160.0670.05714.66
5.3.150.0600.06014.63
5.3.140.0700.05014.51
5.3.130.0930.04714.46
5.3.120.1030.06714.51
5.3.110.1000.06314.54
5.3.100.1000.06314.09
5.3.90.0530.05713.96
5.3.80.0800.06014.11
5.3.70.1100.04314.00
5.3.60.0800.06313.98
5.3.50.0700.07313.89
5.3.40.0870.07013.94
5.3.30.0800.05313.81
5.3.20.0770.05313.65
5.3.10.0800.06713.65
5.3.00.1030.04713.55
5.2.170.0670.04311.11
5.2.160.0670.04711.18
5.2.150.0700.04311.21
5.2.140.0800.06011.19
5.2.130.0830.05011.16
5.2.120.0730.05711.03
5.2.110.0770.05011.25
5.2.100.0900.02711.16
5.2.90.0770.03711.16
5.2.80.0600.06011.14
5.2.70.0600.04711.10
5.2.60.0630.04711.01
5.2.50.0630.06310.99
5.2.40.0400.04711.03
5.2.30.0500.04711.02
5.2.20.0670.06010.89
5.2.10.0600.03710.95
5.2.00.0700.04710.66
5.1.60.0600.0379.96
5.1.50.0430.0409.96
5.1.40.0570.0309.93
5.1.30.0370.04710.43
5.1.20.0600.04710.41
5.1.10.0400.04310.08
5.1.00.0630.04710.04
5.0.50.0370.0308.61
5.0.40.0230.0308.52
5.0.30.0230.0438.19
5.0.20.0270.0378.37
5.0.10.0270.0338.28
5.0.00.0300.0438.25
4.4.90.0300.0275.82
4.4.80.0370.0235.93
4.4.70.0400.0235.91
4.4.60.0170.0335.87
4.4.50.0200.0305.82
4.4.40.0400.0335.86
4.4.30.0230.0275.89
4.4.20.0230.0275.93
4.4.10.0200.0275.96
4.4.00.0100.0505.90
4.3.110.0230.0335.83
4.3.100.0300.0205.84
4.3.90.0470.0235.91
4.3.80.0130.0435.79
4.3.70.0170.0275.86
4.3.60.0230.0205.77
4.3.50.0330.0305.90
4.3.40.0230.0375.80
4.3.30.0100.0274.54
4.3.20.0200.0174.56
4.3.10.0200.0204.51
4.3.00.0000.0279.15

preferences:
51.95 ms | 400 KiB | 5 Q