3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "\x5Bli\x5DLevel\x3A\x2023\x5B\x2Fli\x5D"; var_dump(json_decode($text)); var_dump(html_entity_decode($text));

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.0120.00616.50
8.3.50.0070.00716.13
8.3.40.0110.00418.69
8.3.30.0040.01118.54
8.3.20.0070.00020.02
8.3.10.0080.00023.61
8.3.00.0040.00422.00
8.2.180.0110.00416.38
8.2.170.0110.00422.96
8.2.160.0070.00718.93
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0070.00021.04
8.2.120.0060.00326.35
8.2.110.0090.00022.08
8.2.100.0090.00317.78
8.2.90.0000.00819.03
8.2.80.0050.00317.97
8.2.70.0080.00017.50
8.2.60.0080.00018.04
8.2.50.0040.00418.10
8.2.40.0040.00420.64
8.2.30.0080.00017.62
8.2.20.0000.00817.98
8.2.10.0000.00718.04
8.2.00.0040.00417.89
8.1.280.0110.00625.92
8.1.270.0040.00422.10
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00322.19
8.1.230.0060.00619.14
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0040.00417.10
8.1.180.0080.00418.10
8.1.170.0000.00818.34
8.1.160.0050.00318.81
8.1.150.0000.00718.90
8.1.140.0040.00419.50
8.1.130.0080.00018.73
8.1.120.0030.00317.26
8.1.110.0080.00017.34
8.1.100.0040.00417.29
8.1.90.0050.00217.45
8.1.80.0030.00317.37
8.1.70.0030.00317.27
8.1.60.0000.00817.54
8.1.50.0040.00417.38
8.1.40.0050.00317.26
8.1.30.0000.00817.56
8.1.20.0030.00517.56
8.1.10.0040.00417.45
8.1.00.0090.00017.23
8.0.300.0070.00018.77
8.0.290.0070.00016.63
8.0.280.0040.00418.37
8.0.270.0050.00217.92
8.0.260.0040.00416.60
8.0.250.0050.00216.88
8.0.240.0030.00316.89
8.0.230.0040.00416.79
8.0.220.0070.00016.71
8.0.210.0030.00316.84
8.0.200.0000.00616.84
8.0.190.0000.00816.77
8.0.180.0030.00616.86
8.0.170.0040.00416.77
8.0.160.0000.00816.70
8.0.150.0050.00216.86
8.0.140.0000.00716.80
8.0.130.0050.00313.29
8.0.120.0050.00316.80
8.0.110.0030.00316.68
8.0.100.0000.00716.84
8.0.90.0070.00016.65
8.0.80.0130.01016.83
8.0.70.0000.00716.77
8.0.60.0040.00416.70
8.0.50.0050.00316.81
8.0.30.0070.01016.92
8.0.20.0080.01017.40
8.0.10.0000.00816.76
8.0.00.0060.01016.54
7.4.330.0000.00515.55
7.4.320.0070.00016.39
7.4.300.0000.00616.38
7.4.290.0000.00716.55
7.4.280.0080.00016.28
7.4.270.0040.00416.44
7.4.260.0030.00316.43
7.4.250.0000.00716.45
7.4.240.0000.00716.53
7.4.230.0030.00316.36
7.4.220.0120.00616.55
7.4.210.0100.00816.46
7.4.200.0030.00316.48
7.4.160.0060.01016.46
7.4.150.0060.01217.40
7.4.140.0080.00917.86
7.4.130.0090.00916.29
7.4.120.0090.01016.49
7.4.110.0060.00916.43
7.4.100.0110.00716.55
7.4.90.0090.01216.52
7.4.80.0080.01119.39
7.4.70.0080.00816.49
7.4.60.0060.00916.45
7.4.50.0070.00716.30
7.4.40.0100.00616.49
7.4.30.0070.01016.42
7.4.00.0070.01014.71
7.3.330.0000.00513.05
7.3.320.0000.00612.98
7.3.310.0000.00716.03
7.3.300.0060.00016.15
7.3.290.0000.00715.99
7.3.280.0070.00916.13
7.3.270.0030.01317.40
7.3.260.0080.01016.35
7.3.250.0130.00616.26
7.3.240.0090.00816.29
7.3.230.0080.00816.21
7.3.210.0080.01516.24
7.3.200.0090.00616.17
7.3.190.0000.01616.11
7.3.180.0060.00916.46
7.3.170.0120.00616.46
7.3.160.0130.00616.25
7.3.10.0110.00416.17
7.3.00.0160.00315.99
7.2.330.0080.01116.60
7.2.320.0130.00316.40
7.2.310.0100.00616.57
7.2.300.0030.01516.50
7.2.290.0030.01316.27
7.2.130.0090.00616.27
7.2.120.0060.00916.79
7.2.110.0090.00616.14
7.2.100.0060.00616.35
7.2.90.0150.01316.26
7.2.80.0130.00616.18
7.2.70.0240.00416.49
7.2.60.0090.00816.31
7.2.50.0060.01316.35
7.2.40.0110.00616.05
7.2.30.0110.01116.11
7.2.20.0140.00415.84
7.2.10.0060.01316.13
7.2.00.0090.00717.95
7.1.250.0030.00915.34
7.1.200.0000.01115.88
7.1.100.0060.00918.16
7.1.70.0030.01017.07
7.1.60.0190.01035.05
7.1.50.0300.01034.57
7.1.40.0200.01234.52
7.1.30.0190.01334.38
7.1.20.0180.01234.57
7.1.10.0060.00616.70
7.1.00.0030.01016.63
7.0.200.0030.01016.63
7.0.190.0000.01316.76
7.0.180.0040.01116.22
7.0.170.0030.01016.07
7.0.160.0050.00816.30
7.0.150.0030.01016.20
7.0.140.0030.01016.20
7.0.130.0030.01016.33
7.0.120.0100.00316.57
7.0.110.0030.01016.16
7.0.100.0070.00716.25
7.0.90.0080.00516.33
7.0.80.0060.00616.27
7.0.70.0060.00616.03
7.0.60.0000.01316.03
7.0.50.0000.01316.20
7.0.40.0000.01316.58
7.0.30.0000.01516.34
7.0.20.0030.00916.52
7.0.10.0060.00616.23
7.0.00.0080.00416.31

preferences:
36.47 ms | 400 KiB | 5 Q