3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"GetCodeResult": { "Selling":"1000.67114", "Buying":"9000.65789" } }'; echo json_encode(json_decode($json, true)['GetCodeResult']);

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.5.00.0110.01119.73
8.4.150.0020.00114.05
8.4.140.0090.01117.55
8.4.130.0050.00421.70
8.4.120.0110.00722.39
8.4.110.0090.01222.19
8.4.100.0120.00817.43
8.4.90.0100.01020.35
8.4.80.0100.00918.65
8.4.70.0130.00720.44
8.4.60.0080.00820.43
8.4.50.0140.00619.70
8.4.40.0120.00017.88
8.4.30.0100.01017.52
8.4.20.0170.00318.55
8.4.10.0100.01019.50
8.3.280.0130.00718.31
8.3.270.0120.00916.74
8.3.260.0120.00716.54
8.3.250.0130.00518.89
8.3.240.0040.00517.07
8.3.230.0110.00816.52
8.3.220.0100.00818.71
8.3.210.0100.00916.39
8.3.200.0120.00716.29
8.3.190.0110.00817.07
8.3.180.0120.00816.62
8.3.170.0110.00716.59
8.3.160.0000.00916.45
8.3.150.0090.00017.13
8.3.140.0110.00716.98
8.3.130.0040.00418.21
8.3.120.0120.00620.40
8.3.110.0090.00020.94
8.3.100.0090.00024.06
8.3.90.0110.00726.77
8.3.80.0060.00317.97
8.3.70.0150.00316.25
8.3.60.0120.00616.50
8.3.50.0130.00718.25
8.3.40.0090.00918.70
8.3.30.0210.00018.44
8.3.20.0070.00020.90
8.3.10.0030.00621.71
8.3.00.0090.00017.63
8.2.290.0100.00919.05
8.2.280.0040.00418.30
8.2.270.0040.01516.64
8.2.260.0090.00618.88
8.2.250.0040.01118.46
8.2.240.0040.00418.73
8.2.230.0080.00022.58
8.2.220.0100.00037.54
8.2.210.0000.00826.77
8.2.200.0060.00318.41
8.2.190.0030.01318.19
8.2.180.0090.00916.50
8.2.170.0090.00622.96
8.2.160.0040.01121.20
8.2.150.0040.00424.18
8.2.140.0110.00724.66
8.2.130.0000.00726.16
8.2.120.0050.00321.04
8.2.110.0070.00320.92
8.2.100.0080.00319.57
8.2.90.0080.00017.84
8.2.80.0000.00817.97
8.2.70.0080.00018.04
8.2.60.0040.00418.09
8.2.50.0000.00818.10
8.2.40.0040.00421.19
8.2.30.0040.00419.36
8.2.20.0040.00418.00
8.2.10.0000.00719.10
8.2.00.0040.00417.99
8.1.330.0100.00920.15
8.1.320.0120.00918.26
8.1.310.0070.00716.51
8.1.300.0120.00319.54
8.1.290.0060.00330.84
8.1.280.0090.00925.92
8.1.270.0040.00419.04
8.1.260.0090.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00623.72
8.1.230.0060.00622.67
8.1.220.0030.00617.74
8.1.210.0000.00820.33
8.1.200.0060.00317.35
8.1.190.0050.00317.22
8.1.180.0060.00318.10
8.1.170.0000.00818.46
8.1.160.0070.00018.83
8.1.150.0000.01018.81
8.1.140.0000.00818.79
8.1.130.0030.00319.91
8.1.120.0000.00717.40
8.1.110.0040.00417.27
8.1.100.0040.00417.37
8.1.90.0060.00317.28
8.1.80.0000.00817.29
8.1.70.0040.00417.27
8.1.60.0030.00717.51
8.1.50.0040.00417.42
8.1.40.0120.00017.31
8.1.30.0040.00417.47
8.1.20.0000.00917.59
8.1.10.0080.00017.43
8.1.00.0000.00917.39
8.0.300.0040.00419.65
8.0.290.0040.00416.58
8.0.280.0070.00018.44
8.0.270.0030.00317.32
8.0.260.0040.00418.43
8.0.250.0040.00716.95
8.0.240.0000.00716.91
8.0.230.0030.00316.88
8.0.220.0030.00316.72
8.0.210.0040.00416.87
8.0.200.0000.00716.79
8.0.190.0000.00716.88
8.0.180.0000.00816.84
8.0.170.0030.00616.73
8.0.160.0070.00016.80
8.0.150.0000.00716.78
8.0.140.0000.00716.67
8.0.130.0050.00013.28
8.0.120.0080.00016.77
8.0.110.0040.00316.79
8.0.100.0070.00016.73
8.0.90.0040.00416.70
8.0.80.0070.01216.75
8.0.70.0040.00416.89
8.0.60.0060.00316.89
8.0.50.0040.00416.80
8.0.30.0070.01017.00
8.0.20.0090.00917.09
8.0.10.0040.00416.80
8.0.00.0120.00916.87
7.4.330.0000.00515.55
7.4.320.0070.00016.35
7.4.300.0030.00316.41
7.4.290.0070.00016.28
7.4.280.0000.00816.28
7.4.270.0070.00016.34
7.4.260.0080.00016.56
7.4.250.0030.00316.41
7.4.240.0000.00816.41
7.4.230.0030.00316.51
7.4.220.0040.00416.42
7.4.210.0070.00716.47
7.4.200.0030.00316.53
7.4.160.0090.00716.45
7.4.140.0100.00717.86
7.4.130.0130.00616.37
7.4.120.0170.00716.48
7.4.110.0060.01216.60
7.4.100.0150.00916.49
7.4.90.0120.00616.45
7.4.80.0110.00619.39
7.4.70.0100.00716.52
7.4.60.0070.01316.47
7.4.50.0040.01416.35
7.4.40.0000.01716.24
7.4.00.0070.00715.01
7.3.330.0020.00213.00
7.3.320.0050.00013.14
7.3.310.0040.00416.17
7.3.300.0030.00316.16
7.3.290.0000.00716.21
7.3.280.0060.00916.13
7.3.260.0070.01216.39
7.3.240.0090.01016.36
7.3.230.0040.01316.48
7.3.210.0100.00716.51
7.3.200.0120.00316.36
7.3.190.0100.00716.27
7.3.180.0110.00516.28
7.3.170.0170.00016.43
7.3.160.0140.00316.41
7.3.10.0370.00314.74
7.3.00.0390.01314.81
7.2.330.0110.00716.58
7.2.320.0150.00416.39
7.2.310.0170.00716.56
7.2.300.0070.01116.31
7.2.290.0090.00916.71
7.2.130.0550.00614.57
7.2.120.0530.00314.77
7.2.110.0620.00314.88
7.2.100.0300.01015.11
7.2.90.0440.01215.05
7.2.80.0490.00314.41
7.2.70.0440.00914.97
7.2.60.0440.00014.95
7.2.50.0400.00314.89
7.2.40.0460.00714.79
7.2.30.0380.00614.51
7.2.20.0440.00915.05
7.2.10.0350.00615.11
7.2.00.0340.00715.01
7.1.250.0640.00313.66

preferences:
35.89 ms | 403 KiB | 5 Q