3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"nombre": "Gorka", "conocimientos": {"java":"algo", "go": "aprendiendo", "c": "alto", "python": "alto", php":"master and commander"}}'; $objetoJson = json_decode($json); print_r($objetoJson); $arrayJson = json_decode($json, true); print_r($arrayJson);

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.0090.00618.13
8.3.50.0150.02118.04
8.3.40.0040.01118.64
8.3.30.0060.00818.38
8.3.20.0080.00018.97
8.3.10.0070.00021.90
8.3.00.0030.00523.61
8.2.180.0090.00618.16
8.2.170.0040.01122.96
8.2.160.0110.00419.29
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0050.00320.44
8.2.120.0040.00426.35
8.2.110.0100.00021.04
8.2.100.0090.00617.53
8.2.90.0000.00819.05
8.2.80.0040.00417.97
8.2.70.0080.00017.93
8.2.60.0040.00417.80
8.2.50.0040.00419.35
8.2.40.0070.00019.34
8.2.30.0030.00619.22
8.2.20.0070.00017.81
8.2.10.0040.00418.10
8.2.00.0050.00219.39
8.1.280.0100.01025.92
8.1.270.0040.00422.15
8.1.260.0070.00026.35
8.1.250.0060.00328.09
8.1.240.0050.00523.96
8.1.230.0030.00918.93
8.1.220.0030.00517.74
8.1.210.0080.00018.77
8.1.200.0090.00017.35
8.1.190.0000.00817.23
8.1.180.0000.00918.10
8.1.170.0030.00618.96
8.1.160.0000.00818.81
8.1.150.0040.00418.77
8.1.140.0030.00617.57
8.1.130.0000.00719.06
8.1.120.0040.00417.46
8.1.110.0000.00717.45
8.1.100.0030.00317.38
8.1.90.0070.00417.40
8.1.80.0070.00017.28
8.1.70.0000.00717.43
8.1.60.0080.00017.53
8.1.50.0030.00617.46
8.1.40.0000.00817.45
8.1.30.0040.00417.60
8.1.20.0040.00417.55
8.1.10.0080.00017.46
8.1.00.0000.00717.27
8.0.300.0030.00618.77
8.0.290.0040.00416.63
8.0.280.0030.00318.33
8.0.270.0000.00716.76
8.0.260.0030.00317.18
8.0.250.0030.00316.89
8.0.240.0040.00416.86
8.0.230.0000.00616.90
8.0.220.0050.00216.84
8.0.210.0040.00416.87
8.0.200.0030.00316.90
8.0.190.0000.00716.90
8.0.180.0050.00216.71
8.0.170.0030.00616.86
8.0.160.0000.00716.84
8.0.150.0000.00816.72
8.0.140.0070.00016.75
8.0.130.0030.00313.21
8.0.120.0040.00416.70
8.0.110.0000.00716.81
8.0.100.0000.00716.72
8.0.90.0000.00816.75
8.0.80.0070.01216.82
8.0.70.0000.00716.80
8.0.60.0000.00716.76
8.0.50.0030.00516.66
8.0.30.0110.00816.86
8.0.20.0180.00317.40
8.0.10.0000.00816.95
8.0.00.0060.01016.84
7.4.330.0050.00015.55
7.4.320.0030.00316.56
7.4.300.0000.00616.50
7.4.290.0000.00716.41
7.4.280.0000.00716.33
7.4.270.0130.00016.52
7.4.260.0040.00416.42
7.4.250.0040.00416.30
7.4.240.0070.00016.42
7.4.230.0030.00316.32
7.4.220.0040.00416.34
7.4.210.0070.01016.47
7.4.200.0000.00716.42
7.4.160.0100.00716.43
7.4.140.0070.01017.86
7.4.130.0090.00916.49
7.4.120.0110.01016.38
7.4.110.0110.00716.28
7.4.100.0110.00716.49
7.4.90.0100.00716.39
7.4.80.0110.00719.39
7.4.70.0120.00816.43
7.4.60.0110.00716.52
7.4.50.0030.01216.55
7.4.40.0090.01316.29
7.4.00.0080.00814.73
7.3.330.0050.00012.86
7.3.320.0030.00313.08
7.3.310.0040.00416.18
7.3.300.0030.00316.18
7.3.290.0030.00316.13
7.3.280.0120.00816.08
7.3.260.0070.01416.45
7.3.240.0130.00616.26
7.3.230.0120.00616.21
7.3.210.0100.00716.03
7.3.200.0090.00816.15
7.3.190.0070.01116.26
7.3.180.0130.00316.37
7.3.170.0130.00716.41
7.3.160.0070.01016.26
7.2.330.0120.01316.46
7.2.320.0160.00016.16
7.2.310.0190.00516.57
7.2.300.0140.00316.45
7.2.290.0030.01416.58
7.2.70.0570.00614.93
7.2.60.0550.01014.62
7.2.50.0570.01114.35
7.2.40.0060.01514.63
7.2.30.0340.01014.83
7.2.20.0160.00614.70
7.2.10.1830.00614.52
7.2.00.2250.00914.93
7.1.200.0120.00315.65
7.1.170.0850.00913.70
7.1.160.0130.00713.80
7.1.150.0060.01013.52
7.1.140.2100.00613.79
7.1.130.2490.01313.64
7.1.120.2650.00713.60
7.1.110.2530.00613.68
7.1.100.0090.00913.95
7.1.90.5930.00313.65
7.1.80.4510.01013.83
7.1.70.3030.01313.55
7.1.60.3470.02031.67
7.1.50.3530.01331.61
7.1.40.4050.01331.83
7.1.30.2970.00931.67
7.1.20.3930.01631.70
7.1.10.3270.01013.38
7.1.00.2280.01013.64

preferences:
43.66 ms | 400 KiB | 5 Q