3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "asString": "100000000000000.00000000000000001", "asFloat": 100000000000000.00000000000000001, "asInteger": 10000000000000000000000000000000000000000000000000000000009 }'; var_dump(json_decode($json)); var_dump(json_decode($json, flags: JSON_BIGINT_AS_STRING));

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.30.0090.01019.63
8.5.20.0100.00719.36
8.5.10.0120.00420.21
8.5.00.0130.00721.80
8.4.180.0170.00525.76
8.4.170.0120.01119.58
8.4.160.0120.00923.89
8.4.150.0080.00516.85
8.4.140.0140.00817.39
8.4.130.0130.00717.91
8.4.120.0090.01120.45
8.4.110.0150.00518.75
8.4.100.0060.00417.61
8.4.90.0120.00917.67
8.4.80.0050.00419.55
8.4.70.0060.00517.98
8.4.60.0040.00418.89
8.4.50.0030.00618.73
8.4.40.0130.00320.54
8.4.30.0090.00918.83
8.4.20.0140.00719.39
8.4.10.0030.00623.95
8.3.300.0130.00720.24
8.3.290.0120.00818.29
8.3.280.0130.00718.16
8.3.270.0140.00516.64
8.3.260.0100.00916.52
8.3.250.0100.00918.75
8.3.240.0100.01016.73
8.3.230.0150.00416.42
8.3.220.0100.00816.49
8.3.210.0110.00718.43
8.3.200.0050.00416.51
8.3.190.0060.00218.79
8.3.180.0060.01216.29
8.3.170.0060.01317.16
8.3.160.0120.00319.97
8.3.150.0090.00916.99
8.3.140.0000.00818.24
8.3.130.0060.00316.49
8.3.120.0130.00618.78
8.3.110.0150.00420.94
8.3.100.0040.00424.06
8.3.90.0100.00026.77
8.3.80.0060.00318.18
8.3.70.0070.00716.58
8.3.60.0160.00616.38
8.3.50.0070.01420.14
8.3.40.0040.01120.04
8.3.30.0070.01418.57
8.3.20.0050.00324.18
8.3.10.0030.00524.66
8.3.00.0040.01126.16
8.2.300.0090.01017.92
8.2.290.0130.00618.76
8.2.280.0100.00918.52
8.2.270.0030.01517.20
8.2.260.0120.00620.43
8.2.250.0040.00418.55
8.2.240.0150.00016.81
8.2.230.0030.00622.58
8.2.220.0000.00837.54
8.2.210.0080.00026.77
8.2.200.0090.00016.75
8.2.190.0100.01016.58
8.2.180.0140.00425.92
8.2.170.0070.00718.74
8.2.160.0140.00022.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0040.00419.71
8.2.110.0030.00720.35
8.2.100.0100.00020.53
8.1.340.0110.00917.52
8.1.330.0050.00516.15
8.1.320.0120.00816.13
8.1.310.0070.01018.53
8.1.300.0050.00518.32
8.1.290.0080.00030.84
8.1.280.0110.00425.92
8.1.270.0090.00024.66
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00618.50
8.1.230.0000.01018.61
8.1.130.0080.00117.38

preferences:
45.49 ms | 887 KiB | 5 Q