3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "ID":"5454126" ,"class":"ObjectClassRAJ" }'; $ch =json_decode($json,true); echo $ch["ID"];

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.10.0090.00816.80
8.5.00.0120.00820.06
8.4.150.0020.00114.05
8.4.140.0090.01217.58
8.4.130.0110.01117.81
8.4.120.0060.00320.60
8.4.110.0070.01022.34
8.4.100.0130.00819.56
8.4.90.0060.00318.76
8.4.80.0120.00919.34
8.4.70.0100.00917.80
8.4.60.0090.01018.87
8.4.50.0090.01018.94
8.4.40.0080.00019.49
8.4.30.0060.00317.61
8.4.20.0100.01020.34
8.4.10.0090.00617.71
8.3.280.0060.00318.36
8.3.270.0110.00916.30
8.3.260.0050.00416.39
8.3.250.0110.00718.83
8.3.240.0090.01116.26
8.3.230.0090.01016.73
8.3.220.0110.00716.92
8.3.210.0050.00318.48
8.3.200.0050.00316.74
8.3.190.0030.00516.91
8.3.180.0060.00716.50
8.3.170.0110.00718.67
8.3.160.0000.00820.03
8.3.150.0120.00616.39
8.3.140.0000.00817.05
8.3.130.0090.01316.54
8.3.120.0040.00418.95
8.3.110.0120.00820.94
8.3.100.0120.00324.06
8.3.90.0020.00526.77
8.3.80.0040.00816.50
8.3.70.0110.00616.58
8.3.60.0130.00618.31
8.3.50.0060.00918.12
8.3.40.0070.00718.69
8.3.30.0110.00418.67
8.3.20.0050.00318.77
8.3.10.0040.00421.77
8.3.00.0040.00421.76
8.2.290.0130.00520.48
8.2.280.0120.00818.13
8.2.270.0110.00719.09
8.2.260.0040.00416.75
8.2.250.0000.00818.34
8.2.240.0040.00418.79
8.2.230.0030.00522.58
8.2.220.0120.00337.54
8.2.210.0080.00026.77
8.2.200.0070.00316.63
8.2.190.0120.00616.75
8.2.180.0060.01225.92
8.2.170.0140.00718.84
8.2.160.0080.00522.96
8.2.150.0090.00925.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0030.00520.54
8.2.110.0000.00822.15
8.2.100.0110.00017.97
8.2.90.0050.00317.75
8.2.80.0040.00417.97
8.2.70.0000.01118.05
8.2.60.0000.00718.03
8.2.50.0030.00618.10
8.2.40.0060.00319.48
8.2.30.0000.00719.38
8.2.20.0050.00318.13
8.2.10.0080.00018.25
8.2.00.0060.00317.59
8.1.330.0120.00621.89
8.1.320.0120.00715.98
8.1.310.0120.00618.30
8.1.300.0060.00318.16
8.1.290.0040.00430.84
8.1.280.0070.01025.92
8.1.270.0070.00024.66
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00623.87
8.1.230.0080.00920.95
8.1.220.0070.00317.74
8.1.210.0040.00418.77
8.1.200.0040.00417.11
8.1.190.0030.00617.23
8.1.180.0030.00618.10
8.1.170.0000.00818.50
8.1.160.0000.00718.89
8.1.150.0000.00818.88
8.1.140.0040.00421.96
8.1.130.0000.00620.09
8.1.120.0030.00317.38
8.1.110.0030.00417.38
8.1.100.0080.00017.31
8.1.90.0090.00017.33
8.1.80.0080.00017.41
8.1.70.0000.00717.37
8.1.60.0050.00517.48
8.1.50.0050.00317.37
8.1.40.0000.00717.45
8.1.30.0040.00417.56
8.1.20.0000.00817.50
8.1.10.0000.00817.59
8.1.00.0050.00317.40
8.0.300.0070.00018.77
8.0.290.0060.00316.75
8.0.280.0030.00318.49
8.0.270.0040.00417.18
8.0.260.0000.00720.11
8.0.250.0000.00716.86
8.0.240.0060.00016.99
8.0.230.0000.00716.93
8.0.220.0000.00716.89
8.0.210.0000.00716.75
8.0.200.0040.00416.89
8.0.190.0050.00316.94
8.0.180.0080.00016.81
8.0.170.0050.00316.88
8.0.160.0040.00416.83
8.0.150.0030.00616.79
8.0.140.0000.00716.82
8.0.130.0000.00513.30
8.0.120.0000.00816.80
8.0.110.0050.00216.87
8.0.100.0000.00716.64
8.0.90.0000.00716.95
8.0.80.0090.00616.75
8.0.70.0040.00316.83
8.0.60.0000.00816.87
8.0.50.0070.00016.92
8.0.30.0070.01017.00
8.0.20.0070.01617.40
8.0.10.0070.00016.84
8.0.00.0060.01116.66
7.4.330.0030.00315.55
7.4.320.0040.00416.38
7.4.300.0060.00016.58
7.4.290.0030.00316.39
7.4.280.0000.00716.33
7.4.270.0030.00316.40
7.4.260.0030.00316.57
7.4.250.0030.00316.35
7.4.240.0040.00416.59
7.4.230.0000.00716.54
7.4.220.0000.00816.55
7.4.210.0070.00916.45
7.4.200.0040.00416.47
7.4.160.0090.00916.43
7.4.140.0100.00817.86
7.4.130.0070.01116.46
7.4.120.0100.00816.48
7.4.110.0100.00716.40
7.4.100.0110.01216.45
7.4.90.0060.01216.42
7.4.80.0080.00819.39
7.4.70.0090.00816.48
7.4.60.0110.00716.31
7.4.50.0040.01416.61
7.4.40.0100.01316.59
7.4.10.0110.00314.61
7.4.00.0110.00614.98
7.3.330.0000.00513.00
7.3.320.0000.00613.15
7.3.310.0070.00016.25
7.3.300.0030.00316.16
7.3.290.0070.00016.07
7.3.280.0110.00916.19
7.3.260.0110.00816.34
7.3.240.0090.00916.37
7.3.230.0130.00316.16
7.3.210.0100.01316.44
7.3.200.0100.00716.23
7.3.190.0120.00916.45
7.3.180.0140.00316.31
7.3.170.0130.00316.29
7.3.160.0030.01616.46
7.3.130.0110.00414.52
7.3.120.0080.00314.66
7.3.110.0000.01514.69
7.3.100.0100.00314.92
7.3.90.0000.01514.97
7.3.80.0060.00614.67
7.3.70.0070.00314.77
7.3.60.0130.00314.76
7.3.50.0030.01014.94
7.3.40.0090.00614.64
7.3.30.0090.00614.79
7.3.20.0060.00616.32
7.3.10.0030.00716.45
7.3.00.0040.00716.75
7.2.330.0120.01216.71
7.2.320.0130.00716.62
7.2.310.0080.00816.46
7.2.300.0110.00616.49
7.2.290.0060.01116.41
7.2.260.0040.01514.94
7.2.250.0030.01215.26
7.2.240.0130.00314.79
7.2.230.0040.00814.70
7.2.220.0000.01515.00
7.2.210.0030.01315.25
7.2.200.0070.00714.96
7.2.190.0100.00314.77
7.2.180.0000.01015.00
7.2.170.0030.01014.62
7.2.160.0070.00714.87
7.2.150.0060.00616.81
7.2.140.0030.01416.85
7.2.130.0030.01416.76
7.2.120.0070.00716.99
7.2.110.0930.00815.55
7.2.100.1140.00315.67
7.2.90.1300.00915.72
7.2.80.1230.00415.73
7.2.70.1400.00815.74
7.2.60.1390.00515.77
7.2.50.1430.01015.80
7.2.40.1480.00915.95
7.2.30.1450.01215.84
7.2.20.1260.00815.82
7.2.10.1600.00515.94
7.2.00.1440.00415.84
7.1.330.0060.00915.95
7.1.320.0000.01515.93
7.1.310.0040.01115.95
7.1.300.0080.00015.68
7.1.290.0040.01115.89
7.1.280.0030.01315.59
7.1.270.0090.00315.75
7.1.260.0110.00415.93
7.1.250.0090.00615.47
7.1.240.0140.00015.56
7.1.230.1220.00814.64
7.1.220.1410.00814.82
7.1.210.1210.00814.89
7.1.200.1310.00814.92
7.1.190.1520.00514.69
7.1.180.1440.00814.54
7.1.170.1570.01014.65
7.1.160.1500.00914.60
7.1.150.1390.00814.78
7.1.140.1400.01114.73
7.1.130.1420.00914.83
7.1.120.1640.00814.68
7.1.110.1430.00814.79
7.1.100.0390.00814.82
7.1.90.0100.00714.64
7.1.80.0670.00614.66
7.1.70.0610.00814.57
7.1.60.1390.00823.82
7.1.50.0320.00823.67
7.1.40.1000.00923.88
7.1.30.1270.01423.89
7.1.20.0990.01123.65
7.1.10.0080.00714.71
7.1.00.0330.00214.78
7.0.330.0100.00615.16
7.0.320.0040.01115.09
7.0.310.0000.01015.40
7.0.300.0090.00315.37
7.0.290.0030.00515.00
7.0.280.0070.01015.17
7.0.270.0040.00815.29
7.0.260.0030.01215.38
7.0.250.0040.01115.40
7.0.240.0060.00315.55
7.0.230.0060.00915.17
7.0.220.0030.01015.21
7.0.210.0040.00815.38
7.0.200.0030.00615.13
7.0.190.0090.00615.35
7.0.180.0070.01015.28
7.0.170.0080.00515.30
7.0.160.0120.00015.50
7.0.150.0000.01015.16
7.0.140.0040.01215.47
7.0.130.0060.00915.01
7.0.120.0060.00915.24
7.0.110.0090.00615.48
7.0.100.0000.01215.56
7.0.90.0070.01015.41
7.0.80.0100.00715.21
7.0.70.0130.00315.50
7.0.60.0030.01015.10
7.0.50.0040.00815.47
7.0.40.0040.00813.56
7.0.30.0040.01113.55
7.0.20.0060.00613.59
7.0.10.0040.01113.57
7.0.00.0060.00313.46
5.6.400.0000.01414.58
5.6.390.0070.00714.09
5.6.380.0090.00614.52
5.6.370.0030.00614.24
5.6.360.0120.00014.23
5.6.350.0000.01514.31
5.6.340.0060.00314.55
5.6.330.0100.00314.29
5.6.320.0030.00614.37
5.6.310.0040.00814.24
5.6.300.0060.00914.12
5.6.290.0040.01413.85
5.6.280.0060.00914.47
5.6.270.0060.00314.12
5.6.260.0100.00014.04
5.6.250.0030.01214.57
5.6.240.0070.01114.47
5.6.230.0060.00914.59
5.6.220.0100.00314.57
5.6.210.0000.00914.37
5.6.200.0040.01114.44
5.6.190.0000.01414.43
5.6.180.0100.00314.25
5.6.170.0040.01114.37
5.6.160.0070.01014.38
5.6.150.0070.01014.55
5.6.140.0030.01014.37
5.6.130.0060.00314.60
5.6.120.0070.00714.53
5.6.110.0100.00314.24
5.6.100.0090.00314.07
5.6.90.0140.00014.22
5.6.80.0040.00414.18
5.6.70.0060.00614.31
5.6.60.0130.00314.18
5.6.50.0030.01013.98
5.6.40.0000.01414.14
5.6.30.0030.00914.19
5.6.20.0000.01314.18
5.6.10.0030.00514.39
5.6.00.0060.00614.14

preferences:
83.69 ms | 403 KiB | 5 Q