3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jsonString = ' {&quot;order&quot;&quot;id&quot;:null,&quot;created_at&quot;:null,&quot;status&quot;:&quot;completed&quot;,&quot;total_btc&quot;:{&quot;cents&quot;:100000000,&quot;currency_iso&quot;:&quot;BTC&quot;},&quot;total_native&quot;:{&quot;cents&quot;:83433,&quot;currency_iso&quot;:&quot;USD&quot;},&quot;custom&quot;:&quot;123456789&quot;,&quot;receive_address&quot;:&quot;1A2qsxGHo9KjtWBTnAopTwUiBQf2w6yRNr&quot;,&quot;button&quot;:{&quot;type&quot;:&quot;buy_now&quot;,&quot;name&quot;:&quot;Test Item&quot;,&quot;description&quot;:null,&quot;id&quot;:null},&quot;transaction&quot;:{&quot;id&quot;:&quot;52d064b59eeb59985e00002c&quot;,&quot;hash&quot;:&quot;4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b&quot;,&quot;confirmations&quot;:0}}}'; $array = json_decode(urldecode($jsonString)); echo json_last_error();

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.0140.00716.38
8.3.50.0130.00517.42
8.3.40.0040.01118.76
8.3.30.0070.00718.71
8.3.20.0080.00018.64
8.3.10.0080.00018.70
8.3.00.0040.00419.13
8.2.180.0080.00816.37
8.2.170.0070.01422.96
8.2.160.0100.00321.02
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0060.00320.75
8.2.110.0090.00021.12
8.2.100.0040.00817.91
8.2.90.0030.00619.38
8.2.80.0070.00019.32
8.2.70.0050.00317.50
8.2.60.0000.00918.05
8.2.50.0050.00318.07
8.2.40.0050.00318.03
8.2.30.0080.00017.91
8.2.20.0030.00619.43
8.2.10.0050.00217.58
8.2.00.0040.00417.54
8.1.280.0040.01125.92
8.1.270.0000.00724.66
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0100.00022.41
8.1.230.0040.00720.94
8.1.220.0060.00317.78
8.1.210.0090.00018.82
8.1.200.0030.00617.23
8.1.190.0050.00217.39
8.1.180.0040.00418.10
8.1.170.0040.00418.85
8.1.160.0040.00418.86
8.1.150.0000.00718.52
8.1.140.0040.00417.30
8.1.130.0070.00017.82
8.1.120.0000.00717.33
8.1.110.0070.00017.30
8.1.100.0030.00317.28
8.1.90.0040.00417.45
8.1.80.0030.00317.32
8.1.70.0000.00717.36
8.1.60.0000.00717.52
8.1.50.0040.00417.29
8.1.40.0000.00717.32
8.1.30.0030.00517.62
8.1.20.0040.00417.59
8.1.10.0050.00317.55
8.1.00.0040.00417.48
8.0.300.0070.00019.94
8.0.290.0000.00716.63
8.0.280.0000.00718.44
8.0.270.0030.00317.26
8.0.260.0030.00316.73
8.0.250.0000.00716.94
8.0.240.0000.00716.85
8.0.230.0040.00416.75
8.0.220.0000.00716.66
8.0.210.0000.00816.81
8.0.200.0040.00416.88
8.0.190.0000.00716.72
8.0.180.0000.00716.74
8.0.170.0050.00316.79
8.0.160.0080.00016.71
8.0.150.0000.00816.75
8.0.140.0040.00416.70
8.0.130.0030.00313.24
8.0.120.0040.00416.84
8.0.110.0000.00716.86
8.0.100.0000.00716.86
8.0.90.0070.00016.72
8.0.80.0060.00916.70
8.0.70.0050.00316.78
8.0.60.0000.00816.68
8.0.50.0080.00016.85
8.0.30.0030.01517.07
8.0.20.0120.00617.02
8.0.10.0070.00016.88
8.0.00.0140.00516.60
7.4.330.0020.00212.92
7.4.320.0000.00616.31
7.4.300.0070.00016.46
7.4.290.0000.00716.57
7.4.280.0070.00016.54
7.4.270.0000.00616.42
7.4.260.0060.00013.21
7.4.250.0030.00616.52
7.4.240.0050.00216.46
7.4.230.0000.00716.63
7.4.220.0140.00416.62
7.4.210.0080.00716.46
7.4.200.0060.00016.41
7.4.190.0000.00716.69
7.4.160.0090.00916.40
7.4.150.0120.00616.64
7.4.140.0090.00816.54
7.4.130.0070.01216.40
7.4.120.0110.00616.39
7.4.110.0090.00916.30
7.4.100.0090.00916.34
7.4.90.0030.01816.43
7.4.80.0070.01116.55
7.4.70.0100.01316.52
7.4.60.0070.01016.41
7.4.50.0100.00316.49
7.4.40.0000.01416.30
7.4.30.0110.00716.39
7.4.10.0030.01214.68
7.4.00.0060.00914.79
7.3.330.0000.00613.09
7.3.320.0050.00013.06
7.3.310.0030.00316.02
7.3.300.0030.00316.13
7.3.290.0070.01016.17
7.3.280.0060.01016.13
7.3.270.0100.00916.39
7.3.260.0030.01416.25
7.3.250.0130.00916.33
7.3.240.0060.01216.39
7.3.230.0060.01216.44
7.3.210.0030.01216.32
7.3.200.0070.01319.39
7.3.190.0030.01316.56
7.3.180.0030.01216.48
7.3.170.0090.00616.38
7.3.160.0100.00616.31
7.3.130.0030.01414.97
7.3.120.0080.00714.68
7.3.110.0100.00714.62
7.3.100.0090.00614.91
7.3.90.0040.01514.72
7.3.80.0030.01214.97
7.3.70.0070.00414.80
7.3.60.0030.01014.54
7.3.50.0030.00614.43
7.3.40.0000.01014.49
7.3.30.0030.00914.76
7.3.20.0030.00916.47
7.3.10.0000.01116.66
7.3.00.0050.00516.36
7.2.330.0090.00916.48
7.2.320.0150.00716.39
7.2.310.0090.00816.32
7.2.300.0100.00716.56
7.2.290.0090.00616.37
7.2.260.0070.01115.20
7.2.250.0070.00415.14
7.2.240.0060.00915.09
7.2.230.0070.01015.12
7.2.220.0050.01315.09
7.2.210.0090.00614.99
7.2.200.0000.00914.76
7.2.190.0060.00914.68
7.2.180.0030.00715.02
7.2.170.0110.00714.82
7.2.160.0060.01214.91
7.2.150.0030.01216.73
7.2.140.0040.01116.57
7.2.130.0080.00817.00
7.2.120.0030.01016.76
7.2.110.0080.00416.99
7.2.100.0040.01116.98
7.2.90.0060.01016.91
7.2.80.0090.00616.90
7.2.70.0000.01416.82
7.2.60.0060.00616.89
7.2.50.0070.00716.95
7.2.40.0030.01016.61
7.2.30.0030.00716.69
7.2.20.0070.00316.93
7.2.10.0100.00316.91
7.2.00.0090.00517.90
7.1.330.0000.01215.66
7.1.320.0040.01415.60
7.1.310.0000.01115.79
7.1.300.0100.00615.79
7.1.290.0060.00315.54
7.1.280.0040.01015.54
7.1.270.0000.01115.63
7.1.260.0040.00815.73
7.1.250.0070.00715.97
7.1.240.0080.00315.67
7.1.230.0100.00315.73
7.1.220.0000.01515.79
7.1.210.0030.01015.84
7.1.200.0000.01015.61
7.1.190.0000.00815.80
7.1.180.0040.00815.70
7.1.170.0050.00315.85
7.1.160.0000.01315.79
7.1.150.0030.00615.79
7.1.140.0060.00615.60
7.1.130.0040.00815.70
7.1.120.0070.00715.76
7.1.110.0050.00515.79
7.1.100.0110.00916.98
7.1.90.0090.00615.34
7.1.80.0080.00615.91
7.1.70.0020.00716.34
7.1.60.0070.01017.66
7.1.50.0060.00616.32
7.1.40.0060.00615.59
7.1.30.0100.00315.74
7.1.20.0000.01415.54
7.1.10.0070.00415.74
7.1.00.0000.03219.04
7.0.330.0100.00315.34
7.0.320.0060.00615.18
7.0.310.0000.01115.12
7.0.300.0000.01315.23
7.0.290.0030.01015.13
7.0.280.0110.00014.98
7.0.270.0040.00814.95
7.0.260.0080.00015.52
7.0.250.0040.00715.20
7.0.240.0000.01515.31
7.0.230.0070.00715.08
7.0.220.0070.00715.39
7.0.210.0030.00715.35
7.0.200.0150.00315.24
7.0.190.0000.01415.13
7.0.180.0040.01015.48
7.0.170.0070.00715.16
7.0.160.0030.01015.39
7.0.150.0070.00415.37
7.0.140.0030.04318.50
7.0.130.0060.00614.94
7.0.120.0050.03818.78
7.0.110.0090.00015.44
7.0.100.0000.01615.33
7.0.90.0040.01115.51
7.0.80.0120.00315.14
7.0.70.0000.00815.41
7.0.60.0080.03117.69
7.0.50.0030.04516.65
7.0.40.0030.04316.71
7.0.30.0060.04516.75
7.0.20.0050.02916.84
7.0.10.0110.04416.73
7.0.00.0130.04016.80
5.6.400.0030.01013.92
5.6.390.0060.00614.48
5.6.380.0120.00314.04
5.6.370.0060.00614.48
5.6.360.0100.00314.52
5.6.350.0070.00314.41
5.6.340.0060.00613.90
5.6.330.0000.01514.16
5.6.320.0030.00614.02
5.6.310.0090.00414.39
5.6.300.0080.00814.08
5.6.290.0030.01314.45
5.6.280.0040.01114.02
5.6.270.0030.01414.12
5.6.260.0070.01014.29
5.6.250.0090.00614.09
5.6.240.0070.01014.17
5.6.230.0030.01414.22
5.6.220.0050.00314.10
5.6.210.0050.03817.39
5.6.200.0050.03316.32
5.6.190.0030.04117.31
5.6.180.0070.04417.44
5.6.170.0030.02617.29
5.6.160.0050.03117.45
5.6.150.0070.02617.27
5.6.140.0080.04017.30
5.6.130.0070.02717.18
5.6.120.0020.04917.27
5.6.110.0110.02817.37
5.6.100.0050.03917.31
5.6.90.0050.04017.36
5.6.80.0070.03416.88
5.6.70.0090.04216.96
5.6.60.0050.02916.91
5.6.50.0090.04016.90
5.6.40.0060.04017.02
5.6.30.0070.04016.80
5.6.20.0070.04316.95
5.6.10.0060.03916.87
5.6.00.0090.04116.88
5.5.380.0060.00914.07
5.5.370.0090.00313.96
5.5.360.0090.00614.01
5.5.350.0160.04017.18
5.5.340.0100.04016.09
5.5.330.0000.04417.15
5.5.320.0020.04517.09
5.5.310.0070.02717.13
5.5.300.0070.03117.00
5.5.290.0060.02317.14
5.5.280.0060.04517.07
5.5.270.0060.04517.23
5.5.260.0050.04517.04
5.5.250.0020.04917.12
5.5.240.0050.04716.64
5.5.230.0030.02716.67
5.5.220.0020.04616.85
5.5.210.0120.03716.81
5.5.200.0050.02816.84
5.5.190.0050.04316.80
5.5.180.0050.03316.91
5.5.170.0000.00914.22
5.5.160.0060.02316.70
5.5.150.0050.04116.71
5.5.140.0030.04316.60
5.5.130.0060.04216.69
5.5.120.0050.04016.79
5.5.110.0030.02616.81
5.5.100.0060.02016.61
5.5.90.0020.02516.70
5.5.80.0030.02516.73
5.5.70.0030.02316.75
5.5.60.0030.02316.51
5.5.50.0050.02016.59
5.5.40.0030.02416.68
5.5.30.0060.01816.67
5.5.20.0030.02416.55
5.5.10.0040.02016.66
5.5.00.0060.02116.52
5.4.450.0050.02416.34
5.4.440.0020.02616.32
5.4.430.0060.03916.24
5.4.420.0080.02316.36
5.4.410.0050.03816.26
5.4.400.0050.03516.16
5.4.390.0030.04216.08
5.4.380.0000.03216.01
5.4.370.0050.02316.22
5.4.360.0000.03216.16
5.4.350.0050.02416.16
5.4.340.0050.03816.10
5.4.330.0050.00313.24
5.4.320.0030.02816.21
5.4.310.0030.03616.01
5.4.300.0050.03216.21
5.4.290.0030.04016.16
5.4.280.0020.04316.18
5.4.270.0050.03516.16
5.4.260.0000.02416.07
5.4.250.0030.02316.17
5.4.240.0020.02216.21
5.4.230.0050.02016.01
5.4.220.0030.02116.21
5.4.210.0030.02116.21
5.4.200.0020.02316.18
5.4.190.0020.02316.15
5.4.180.0070.01816.19
5.4.170.0080.01716.19
5.4.160.0020.02216.20
5.4.150.0030.02216.20
5.4.140.0020.02214.75
5.4.130.0050.02014.76
5.4.120.0000.02314.78
5.4.110.0050.02314.76
5.4.100.0040.02014.79
5.4.90.0070.02014.82
5.4.80.0020.02314.78
5.4.70.0050.01714.79
5.4.60.0050.01714.75
5.4.50.0000.02514.91
5.4.40.0030.02014.68
5.4.30.0030.02014.77
5.4.20.0050.01714.80
5.4.10.0020.01914.72
5.4.00.0050.01814.44
5.3.290.0020.04313.92
5.3.280.0020.02213.96
5.3.270.0030.02013.87
5.3.260.0030.02313.88
5.3.250.0090.01513.91
5.3.240.0050.02513.82
5.3.230.0020.02713.90
5.3.220.0020.02213.87
5.3.210.0000.02613.87
5.3.200.0030.02213.88
5.3.190.0050.02213.88
5.3.180.0020.02213.87
5.3.170.0030.02013.88
5.3.160.0000.02713.88
5.3.150.0000.04313.87
5.3.140.0050.01813.86
5.3.130.0000.02113.86
5.3.120.0000.02213.86
5.3.110.0020.02213.86
5.3.100.0030.02113.60
5.3.90.0060.01713.61
5.3.80.0000.02213.60
5.3.70.0030.01813.60
5.3.60.0040.01613.61
5.3.50.0070.01713.58
5.3.40.0020.02113.56
5.3.30.0020.02113.54
5.3.20.0020.01813.45
5.3.10.0030.01913.43
5.3.00.0020.01913.40
5.2.170.0000.03312.01
5.2.160.0000.02712.01
5.2.150.0000.03312.01
5.2.140.0000.03012.01
5.2.130.0000.02712.01
5.2.120.0000.02712.01
5.2.110.0030.02712.01
5.2.100.0000.03312.01
5.2.90.0000.02712.01
5.2.80.0000.03312.01
5.2.70.0030.02312.01
5.2.60.0000.02712.01
5.2.50.0030.02712.01
5.2.40.0000.03312.01
5.2.30.0030.06312.01
5.2.20.0030.02312.01
5.2.10.0030.05012.01
5.2.00.0030.04712.01
5.1.60.0030.05012.01
5.1.50.0030.05712.01
5.1.40.0070.05012.01
5.1.30.0000.04712.01
5.1.20.0030.03712.01
5.1.10.0030.05712.01
5.1.00.0130.04712.01
5.0.50.0000.03712.01
5.0.40.0000.04712.01
5.0.30.0000.07012.01
5.0.20.0100.03312.01
5.0.10.0000.04012.01
5.0.00.0070.05712.01
4.4.90.0000.01312.01
4.4.80.0000.01312.01
4.4.70.0000.01312.01
4.4.60.0030.01712.01
4.4.50.0030.02312.01
4.4.40.0030.04712.01
4.4.30.0030.03012.01
4.4.20.0070.02012.01
4.4.10.0000.02312.01
4.4.00.0000.04712.01
4.3.110.0030.01712.01
4.3.100.0100.03012.01
4.3.90.0000.03012.01
4.3.80.0070.05012.01
4.3.70.0030.01712.01
4.3.60.0000.02712.01
4.3.50.0030.02312.01
4.3.40.0000.05712.01
4.3.30.0030.03012.01
4.3.20.0000.03712.01
4.3.10.0000.02012.01
4.3.00.0030.02712.01

preferences:
41.94 ms | 401 KiB | 5 Q