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.40.0090.00618.60
8.3.30.0000.01418.43
8.3.20.0050.00318.83
8.3.10.0000.00721.72
8.3.00.0040.00423.62
8.2.170.0140.00322.96
8.2.160.0070.00722.96
8.2.150.0070.01025.66
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0040.00419.70
8.2.110.0050.00519.11
8.2.100.0080.00318.22
8.2.90.0030.00619.13
8.2.80.0000.00817.97
8.2.70.0030.00517.38
8.2.60.0080.00017.80
8.2.50.0030.00618.07
8.2.40.0080.00018.22
8.2.30.0000.00818.01
8.2.20.0070.00017.87
8.2.10.0070.00017.98
8.2.00.0000.00719.43
8.1.270.0040.00422.02
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0070.00322.74
8.1.230.0110.00020.26
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0070.00317.35
8.1.190.0080.00017.13
8.1.180.0040.00418.10
8.1.170.0040.00418.79
8.1.160.0030.00518.78
8.1.150.0020.00518.93
8.1.140.0000.00817.64
8.1.130.0030.00317.37
8.1.120.0000.00817.29
8.1.110.0030.00517.28
8.1.100.0000.00817.45
8.1.90.0050.00517.27
8.1.80.0040.00417.30
8.1.70.0000.00717.33
8.1.60.0040.00417.52
8.1.50.0070.00317.41
8.1.40.0000.00717.38
8.1.30.0050.00317.50
8.1.20.0050.00217.56
8.1.10.0040.00417.31
8.1.00.0080.00017.25
8.0.300.0080.00019.09
8.0.290.0050.00316.63
8.0.280.0070.00018.25
8.0.270.0030.00317.18
8.0.260.0030.00318.23
8.0.250.0030.00516.88
8.0.240.0030.00616.83
8.0.230.0000.00816.90
8.0.220.0000.00716.84
8.0.210.0070.00016.73
8.0.200.0060.00016.85
8.0.190.0000.00716.88
8.0.180.0000.00816.76
8.0.170.0050.00316.75
8.0.160.0000.00816.72
8.0.150.0030.00316.79
8.0.140.0000.00716.80
8.0.130.0000.00513.27
8.0.120.0070.00016.85
8.0.110.0070.00016.77
8.0.100.0040.00316.62
8.0.90.0000.00716.74
8.0.80.0110.00616.76
8.0.70.0070.00016.71
8.0.60.0050.00216.76
8.0.50.0040.00416.76
8.0.30.0110.00617.15
8.0.20.0040.01417.40
8.0.10.0000.00716.94
8.0.00.0100.01016.67
7.4.330.0000.00515.55
7.4.320.0030.00316.31
7.4.300.0000.00616.54
7.4.290.0030.00316.38
7.4.280.0040.00416.43
7.4.270.0080.00016.58
7.4.260.0030.00316.49
7.4.250.0030.00316.39
7.4.240.0040.00416.42
7.4.230.0000.00716.27
7.4.220.0080.00016.48
7.4.210.0090.00516.55
7.4.200.0070.00016.52
7.4.160.0080.01016.50
7.4.140.0110.00717.86
7.4.130.0090.01416.37
7.4.120.0100.00716.39
7.4.110.0070.01016.34
7.4.100.0120.01216.44
7.4.90.0160.00616.29
7.4.80.0070.01519.39
7.4.70.0130.00716.47
7.4.60.0100.00716.46
7.4.50.0120.00416.32
7.4.40.0090.01316.41
7.4.00.0100.00714.84
7.3.330.0050.00012.87
7.3.320.0000.00613.07
7.3.310.0030.00316.13
7.3.300.0000.00716.03
7.3.290.0070.00016.16
7.3.280.0110.00416.25
7.3.260.0100.01016.22
7.3.240.0130.00516.24
7.3.230.0100.01016.34
7.3.210.0090.01216.26
7.3.200.0070.01016.03
7.3.190.0070.01016.16
7.3.180.0040.01216.50
7.3.170.0070.01016.23
7.3.160.0060.00916.30
7.3.120.0060.00814.75
7.3.110.0030.01014.60
7.3.100.0080.00814.63
7.3.90.0060.00914.48
7.3.80.0040.00814.30
7.3.70.0040.01214.69
7.3.60.0030.01014.59
7.3.50.0030.01014.79
7.3.40.0130.00314.52
7.3.30.0030.01014.50
7.3.20.0090.00316.37
7.3.10.0060.00816.50
7.3.00.0050.00816.47
7.2.330.0070.01016.60
7.2.320.0130.01016.52
7.2.310.0100.00716.51
7.2.300.0070.01016.55
7.2.290.0110.00716.59
7.2.240.0030.01414.83
7.2.230.0040.01115.11
7.2.220.0040.00814.78
7.2.210.0040.00714.57
7.2.200.0040.01114.74
7.2.190.0060.00314.72
7.2.180.0000.00914.58
7.2.170.0030.01014.87
7.2.160.0050.00514.74
7.2.150.0000.01216.73
7.2.140.0030.01016.73
7.2.130.0030.01016.73
7.2.120.0050.00716.82
7.2.110.0020.01216.77
7.2.100.0050.00916.75
7.2.90.0060.00616.61
7.2.80.0080.00816.87
7.2.70.0840.00716.08
7.2.60.0580.00615.96
7.2.50.0780.00816.23
7.2.40.0360.00716.23
7.2.30.0050.01116.20
7.2.20.0410.00816.06
7.2.10.0370.00515.86
7.2.00.0070.00816.13
7.1.330.0130.00315.77
7.1.320.0030.01315.75
7.1.310.0120.00415.86
7.1.300.0030.01015.68
7.1.290.0090.00615.79
7.1.280.0000.01415.72
7.1.270.0060.00615.38
7.1.260.0000.00815.63
7.1.250.0090.00515.67
7.1.200.0080.00315.32
7.1.170.2580.00913.90
7.1.160.0070.01013.89
7.1.150.0210.01313.53
7.1.140.0130.00313.59
7.1.130.0120.00413.85
7.1.120.0560.00913.58
7.1.110.0130.01013.48
7.1.100.0180.01213.84
7.1.90.3310.01313.57
7.1.80.1730.00313.75
7.1.70.0140.00613.49
7.1.60.0280.01231.80
7.1.50.0320.02331.76
7.1.40.0660.02131.82
7.1.30.0380.00731.61
7.1.20.0390.02031.30
7.1.10.0120.00613.61
7.1.00.0190.00313.69

preferences:
57.31 ms | 400 KiB | 5 Q