3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = <<<JSON { "id": "1", "name": "Ankh of Mishra", "mana": [ "2" ], "cmc": "2", "type": [ "Artifact" ], "text": [ "Whenever a land enters the battlefield, Ankh of Mishra deals 2 damage to that land's controller." ], "flavor": [], "power": "", "toughness": "", "loyalty": "", "watermark": "", "set": "Limited Edition Alpha", "rarity": "Rare", "prints": [ { "set": "1E", "id": "1" }, { "set": "2E", "id": "296" }, { "set": "2U", "id": "598" }, { "set": "3E", "id": "1094" }, { "set": "4E", "id": "2017" }, { "set": "5E", "id": "3760" }, { "set": "6E", "id": "14771" }, { "set": "MED", "id": "159251" } ], "number": "", "artist": "Amy Weber" } JSON; print_r(json_decode($json, true));

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.0100.00718.31
8.3.50.0090.00921.27
8.3.40.0090.00618.75
8.3.30.0040.01119.92
8.3.20.0000.00718.57
8.3.10.0060.00321.09
8.3.00.0040.00423.70
8.2.180.0120.00316.32
8.2.170.0070.00722.96
8.2.160.0150.00020.39
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0000.00826.16
8.2.120.0000.00719.77
8.2.110.0030.00719.45
8.2.100.0040.00717.84
8.2.90.0000.00817.72
8.2.80.0080.00017.97
8.2.70.0000.00817.50
8.2.60.0040.00417.90
8.2.50.0030.00618.07
8.2.40.0000.00718.16
8.2.30.0060.00319.47
8.2.20.0000.00717.47
8.2.10.0040.00417.55
8.2.00.0040.00817.64
8.1.280.0110.00425.92
8.1.270.0000.00723.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.01219.14
8.1.230.0060.00621.03
8.1.220.0050.00317.74
8.1.210.0030.00618.89
8.1.200.0000.01017.36
8.1.190.0030.00617.50
8.1.180.0030.00518.89
8.1.170.0000.00818.57
8.1.160.0000.00818.70
8.1.150.0030.00518.64
8.1.140.0030.00517.38
8.1.130.0040.00417.83
8.1.120.0000.00717.49
8.1.110.0000.00717.27
8.1.100.0070.00017.34
8.1.90.0040.00417.45
8.1.80.0070.00017.49
8.1.70.0000.00717.29
8.1.60.0040.00417.43
8.1.50.0030.00617.43
8.1.40.0000.00917.50
8.1.30.0000.00717.59
8.1.20.0000.00817.48
8.1.10.0030.00617.38
8.1.00.0030.00617.42
8.0.300.0000.00719.81
8.0.290.0000.00717.05
8.0.280.0040.00418.44
8.0.270.0100.00017.21
8.0.260.0000.00616.77
8.0.250.0000.00817.01
8.0.240.0040.00416.95
8.0.230.0070.00016.87
8.0.220.0030.00316.88
8.0.210.0000.00816.93
8.0.200.0000.00616.86
8.0.190.0050.00317.01
8.0.180.0040.00416.82
8.0.170.0030.00316.93
8.0.160.0030.00317.02
8.0.150.0000.00716.95
8.0.140.0040.00416.91
8.0.130.0030.00313.30
8.0.120.0030.00516.84
8.0.110.0050.00316.77
8.0.100.0000.00716.97
8.0.90.0040.00416.78
8.0.80.0070.00716.90
8.0.70.0040.00416.73
8.0.60.0040.00416.98
8.0.50.0060.00316.88
8.0.30.0180.00217.05
8.0.20.0070.01217.40
8.0.10.0050.00217.01
8.0.00.0080.01016.75
7.4.330.0030.00314.90
7.4.320.0050.00216.48
7.4.300.0030.00316.36
7.4.290.0000.00816.52
7.4.280.0040.00416.46
7.4.270.0060.00016.53
7.4.260.0000.00613.27
7.4.250.0040.00416.50
7.4.240.0000.00716.45
7.4.230.0030.00316.49
7.4.220.0060.01316.43
7.4.210.0120.00516.51
7.4.200.0000.00816.59
7.4.190.0030.00316.43
7.4.160.0090.00616.23
7.4.150.0100.00917.40
7.4.140.0130.00417.86
7.4.130.0090.00916.56
7.4.120.0060.01216.59
7.4.110.0110.01116.30
7.4.100.0100.00716.62
7.4.90.0100.00716.33
7.4.80.0110.00519.39
7.4.70.0080.01116.49
7.4.60.0120.00916.47
7.4.50.0030.00616.28
7.4.40.0030.01022.77
7.4.30.0060.01116.32
7.4.00.0030.01015.08
7.3.330.0030.00313.11
7.3.320.0000.00613.14
7.3.310.0000.00716.11
7.3.300.0000.00816.23
7.3.290.0070.01016.22
7.3.280.0090.00916.24
7.3.270.0240.00717.40
7.3.260.0080.01118.24
7.3.250.0080.01116.47
7.3.240.0140.00616.14
7.3.230.0170.00616.39
7.3.210.0100.00616.16
7.3.200.0080.01419.39
7.3.190.0070.01416.55
7.3.180.0000.01616.48
7.3.170.0080.00816.27
7.3.160.0090.01216.31
7.3.120.0030.01014.78
7.2.330.0040.01116.20
7.2.320.0070.00316.22
7.2.310.0090.01516.30
7.2.300.0100.00716.31
7.2.290.0080.00816.43
7.2.60.0110.00316.75
7.2.00.0080.00419.18
7.1.200.0060.00615.72
7.1.100.0000.01118.01
7.1.70.0100.00316.88
7.1.60.0160.01019.17
7.1.50.0030.02016.89
7.1.00.0000.05322.36
7.0.200.0040.00416.40
7.0.140.0030.07321.95
7.0.100.0130.05019.98
7.0.90.0100.08320.02
7.0.80.0030.08319.86
7.0.70.0130.08319.92
7.0.60.0130.07719.84
7.0.50.0100.07020.27
7.0.40.0170.07320.13
7.0.30.0130.08020.18
7.0.20.0170.07019.95
7.0.10.0100.07320.16
7.0.00.0100.07320.10
5.6.280.0070.06721.14
5.6.250.0170.04720.59
5.6.240.0000.05720.63
5.6.230.0030.06320.71
5.6.220.0070.07720.67
5.6.210.0100.07720.62
5.6.200.0070.05020.99
5.6.190.0170.04021.04
5.6.180.0100.07721.07
5.6.170.0070.08021.10
5.6.160.0070.04721.00
5.6.150.0000.05021.16
5.6.140.0130.03321.11
5.6.130.0000.09021.11
5.6.120.0100.08321.17
5.6.110.0070.06320.93
5.6.100.0100.08321.00
5.6.90.0100.08321.02
5.6.80.0130.07020.31
5.6.70.0100.07720.50
5.6.60.0100.07320.31
5.6.50.0070.07720.43
5.6.40.0000.04720.36
5.6.30.0170.07320.36
5.6.20.0070.07720.40
5.6.10.0070.08320.48
5.6.00.0070.08320.39
5.5.380.0200.06020.49
5.5.370.0130.08020.37
5.5.360.0070.08720.40
5.5.350.0130.08320.38
5.5.340.0070.08020.86
5.5.330.0130.06720.80
5.5.320.0100.07320.89
5.5.310.0100.07720.80
5.5.300.0100.08320.88
5.5.290.0100.04020.75
5.5.280.0170.07320.78
5.5.270.0170.06720.81
5.5.260.0130.06720.85
5.5.250.0130.07720.66
5.5.240.0130.07320.15
5.5.230.0130.07320.30
5.5.220.0170.07320.13
5.5.210.0170.08020.26
5.5.200.0200.06320.25
5.5.190.0070.05320.26
5.5.180.0000.08320.27
5.5.160.0130.04320.23
5.5.150.0130.07320.24
5.5.140.0130.04320.15
5.5.130.0100.04020.24
5.5.120.0200.06720.22
5.5.110.0030.05020.20
5.5.100.0070.07320.07
5.5.90.0170.07720.00
5.5.80.0130.07720.16
5.5.70.0100.07320.08
5.5.60.0100.07720.13
5.5.50.0130.07319.96
5.5.40.0000.05320.09
5.5.30.0100.08020.13
5.5.20.0200.03720.07
5.5.10.0070.08719.97
5.5.00.0100.07319.96
5.4.450.0070.04019.31
5.4.440.0030.05319.46
5.4.430.0030.08319.26
5.4.420.0070.08019.45
5.4.410.0100.07319.09
5.4.400.0070.07319.04
5.4.390.0100.07719.23
5.4.380.0100.07318.94
5.4.370.0100.07318.91
5.4.360.0030.05018.89
5.4.350.0100.07719.18
5.4.340.0070.04319.04
5.4.320.0100.05319.09
5.4.310.0100.06719.16
5.4.300.0130.06319.19
5.4.290.0100.07019.12
5.4.280.0030.07718.84
5.4.270.0100.07719.21
5.4.260.0100.07719.18
5.4.250.0100.07719.03
5.4.240.0130.07319.22
5.4.230.0130.06719.04
5.4.220.0130.06718.84
5.4.210.0100.06319.15
5.4.200.0130.07019.06
5.4.190.0100.04319.04
5.4.180.0130.07319.21
5.4.170.0130.07019.17
5.4.160.0100.07319.02
5.4.150.0070.06019.02
5.4.140.0100.07016.45
5.4.130.0100.07016.35
5.4.120.0070.07016.42
5.4.110.0100.06016.44
5.4.100.0130.07016.47
5.4.90.0130.07016.48
5.4.80.0100.07316.45
5.4.70.0100.05716.49
5.4.60.0070.07716.37
5.4.50.0130.03016.47
5.4.40.0170.06316.54
5.4.30.0100.06716.46
5.4.20.0230.05716.24
5.4.10.0070.06716.48
5.4.00.0100.06715.88
5.3.290.0130.05014.66
5.3.280.0070.07314.66
5.3.270.0030.04714.67
5.3.260.0230.05014.66
5.3.250.0170.06314.72
5.3.240.0100.07014.73
5.3.230.0100.07014.59
5.3.220.0070.08014.60
5.3.210.0030.04014.59
5.3.200.0070.05014.56
5.3.190.0100.04014.57
5.3.180.0100.03714.55
5.3.170.0100.07314.56
5.3.160.0070.06714.49
5.3.150.0070.04014.66
5.3.140.0100.07314.48
5.3.130.0130.07314.58
5.3.120.0130.07014.67
5.3.110.0100.07714.54
5.3.100.0170.07014.10
5.3.90.0100.06314.07
5.3.80.0100.06014.11
5.3.70.0070.07014.07
5.3.60.0130.07313.91
5.3.50.0130.07014.01
5.3.40.0070.07014.04
5.3.30.0070.08013.80
5.3.20.0070.06313.59
5.3.10.0070.04013.80
5.3.00.0030.08013.76
5.2.170.0030.06311.28
5.2.160.0030.06711.07
5.2.150.0030.05711.00
5.2.140.0070.05711.07
5.2.130.0100.05711.00
5.2.120.0030.06311.02
5.2.110.0000.06711.03
5.2.100.0070.06311.18
5.2.90.0100.05710.99
5.2.80.0100.06011.10
5.2.70.0170.05011.00
5.2.60.0030.06710.98
5.2.50.0000.04711.07
5.2.40.0030.03010.90
5.2.30.0070.02710.88
5.2.20.0100.05311.11
5.2.10.0070.06311.02
5.2.00.0100.05710.63
5.1.60.0030.05010.05
5.1.50.0030.04310.05
5.1.40.0130.03310.04
5.1.30.0100.05010.32
5.1.20.0000.05710.48
5.1.10.0100.05010.19
5.1.00.0030.04310.02
5.0.50.0070.0239.15
5.0.40.0000.0409.15
5.0.30.0030.0679.15
5.0.20.0030.0339.15
5.0.10.0030.0439.15
5.0.00.0000.0709.15
4.4.90.0100.0239.15
4.4.80.0030.0309.15
4.4.70.0000.0339.15
4.4.60.0030.0379.15
4.4.50.0070.0309.15
4.4.40.0000.0539.15
4.4.30.0070.0309.15
4.4.20.0000.0179.15
4.4.10.0000.0379.15
4.4.00.0000.0609.15
4.3.110.0030.0309.15
4.3.100.0000.0239.15
4.3.90.0000.0379.15
4.3.80.0000.0539.15
4.3.70.0070.0309.15
4.3.60.0130.0239.15
4.3.50.0030.0309.15
4.3.40.0030.0509.15
4.3.30.0030.0179.15
4.3.20.0000.0409.15
4.3.10.0030.0339.15
4.3.00.0000.0379.15

preferences:
42.22 ms | 401 KiB | 5 Q