3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = json_decode('[{"Status":"FAILED","Message":"Trasaction Already Exist"}]', TRUE); $status=$json[0]["Status"]; $Message=$json[0]["Message"]; echo $Message; print_r($json);

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.70.0130.01018.18
8.3.60.0070.00718.30
8.3.50.0070.00717.91
8.3.40.0160.00018.69
8.3.30.0080.01218.89
8.3.20.0080.00021.78
8.3.10.0040.00420.48
8.3.00.0060.00317.63
8.2.190.0160.00316.58
8.2.180.0100.01016.60
8.2.170.0100.00522.96
8.2.160.0070.00722.31
8.2.150.0050.00324.18
8.2.140.0030.00624.66
8.2.130.0050.00326.16
8.2.120.0040.00419.76
8.2.110.0050.00521.18
8.2.100.0120.00017.79
8.2.90.0080.00018.34
8.2.80.0030.00619.27
8.2.70.0060.00317.50
8.2.60.0080.00017.93
8.2.50.0050.00518.07
8.2.40.0030.00618.08
8.2.30.0040.00418.19
8.2.20.0040.00418.11
8.2.10.0040.00419.25
8.2.00.0000.00818.04
8.1.280.0090.00625.92
8.1.270.0040.00420.33
8.1.260.0000.00926.35
8.1.250.0000.00828.09
8.1.240.0150.00017.12
8.1.230.0000.01120.81
8.1.220.0050.00317.74
8.1.210.0030.00620.24
8.1.200.0030.00617.23
8.1.190.0060.00317.22
8.1.180.0040.00418.10
8.1.170.0050.00318.52
8.1.160.0050.00318.82
8.1.150.0040.00418.88
8.1.140.0050.00318.70
8.1.130.0000.00720.12
8.1.120.0000.00717.28
8.1.110.0040.00417.39
8.1.100.0050.00217.41
8.1.90.0000.00717.36
8.1.80.0000.00817.37
8.1.70.0000.00717.41
8.1.60.0040.00417.50
8.1.50.0000.00817.46
8.1.40.0030.00617.47
8.1.30.0040.00417.65
8.1.20.0030.00617.50
8.1.10.0070.00017.58
8.1.00.0050.00317.39
8.0.300.0000.00720.04
8.0.290.0000.00716.63
8.0.280.0030.00318.45
8.0.270.0060.00316.83
8.0.260.0060.00018.36
8.0.250.0050.00216.97
8.0.240.0060.00016.91
8.0.230.0000.00816.88
8.0.220.0030.00716.75
8.0.210.0040.00416.82
8.0.200.0030.00316.75
8.0.190.0000.00716.93
8.0.180.0000.00816.92
8.0.170.0030.00516.84
8.0.160.0000.00716.86
8.0.150.0000.00716.70
8.0.140.0000.00716.68
8.0.130.0000.00613.29
8.0.120.0030.00616.80
8.0.110.0000.00816.88
8.0.100.0020.00516.63
8.0.90.0040.00416.91
8.0.80.0070.01216.78
8.0.70.0040.00416.63
8.0.60.0040.00416.69
8.0.50.0070.00016.68
8.0.30.0130.00517.08
8.0.20.0120.01017.21
8.0.10.0040.00416.97
8.0.00.0070.01216.64
7.4.330.0020.00215.55
7.4.320.0080.00016.37
7.4.300.0060.00016.43
7.4.290.0070.00016.45
7.4.280.0040.00416.29
7.4.270.0080.00016.46
7.4.260.0030.00616.43
7.4.250.0070.00016.27
7.4.240.0000.00716.55
7.4.230.0070.00016.29
7.4.220.0060.00316.43
7.4.210.0120.00416.50
7.4.200.0040.00416.60
7.4.160.0080.01016.49
7.4.140.0090.01217.86
7.4.130.0040.01416.48
7.4.120.0120.00816.57
7.4.110.0100.00716.34
7.4.100.0130.01116.45
7.4.90.0130.00316.59
7.4.80.0090.00919.39
7.4.70.0090.00916.46
7.4.60.0040.01216.55
7.4.50.0030.01016.17
7.4.40.0120.00916.26
7.4.00.0080.00315.12
7.3.330.0000.00513.21
7.3.320.0000.00613.14
7.3.310.0000.00716.21
7.3.300.0030.00316.31
7.3.290.0040.00416.39
7.3.280.0100.00516.27
7.3.260.0100.01016.51
7.3.240.0090.00916.37
7.3.230.0110.00716.32
7.3.210.0150.00616.28
7.3.200.0100.01016.16
7.3.190.0160.00616.50
7.3.180.0100.00616.35
7.3.170.0060.01016.43
7.3.160.0040.01316.58
7.3.10.1250.01014.71
7.3.00.1540.00314.83
7.2.330.0060.01516.69
7.2.320.0090.00916.58
7.2.310.0070.01016.49
7.2.300.0110.00816.37
7.2.290.0080.00816.65
7.2.130.1250.01314.96
7.2.120.1720.01014.64
7.2.110.1180.00714.93
7.2.100.1690.01014.57
7.2.90.1510.00314.71
7.2.80.1810.00714.72
7.2.70.1650.01014.88
7.2.60.1200.00314.59
7.2.50.1320.00015.01
7.2.40.1260.01715.00
7.2.30.1420.00314.72
7.2.20.1370.00714.72
7.2.10.1350.00714.68
7.2.00.1510.01015.04
7.1.250.1390.01013.92

preferences:
20.58 ms | 401 KiB | 5 Q