3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '\x5Bli\x5DLevel\x3A\x2023\x5B\x2Fli\x5D'; var_dump(json_decode($text, true)); var_dump(html_entity_decode($text, ENT_COMPAT, 'UTF-8'));

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.0070.01416.38
8.3.50.0110.00716.23
8.3.40.0070.00718.54
8.3.30.0080.00818.73
8.3.20.0050.00320.05
8.3.10.0090.00021.90
8.3.00.0000.00822.09
8.2.180.0030.01716.50
8.2.170.0110.00422.96
8.2.160.0040.01119.13
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0000.00821.09
8.2.120.0100.00026.35
8.2.110.0060.00322.25
8.2.100.0090.00317.59
8.2.90.0030.00519.22
8.2.80.0000.00717.97
8.2.70.0060.00317.50
8.2.60.0040.00417.91
8.2.50.0050.00518.10
8.2.40.0040.00420.23
8.2.30.0040.00419.09
8.2.20.0000.00817.98
8.2.10.0040.00418.05
8.2.00.0000.00717.89
8.1.280.0090.00625.92
8.1.270.0070.00022.18
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0060.00320.92
8.1.230.0000.01122.12
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.25
8.1.190.0000.00817.23
8.1.180.0060.00318.10
8.1.170.0030.00618.51
8.1.160.0000.00719.03
8.1.150.0030.00318.74
8.1.140.0080.00019.51
8.1.130.0070.00018.86
8.1.120.0000.00717.29
8.1.110.0070.00017.34
8.1.100.0030.00517.25
8.1.90.0000.00717.43
8.1.80.0000.00717.28
8.1.70.0000.00717.39
8.1.60.0000.00817.45
8.1.50.0040.00417.37
8.1.40.0090.00017.49
8.1.30.0060.00317.58
8.1.20.0070.00017.50
8.1.10.0050.00317.49
8.1.00.0050.00317.41
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0040.00418.49
8.0.270.0000.00717.14
8.0.260.0000.00616.75
8.0.250.0030.00316.78
8.0.240.0070.00016.91
8.0.230.0000.00716.86
8.0.220.0000.00716.84
8.0.210.0000.00816.82
8.0.200.0000.00716.85
8.0.190.0080.00016.89
8.0.180.0000.00716.84
8.0.170.0000.00816.85
8.0.160.0030.00316.74
8.0.150.0000.00716.76
8.0.140.0070.00016.71
8.0.130.0040.00413.24
8.0.120.0000.00816.81
8.0.110.0000.00716.71
8.0.100.0000.00716.84
8.0.90.0040.00416.88
8.0.80.0130.00616.82
8.0.70.0040.00416.68
8.0.60.0040.00416.80
8.0.50.0070.00016.89
8.0.30.0080.01016.83
8.0.20.0130.00617.40
8.0.10.0040.00416.85
8.0.00.0090.00916.62
7.4.330.0020.00215.55
7.4.320.0000.00616.35
7.4.300.0050.00216.43
7.4.290.0030.00316.45
7.4.280.0040.00416.57
7.4.270.0000.00716.55
7.4.260.0000.00716.46
7.4.250.0000.00816.51
7.4.240.0000.00716.30
7.4.230.0030.00316.46
7.4.220.0070.01116.50
7.4.210.0100.00316.54
7.4.200.0000.00716.19
7.4.160.0070.01116.61
7.4.150.0100.01017.40
7.4.140.0080.01017.86
7.4.130.0150.00416.55
7.4.120.0110.00716.33
7.4.110.0070.01016.33
7.4.100.0120.01216.37
7.4.90.0210.00316.47
7.4.80.0100.00619.39
7.4.70.0070.01016.32
7.4.60.0090.00616.43
7.4.50.0030.01416.53
7.4.40.0100.00716.26
7.4.30.0120.00316.33
7.4.00.0060.01214.95
7.3.330.0020.00213.05
7.3.320.0000.00712.98
7.3.310.0000.00716.20
7.3.300.0060.00016.09
7.3.290.0060.00816.15
7.3.280.0090.00716.12
7.3.270.0040.01317.40
7.3.260.0070.01116.25
7.3.250.0090.00816.43
7.3.240.0040.01516.23
7.3.230.0100.01316.43
7.3.210.0080.00816.18
7.3.200.0140.00316.22
7.3.190.0060.01016.20
7.3.180.0100.00716.11
7.3.170.0140.00316.50
7.3.160.0040.01116.12
7.3.120.0000.01814.46
7.3.110.0070.01114.64
7.3.100.0100.00314.41
7.3.90.0090.00314.49
7.3.80.0070.00714.70
7.3.70.0040.01114.63
7.3.60.0070.01014.73
7.3.50.0030.01014.72
7.3.40.0070.00714.43
7.3.30.0130.00314.54
7.3.20.0050.00516.59
7.3.10.0110.00316.47
7.3.00.0050.00616.35
7.2.330.0050.01016.19
7.2.320.0110.00516.42
7.2.310.0130.00916.24
7.2.300.0120.00916.33
7.2.290.0080.00816.22
7.2.250.0130.00615.02
7.2.240.0070.01414.90
7.2.230.0100.00715.02
7.2.220.0130.00314.97
7.2.210.0120.00314.63
7.2.200.0030.00614.71
7.2.190.0030.00614.76
7.2.180.0030.00614.51
7.2.170.0080.00814.81
7.2.130.0090.00316.75
7.2.120.0070.01016.58
7.2.110.0030.01316.43
7.2.100.0000.00916.81
7.2.90.0060.00916.79
7.2.80.0000.01516.68
7.2.70.0030.01016.61
7.2.60.0080.00416.57
7.2.50.0100.00316.61
7.2.40.0080.00316.90
7.2.30.0060.00916.80
7.2.20.0000.01616.79
7.2.10.0040.00816.46
7.2.00.0000.01217.91
7.1.330.0030.01115.76
7.1.320.0060.00915.68
7.1.310.0090.00315.75
7.1.300.0030.01015.50
7.1.290.0000.01615.55
7.1.280.0030.00915.77
7.1.270.0060.00615.52
7.1.260.0100.00315.49
7.1.250.0030.01015.75
7.1.200.0000.01015.81
7.1.100.0040.00718.16
7.1.70.0070.01017.13
7.1.60.0210.01834.82
7.1.50.0250.01434.44
7.1.40.0230.01334.29
7.1.30.0320.00334.32
7.1.20.0130.01634.54
7.1.10.0040.01016.45
7.1.00.0070.00716.61
7.0.200.0060.01016.57
7.0.190.0030.01016.54
7.0.180.0060.01116.21
7.0.170.0000.01416.05
7.0.160.0030.01016.33
7.0.150.0030.00916.24
7.0.140.0030.01016.30
7.0.130.0060.00616.39
7.0.120.0060.00616.29
7.0.110.0090.00416.16
7.0.100.0030.01016.09
7.0.90.0030.01016.27
7.0.80.0070.01016.43
7.0.70.0070.00716.37
7.0.60.0030.01015.91
7.0.50.0100.00816.18
7.0.40.0100.00316.34
7.0.30.0030.01016.44
7.0.20.0070.00716.25
7.0.10.0060.00916.32
7.0.00.0030.01116.36

preferences:
44.69 ms | 400 KiB | 5 Q