3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "&#195;&#x20ac;"; $string = html_entity_decode($string, ENT_COMPAT | ENT_HTML401, 'utf-8'); $string_result = "À"; echo "<br>This: " . $string; echo "<br>Should become: " . ($string_result);

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.01018.43
8.3.50.0110.00716.10
8.3.40.0090.00618.64
8.3.30.0090.00618.60
8.3.20.0070.00020.13
8.3.10.0040.00421.60
8.3.00.0050.00317.22
8.2.180.0140.00016.38
8.2.170.0130.00622.96
8.2.160.0130.00320.28
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0000.00819.27
8.2.120.0030.00526.35
8.2.110.0040.00821.04
8.2.100.0110.00018.03
8.2.90.0050.00319.23
8.2.80.0040.00417.97
8.2.70.0080.00417.23
8.2.60.0040.00417.79
8.2.50.0040.00418.10
8.2.40.0000.00920.59
8.2.30.0080.00321.09
8.2.20.0000.00718.05
8.2.10.0080.00018.16
8.2.00.0020.00517.98
8.1.280.0100.01025.92
8.1.270.0030.00524.02
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00324.03
8.1.230.0040.00719.04
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.00817.35
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0000.00818.96
8.1.160.0000.00719.05
8.1.150.0000.00720.59
8.1.140.0030.00619.53
8.1.130.0030.00318.71
8.1.120.0040.00417.31
8.1.110.0000.00817.30
8.1.100.0000.00817.37
8.1.90.0000.00717.41
8.1.80.0000.00717.40
8.1.70.0000.00717.30
8.1.60.0000.00817.52
8.1.50.0040.00417.44
8.1.40.0030.00617.43
8.1.30.0000.00817.50
8.1.20.0040.00417.57
8.1.10.0080.00017.54
8.1.00.0020.00517.47
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0000.00718.43
8.0.270.0080.00017.16
8.0.260.0030.00316.66
8.0.250.0030.00316.94
8.0.240.0000.00716.87
8.0.230.0030.00716.83
8.0.220.0000.00816.90
8.0.210.0050.00316.86
8.0.200.0030.00316.95
8.0.190.0030.00616.94
8.0.180.0000.00816.91
8.0.170.0030.00516.79
8.0.160.0080.00016.90
8.0.150.0050.00516.87
8.0.140.0050.00316.85
8.0.130.0000.00513.31
8.0.120.0000.00716.84
8.0.110.0070.00016.70
8.0.100.0070.00016.67
8.0.90.0000.00816.64
8.0.80.0000.01516.78
8.0.70.0020.00516.86
8.0.60.0050.00216.88
8.0.50.0000.00716.81
8.0.30.0140.00616.98
8.0.20.0100.01117.40
8.0.10.0040.00416.71
8.0.00.0100.01616.77
7.4.330.0000.00515.55
7.4.320.0000.00716.38
7.4.300.0000.00616.44
7.4.290.0030.00616.40
7.4.280.0000.00716.41
7.4.270.0050.00216.47
7.4.260.0000.01016.36
7.4.250.0000.00816.38
7.4.240.0030.00516.52
7.4.230.0030.00316.54
7.4.220.0180.00016.45
7.4.210.0080.01016.41
7.4.200.0000.00716.62
7.4.160.0100.00816.39
7.4.150.0080.00817.40
7.4.140.0100.01117.86
7.4.130.0150.00316.55
7.4.120.0110.00816.51
7.4.110.0140.00716.54
7.4.100.0100.00616.54
7.4.90.0170.00016.40
7.4.80.0070.01419.39
7.4.70.0030.01816.41
7.4.60.0000.01616.50
7.4.50.0030.01016.59
7.4.40.0130.00316.39
7.4.30.0060.01616.28
7.4.00.0060.00914.77
7.3.330.0060.00012.92
7.3.320.0030.00313.12
7.3.310.0000.00716.17
7.3.300.0030.00316.18
7.3.290.0030.00316.21
7.3.280.0120.00516.21
7.3.270.0080.00817.40
7.3.260.0080.01116.29
7.3.250.0120.00816.26
7.3.240.0070.01216.33
7.3.230.0120.00616.26
7.3.210.0030.02016.28
7.3.200.0060.01116.58
7.3.190.0100.00716.22
7.3.180.0060.00916.21
7.3.170.0080.00816.41
7.3.160.0110.00616.12
7.3.10.0100.00716.36
7.3.00.0090.00316.64
7.2.330.0100.00716.63
7.2.320.0110.00716.80
7.2.310.0130.00316.67
7.2.300.0100.00716.62
7.2.290.0140.00216.80
7.2.130.0070.00716.88
7.2.120.0040.01116.66
7.2.110.0120.00816.62
7.2.100.0100.01016.79
7.2.90.0470.00915.65
7.2.80.0380.01015.55
7.2.70.0330.00916.01
7.2.60.1370.01115.80
7.2.50.0400.00315.68
7.2.40.0480.00415.70
7.2.30.0270.00815.74
7.2.20.0280.01015.89
7.2.10.0290.00615.70
7.2.00.0540.00216.00
7.1.250.0080.00315.37
7.1.210.0650.01013.78
7.1.200.0690.00713.79
7.1.190.0550.00013.70
7.1.180.0630.01013.85
7.1.170.0540.00613.71
7.1.160.0150.00613.48
7.1.150.0970.00413.70
7.1.140.0630.00313.65
7.1.130.0850.01613.55
7.1.120.0830.01513.77
7.1.110.0090.00613.66
7.1.100.0490.00313.38
7.1.90.0560.00813.35
7.1.80.0560.00313.77
7.1.70.0400.00613.90
7.1.60.0480.01031.70
7.1.50.0240.01031.90
7.1.40.0500.00931.43
7.1.30.0340.00331.64
7.1.20.0460.00731.71
7.1.10.0640.00213.84
7.1.00.0680.00313.80
7.0.310.1050.00613.27
7.0.300.0160.00013.58
7.0.290.0540.00913.23
7.0.280.0740.01313.43
7.0.270.0880.01013.45
7.0.260.0780.00013.13
7.0.250.0630.00013.33
7.0.240.0840.00713.57
7.0.230.0390.00613.37
7.0.220.0920.00013.66
7.0.210.0860.00313.48
7.0.200.0400.00613.19
7.0.190.0420.00413.61
7.0.180.0610.00313.46
7.0.170.0750.00613.34
7.0.160.0710.00613.49
7.0.150.0560.00413.67
7.0.140.0730.00713.70
7.0.130.0310.00913.70
7.0.120.0480.00313.68
7.0.110.0900.00913.29
7.0.100.0410.00713.39
7.0.90.0660.00613.71
7.0.80.0660.00713.59
7.0.70.0610.00313.52
7.0.60.0520.00313.69
7.0.50.0640.00313.71
7.0.40.0410.00413.40
7.0.30.0240.00513.64
7.0.20.0460.00413.52
7.0.10.1030.01313.71
7.0.00.0260.00713.73

preferences:
35.06 ms | 401 KiB | 5 Q