3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"multicast_id":123456,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"InvalidRegistration"}]}'; $data = json_decode($json); print_r($data);

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.0080.01216.63
8.3.50.0130.01022.06
8.3.40.0120.00318.77
8.3.30.0060.00819.14
8.3.20.0040.00420.33
8.3.10.0070.00021.69
8.3.00.0140.00017.38
8.2.180.0150.00618.27
8.2.170.0160.00622.96
8.2.160.0040.01422.08
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0040.00719.54
8.2.110.0060.00319.36
8.2.100.0120.00017.75
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0050.00217.80
8.2.50.0030.00618.07
8.2.40.0040.00418.02
8.2.30.0000.00817.98
8.2.20.0040.00417.61
8.2.10.0070.00018.05
8.2.00.0050.00217.67
8.1.280.0130.00925.92
8.1.270.0030.00618.81
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00622.00
8.1.230.0040.00817.42
8.1.220.0050.00217.79
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0030.00517.23
8.1.180.0000.00818.10
8.1.170.0030.00620.35
8.1.160.0000.00721.95
8.1.150.0070.00018.77
8.1.140.0040.00417.39
8.1.130.0000.00717.82
8.1.120.0070.00017.38
8.1.110.0040.00417.28
8.1.100.0000.00817.39
8.1.90.0000.00717.29
8.1.80.0000.00817.36
8.1.70.0030.00317.38
8.1.60.0080.00017.44
8.1.50.0000.00817.30
8.1.40.0040.00417.34
8.1.30.0050.00317.58
8.1.20.0000.00817.46
8.1.10.0040.00417.34
8.1.00.0000.00817.33
8.0.300.0070.00018.77
8.0.290.0080.00016.63
8.0.280.0000.00718.34
8.0.270.0070.00017.10
8.0.260.0030.00317.30
8.0.250.0030.00316.85
8.0.240.0000.00716.86
8.0.230.0070.00016.91
8.0.220.0030.00316.68
8.0.210.0030.00516.73
8.0.200.0060.00016.92
8.0.190.0040.00416.93
8.0.180.0050.00216.76
8.0.170.0030.00616.85
8.0.160.0000.00816.83
8.0.150.0000.00716.61
8.0.140.0040.00416.79
8.0.130.0000.00613.25
8.0.120.0020.00516.65
8.0.110.0000.00716.67
8.0.100.0040.00416.89
8.0.90.0040.00416.62
8.0.80.0070.01016.83
8.0.70.0070.00016.70
8.0.60.0040.00416.66
8.0.50.0040.00416.89
8.0.30.0120.01016.86
8.0.20.0110.00817.40
8.0.10.0040.00417.00
8.0.00.0060.01116.60
7.4.330.0000.00615.03
7.4.320.0000.00716.39
7.4.300.0000.00616.52
7.4.290.0070.00016.56
7.4.280.0060.00316.43
7.4.270.0040.00416.56
7.4.260.0000.00716.51
7.4.250.0040.00416.48
7.4.240.0050.00216.57
7.4.230.0000.00716.34
7.4.220.0090.00916.46
7.4.210.0090.00916.48
7.4.200.0070.00016.38
7.4.160.0110.00416.29
7.4.150.0110.00717.40
7.4.140.0080.00917.86
7.4.130.0080.00816.42
7.4.120.0100.00716.30
7.4.110.0070.01116.59
7.4.100.0100.00716.34
7.4.90.0130.00416.39
7.4.80.0100.01019.39
7.4.70.0060.01016.60
7.4.60.0100.00716.38
7.4.50.0040.00416.28
7.4.40.0110.00516.51
7.4.30.0130.00616.51
7.4.00.0040.01214.58
7.3.330.0060.00013.05
7.3.320.0050.00913.13
7.3.310.0040.00416.18
7.3.300.0050.00316.05
7.3.290.0060.00716.13
7.3.280.0120.00616.11
7.3.270.0360.01817.40
7.3.260.0160.00616.45
7.3.250.0080.01116.21
7.3.240.0090.01316.24
7.3.230.0110.00716.39
7.3.210.0030.01616.06
7.3.200.0130.00919.39
7.3.190.0030.01516.16
7.3.180.0150.00316.23
7.3.170.0100.00716.27
7.3.160.0110.00716.43
7.3.10.0060.00916.77
7.3.00.0090.00316.48
7.2.330.0080.00816.37
7.2.320.0060.00916.54
7.2.310.0030.01316.51
7.2.300.0060.00916.61
7.2.290.0130.01016.55
7.2.130.0100.00716.72
7.2.120.0070.01016.55
7.2.110.0090.00316.94
7.2.100.0060.00316.71
7.2.90.0030.00916.77
7.2.80.0080.00416.86
7.2.70.0030.00616.48
7.2.60.0030.00916.73
7.2.50.0070.00716.92
7.2.40.0040.00716.73
7.2.30.0060.00716.76
7.2.20.0040.01216.86
7.2.10.0000.01416.71
7.2.00.0040.00918.02
7.1.250.0030.00615.52
7.1.100.0030.01018.08
7.1.70.0040.00417.07
7.1.60.0070.01719.46
7.1.50.0000.01216.98
7.1.00.0000.07722.28
7.0.200.0040.01116.75
7.0.140.0000.03722.20
7.0.70.4130.04019.96
7.0.60.0100.03319.81
7.0.50.0030.04317.76
7.0.40.0030.08020.11
7.0.30.0270.07720.23
7.0.20.0330.07320.07
7.0.10.0400.07720.16
7.0.00.0130.08320.23
5.6.280.0130.06320.99
5.6.210.0070.08020.71
5.6.200.0030.07718.16
5.6.190.0130.07020.47
5.6.180.0270.06020.43
5.6.170.0400.07720.50
5.6.160.0100.08020.45
5.6.150.0000.08718.18
5.6.140.0030.08318.11
5.6.130.0100.03718.18
5.6.120.0030.04721.08
5.6.110.0170.07321.07
5.6.100.0100.07021.13
5.6.90.0130.05720.96
5.6.80.0200.04320.50
5.6.70.0200.04720.27
5.5.350.0070.04020.31
5.5.340.0070.08017.99
5.5.330.0100.08020.23
5.5.320.0030.08320.31
5.5.310.0200.08320.39
5.5.300.0070.04718.08
5.5.290.0030.09017.94
5.5.280.0030.08720.86
5.5.270.0170.07720.86
5.5.260.0200.07020.76
5.5.250.0030.10320.75
5.5.240.0070.03720.34
5.4.450.0500.07319.47
5.4.440.0200.05719.61
5.4.430.0300.05019.49
5.4.420.0100.06719.60
5.4.410.0270.05319.05
5.4.400.0130.05018.77
5.4.390.0200.05018.70
5.4.380.0070.06318.59
5.4.370.0170.05018.52
5.4.360.0230.04318.50
5.4.350.0200.05018.82
5.4.340.0130.05318.50
5.4.320.0130.05318.62
5.4.310.0100.06018.79
5.4.300.0070.06018.78
5.4.290.0030.06018.78
5.4.280.0130.05318.72
5.4.270.0130.05718.66
5.4.260.0170.05318.49
5.4.250.0170.06318.48
5.4.240.0130.05718.61
5.4.230.0200.05718.47
5.4.220.0200.05018.48
5.4.210.0270.06718.48
5.4.200.0130.05016.67
5.4.190.0200.04718.71
5.4.180.0270.04018.75
5.4.170.0170.05318.60
5.4.160.0170.05018.71
5.4.150.0100.05718.48
5.4.140.0100.05316.31
5.4.130.0030.06016.30
5.4.120.0130.05016.33
5.4.110.0230.04016.30
5.4.100.0300.03716.40
5.4.90.0130.05716.26
5.4.80.0200.04716.42
5.4.70.0200.04716.25
5.4.60.0170.05016.18
5.4.50.0170.04716.21
5.4.40.0130.05716.21
5.4.30.0200.04716.20
5.4.20.0230.04016.39
5.4.10.0100.05316.26
5.4.00.0130.05015.61
5.3.290.0170.05314.69
5.3.280.0070.06014.75
5.3.270.0130.05714.70
5.3.260.0170.05314.70
5.3.250.0100.05714.62
5.3.240.0100.06014.63
5.3.230.0200.04714.81
5.3.220.0200.04714.60
5.3.210.0100.08314.67
5.3.200.0170.05014.62
5.3.190.0100.05714.54
5.3.180.0130.05314.55
5.3.170.0170.05014.72
5.3.160.0230.04314.55
5.3.150.0130.05314.50
5.3.140.0170.05014.53
5.3.130.0070.06014.53
5.3.120.0130.05714.76
5.3.110.0200.04714.59
5.3.100.0070.06014.23
5.3.90.0230.04714.21
5.3.80.0230.05014.06
5.3.70.0070.05714.05
5.3.60.0200.05014.04
5.3.50.0200.04313.97
5.3.40.0100.05714.11
5.3.30.0130.05014.02
5.3.20.0170.04713.69
5.3.10.0200.04313.77
5.3.00.0130.07013.61
5.2.170.0070.04711.13
5.2.160.0130.03711.38
5.2.150.0100.04311.16
5.2.140.0130.04011.13
5.2.130.0130.04311.13
5.2.120.0170.04011.20
5.2.110.0170.03311.07
5.2.100.0130.03711.14
5.2.90.0170.03311.14
5.2.80.0130.04011.12
5.2.70.0170.03711.19
5.2.60.0130.04011.16
5.2.50.0200.03011.05
5.2.40.0130.03710.96
5.2.30.0130.03711.02
5.2.20.0070.04311.00
5.2.10.0130.03710.85
5.2.00.0230.04310.73
5.1.60.0200.0239.96
5.1.50.0030.04010.00
5.1.40.0130.0379.99
5.1.30.0130.03010.37
5.1.20.0200.02310.39
5.1.10.0100.03310.08
5.1.00.0100.03710.18
5.0.50.0070.0278.61
5.0.40.0100.0238.46
5.0.30.0030.0438.28
5.0.20.0030.0308.22
5.0.10.0030.0308.20
5.0.00.0130.0338.28
4.4.90.0000.0275.89
4.4.80.0030.0235.91
4.4.70.0070.0205.85
4.4.60.0070.0205.82
4.4.50.0070.0205.95
4.4.40.0030.0375.90
4.4.30.0070.0205.89
4.4.20.0030.0235.90
4.4.10.0000.0275.91
4.4.00.0070.0335.96
4.3.110.0030.0235.79
4.3.100.0130.0135.80
4.3.90.0030.0205.79
4.3.80.0030.0375.78
4.3.70.0070.0175.82
4.3.60.0070.0205.82
4.3.50.0070.0205.81
4.3.40.0000.0375.74
4.3.30.0070.0174.67
4.3.20.0070.0204.67
4.3.10.0030.0234.50
4.3.00.0100.0236.91

preferences:
42.96 ms | 401 KiB | 5 Q