3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"code":"0","message":"","tipsid":[126893],"count":"1"}'; $rs = json_decode($json, TRUE); echo (int)$rs['tipsid'];

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.0060.00916.25
8.3.50.0130.00616.41
8.3.40.0130.00318.60
8.3.30.0150.00018.70
8.3.20.0080.00018.78
8.3.10.0000.00918.73
8.3.00.0000.00819.36
8.2.180.0090.00916.63
8.2.170.0100.01022.96
8.2.160.0080.00818.84
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0040.00421.12
8.2.110.0090.00022.29
8.2.100.0120.00617.84
8.2.90.0000.00818.34
8.2.80.0050.00318.00
8.2.70.0040.00417.63
8.2.60.0080.00018.03
8.2.50.0070.00318.07
8.2.40.0000.00919.35
8.2.30.0030.00617.68
8.2.20.0030.00617.58
8.2.10.0000.00817.71
8.2.00.0030.00617.60
8.1.280.0090.00925.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0100.01022.06
8.1.230.0090.00320.90
8.1.220.0000.00917.79
8.1.210.0030.00618.77
8.1.200.0080.00017.00
8.1.190.0000.00917.10
8.1.180.0000.00819.32
8.1.170.0060.00318.73
8.1.160.0000.00719.07
8.1.150.0030.00618.57
8.1.140.0040.00417.38
8.1.130.0070.00019.23
8.1.120.0070.00017.40
8.1.110.0040.00417.38
8.1.100.0020.00517.44
8.1.90.0030.00617.44
8.1.80.0040.00417.43
8.1.70.0000.00717.38
8.1.60.0040.00417.61
8.1.50.0080.00017.35
8.1.40.0030.00617.42
8.1.30.0090.00017.61
8.1.20.0000.00717.63
8.1.10.0000.00717.43
8.1.00.0050.00317.51
8.0.300.0000.00719.60
8.0.290.0060.00316.63
8.0.280.0040.00418.48
8.0.270.0000.00717.30
8.0.260.0000.00616.73
8.0.250.0070.00316.95
8.0.240.0030.00316.90
8.0.230.0000.00716.79
8.0.220.0020.00516.80
8.0.210.0050.00316.72
8.0.200.0030.00316.89
8.0.190.0040.00416.76
8.0.180.0040.00416.76
8.0.170.0060.00316.75
8.0.160.0030.00316.89
8.0.150.0060.00316.67
8.0.140.0030.00316.65
8.0.130.0030.00313.26
8.0.120.0000.00816.74
8.0.110.0020.00516.72
8.0.100.0040.00416.70
8.0.90.0040.00416.84
8.0.80.0040.01216.74
8.0.70.0000.00816.87
8.0.60.0000.00716.66
8.0.50.0040.00416.71
8.0.30.0090.01217.19
8.0.20.0120.00816.70
8.0.10.0030.00517.03
8.0.00.0080.01116.76
7.4.330.0000.00512.97
7.4.320.0040.00716.50
7.4.300.0000.00616.58
7.4.290.0070.00016.52
7.4.280.0000.00716.62
7.4.270.0000.00716.61
7.4.260.0000.00513.27
7.4.250.0090.00016.59
7.4.240.0070.00016.49
7.4.230.0030.00316.59
7.4.220.0100.01416.66
7.4.210.0130.00616.49
7.4.200.0000.00716.69
7.4.190.0040.00416.76
7.4.160.0120.00316.37
7.4.150.0160.00316.52
7.4.140.0140.01017.86
7.4.130.0090.01516.50
7.4.120.0060.00916.47
7.4.110.0040.01516.32
7.4.100.0030.01416.37
7.4.90.0110.00716.46
7.4.80.0080.00819.39
7.4.70.0160.00316.34
7.4.60.0130.00316.50
7.4.50.0030.00316.52
7.4.40.0060.01216.25
7.4.30.0100.00716.51
7.4.00.0100.00714.89
7.3.330.0000.00613.06
7.3.320.0000.00713.00
7.3.310.0070.00016.40
7.3.300.0030.00316.27
7.3.290.0070.00916.23
7.3.280.0060.01316.21
7.3.270.0080.00816.42
7.3.260.0150.00316.17
7.3.240.0040.01516.31
7.3.230.0040.01116.14
7.3.210.0070.01016.22
7.3.200.0190.00316.54
7.3.190.0110.00616.29
7.3.180.0080.00816.39
7.3.170.0170.00716.38
7.3.160.0040.01116.29
7.3.120.0060.00914.90
7.2.330.0070.01016.42
7.2.320.0150.00616.79
7.2.310.0060.01216.77
7.2.300.0090.00616.66
7.2.290.0070.01016.48
7.2.00.0000.01219.59
7.1.70.0070.00417.15
7.1.60.0110.01419.25
7.1.50.0040.01117.08
7.1.00.0070.05322.42
7.0.200.0000.00916.71
7.0.140.0070.07022.00
7.0.120.0030.07322.16
7.0.60.0070.08019.95
7.0.50.0130.03717.85
7.0.40.0170.03720.24
7.0.30.0430.04320.02
7.0.20.0230.07320.33
7.0.10.0130.08320.33
7.0.00.0030.04320.03
5.6.280.0100.06721.06
5.6.210.0170.08320.60
5.6.200.0170.07018.13
5.6.190.0030.08720.33
5.6.180.3630.04720.69
5.6.170.0170.05720.36
5.6.160.0070.08720.49
5.6.150.0100.04718.08
5.6.140.0100.06718.18
5.6.130.0030.07018.18
5.6.120.0130.08020.99
5.6.110.0070.09020.96
5.6.100.0070.06321.13
5.6.90.0130.03320.98
5.6.80.0070.05720.52
5.5.350.0030.05720.29
5.5.340.0100.04317.95
5.5.330.0030.04320.19
5.5.320.0300.07320.20
5.5.310.0300.06320.41
5.5.300.0030.04317.91
5.5.290.0000.08317.88
5.5.280.0130.08020.76
5.5.270.0100.08320.76
5.5.260.0200.06320.64
5.5.250.0130.03720.58
5.5.240.3900.04020.26
5.4.450.0000.05319.41
5.4.440.0100.05319.50
5.4.430.0030.05019.50
5.4.420.0070.07019.41
5.4.410.0030.08319.38
5.4.400.0170.05719.00
5.4.390.0070.08018.81
5.4.380.0030.07019.11
5.4.370.0030.07019.08
5.4.360.0070.08019.18
5.4.350.0000.04719.20
5.4.340.0000.05019.12
5.4.320.0100.07019.08
5.4.310.0030.08018.79
5.4.300.0070.04718.92
5.4.290.0030.06019.02
5.4.280.0030.08719.17
5.4.270.0030.04719.08
5.4.260.0030.03719.10
5.4.250.0030.03718.92
5.4.240.0000.04018.78
5.4.230.0130.02718.77
5.4.220.0070.03319.17
5.4.210.0070.03319.14
5.4.200.0030.03719.08
5.4.190.0000.04019.16
5.4.180.0030.03719.13
5.4.170.0070.04019.13
5.4.160.0070.03318.90
5.4.150.0070.03719.12
5.4.140.0070.03016.25
5.4.130.0030.03316.19
5.4.120.0000.03716.27
5.4.110.0000.04016.41
5.4.100.0030.03716.23
5.4.90.0030.03316.36
5.4.80.0070.03016.42
5.4.70.0000.03716.35
5.4.60.0070.03716.21
5.4.50.0100.03016.28
5.4.40.0000.03716.27
5.4.30.0030.03316.25
5.4.20.0030.03316.27
5.4.10.0000.03716.24
5.4.00.0100.03315.71
5.3.290.0100.06714.59
5.3.280.0030.03714.55
5.3.270.0000.04014.39
5.3.260.0030.03714.53
5.3.250.0000.04014.50
5.3.240.0030.03314.53
5.3.230.0000.04014.54
5.3.220.0000.03714.50
5.3.210.0000.04014.50
5.3.200.0030.03714.50
5.3.190.0070.03314.53
5.3.180.0030.03714.49
5.3.170.0030.03714.51
5.3.160.0030.03714.51
5.3.150.0030.03714.38
5.3.140.0030.03714.50
5.3.130.0000.04014.50
5.3.120.0000.04014.46
5.3.110.0000.04014.47
5.3.100.0000.05713.97
5.3.90.0000.03714.00
5.3.80.0000.04013.98
5.3.70.0000.04014.04
5.3.60.0000.04014.09
5.3.50.0070.03314.04
5.3.40.0070.06314.04
5.3.30.0030.04313.85
5.3.20.0000.04013.51
5.3.10.0030.04013.59
5.3.00.0100.04013.59
5.2.170.0070.06310.97
5.2.160.0100.03711.30
5.2.150.0030.04311.05
5.2.140.0070.06011.15
5.2.130.0000.04311.09
5.2.120.0070.03010.95
5.2.110.0070.06010.98
5.2.100.0100.02311.00
5.2.90.0070.03011.11
5.2.80.0030.03011.09
5.2.70.0070.04311.08
5.2.60.0070.03710.98
5.2.50.0070.04010.98
5.2.40.0030.03311.07
5.2.30.0030.03010.87
5.2.20.0000.03310.89
5.2.10.0070.03010.88
5.2.00.0100.04710.74
5.1.60.0130.0479.98
5.1.50.0070.04310.00
5.1.40.0070.0239.96
5.1.30.0000.02710.18
5.1.20.0070.05710.33
5.1.10.0100.02710.12
5.1.00.0170.0409.90
5.0.50.0030.0438.69
5.0.40.0030.0438.39
5.0.30.0030.0338.18
5.0.20.0030.0208.33
5.0.10.0030.0478.33
5.0.00.0000.0678.26
4.4.90.0070.0337.83
4.4.80.0000.0307.83
4.4.70.0030.0237.83
4.4.60.0030.0307.83
4.4.50.0030.0207.83
4.4.40.0030.0537.83
4.4.30.0000.0237.83
4.4.20.0070.0407.83
4.4.10.0030.0277.83
4.4.00.0070.0507.83
4.3.110.0000.0207.83
4.3.100.0000.0177.83
4.3.90.0030.0337.83
4.3.80.0030.0537.83
4.3.70.0000.0337.83
4.3.60.0030.0377.83
4.3.50.0030.0377.83
4.3.40.0030.0537.83
4.3.30.0000.0377.83
4.3.20.0000.0377.83
4.3.10.0000.0377.83
4.3.00.0030.0177.83

preferences:
47.46 ms | 401 KiB | 5 Q