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 "This: " . $string."\n"; echo "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.0120.00618.30
8.3.50.0120.00316.28
8.3.40.0140.00018.59
8.3.30.0110.00318.54
8.3.20.0000.00820.02
8.3.10.0030.00521.77
8.3.00.0080.00019.26
8.2.180.0030.01016.50
8.2.170.0070.00722.96
8.2.160.0100.00320.43
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0080.00019.28
8.2.120.0080.00026.35
8.2.110.0060.00622.20
8.2.100.0080.00417.84
8.2.90.0000.00819.25
8.2.80.0050.00317.97
8.2.70.0030.00617.38
8.2.60.0080.00017.93
8.2.50.0030.00618.10
8.2.40.0040.00420.50
8.2.30.0000.00821.14
8.2.20.0040.00417.91
8.2.10.0080.00018.14
8.2.00.0050.00218.09
8.1.280.0070.01025.92
8.1.270.0070.00022.20
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00523.97
8.1.230.0110.00023.86
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0030.00518.10
8.1.170.0030.00518.97
8.1.160.0040.00418.98
8.1.150.0000.00820.67
8.1.140.0000.00817.39
8.1.130.0030.00318.79
8.1.120.0040.00417.51
8.1.110.0000.00817.45
8.1.100.0000.00817.44
8.1.90.0020.00517.39
8.1.80.0030.00317.46
8.1.70.0030.00517.50
8.1.60.0030.00617.44
8.1.50.0030.00517.50
8.1.40.0000.00817.54
8.1.30.0040.00417.68
8.1.20.0040.00417.59
8.1.10.0000.00817.50
8.1.00.0040.00417.36
8.0.300.0000.00718.77
8.0.290.0080.00016.88
8.0.280.0000.00718.32
8.0.270.0030.00317.24
8.0.260.0030.00316.87
8.0.250.0030.00316.96
8.0.240.0040.00416.83
8.0.230.0030.00616.81
8.0.220.0030.00316.87
8.0.210.0070.00016.80
8.0.200.0030.00316.92
8.0.190.0080.00016.88
8.0.180.0040.00416.94
8.0.170.0000.00716.79
8.0.160.0000.00716.77
8.0.150.0040.00416.84
8.0.140.0000.00716.82
8.0.130.0030.00313.30
8.0.120.0040.00416.78
8.0.110.0000.00716.70
8.0.100.0000.00716.93
8.0.90.0050.00316.69
8.0.80.0040.01216.79
8.0.70.0040.00416.86
8.0.60.0040.00416.64
8.0.50.0030.00316.74
8.0.30.0090.01116.95
8.0.20.0100.00917.40
8.0.10.0030.00616.79
8.0.00.0060.01216.73
7.4.330.0060.00015.55
7.4.320.0030.00316.48
7.4.300.0030.00316.43
7.4.290.0030.00616.42
7.4.280.0040.00416.51
7.4.270.0060.00016.50
7.4.260.0030.00616.39
7.4.250.0000.00716.41
7.4.240.0030.00316.33
7.4.230.0000.00716.51
7.4.220.0160.00616.59
7.4.210.0040.01116.53
7.4.200.0070.00016.36
7.4.160.0110.00816.52
7.4.150.0080.01017.40
7.4.140.0090.01117.86
7.4.130.0140.00416.49
7.4.120.0160.00616.40
7.4.110.0000.01716.18
7.4.100.0090.01216.36
7.4.90.0120.00616.40
7.4.80.0100.00619.39
7.4.70.0130.00316.54
7.4.60.0130.00316.37
7.4.50.0070.01116.48
7.4.40.0090.01216.55
7.4.30.0080.00816.51
7.4.00.0040.01114.85
7.3.330.0020.00213.13
7.3.320.0000.00513.10
7.3.310.0030.00316.20
7.3.300.0030.00316.27
7.3.290.0030.00316.27
7.3.280.0080.00916.25
7.3.270.0130.00417.40
7.3.260.0100.00816.43
7.3.250.0150.00516.48
7.3.240.0130.00616.56
7.3.230.0100.01316.51
7.3.210.0140.00516.47
7.3.200.0080.01116.24
7.3.190.0060.01116.14
7.3.180.0060.01016.31
7.3.170.0000.01516.30
7.3.160.0090.01016.50
7.2.330.0070.01516.35
7.2.320.0130.00316.41
7.2.310.0030.01316.57
7.2.300.0130.00316.58
7.2.290.0070.01016.82
7.2.90.0140.00414.71
7.2.80.0290.01014.90
7.2.70.1500.00915.04
7.2.60.1070.01914.97
7.2.50.1190.00615.09
7.2.40.1600.01015.03
7.2.30.0190.00614.92
7.2.20.1580.01814.92
7.2.10.0980.00715.10
7.2.00.0040.01315.01
7.1.210.0130.00413.93
7.1.200.0160.00513.72
7.1.190.1240.01013.86
7.1.180.1140.00713.87
7.1.170.1140.00313.91
7.1.160.1910.00613.77
7.1.150.0110.00513.70
7.1.140.1710.00313.91
7.1.130.0170.00613.93
7.1.120.0100.00613.69
7.1.110.0080.00413.82
7.1.100.0130.00313.76
7.1.90.0150.00513.95
7.1.80.1830.00913.98
7.1.70.0140.00013.86
7.1.60.2190.00331.90
7.1.50.0760.01031.85
7.1.40.0730.01031.82
7.1.30.0260.00931.55
7.1.20.0300.00331.53
7.1.10.1100.00613.95
7.1.00.0680.01313.86
7.0.310.2240.01013.75
7.0.300.1270.00313.54
7.0.290.0210.00813.40
7.0.280.0100.00513.33
7.0.270.0200.00713.43
7.0.260.0080.01113.70
7.0.250.0060.01113.75
7.0.240.0370.00713.54
7.0.230.0420.00413.51
7.0.220.0210.00413.71
7.0.210.0110.01113.72
7.0.200.1210.00313.26
7.0.190.0140.01113.71
7.0.180.0150.01213.61
7.0.170.0690.00613.65
7.0.160.0130.00813.71
7.0.150.1460.01213.54
7.0.140.0510.00313.31
7.0.130.0150.01713.76
7.0.120.0270.01213.83
7.0.110.0000.01713.50
7.0.100.0980.00413.34
7.0.90.1310.01013.57
7.0.80.0870.00613.21
7.0.70.0410.00013.39
7.0.60.0180.00613.68
7.0.50.0140.01113.73
7.0.40.0130.00413.41
7.0.30.0810.00613.43
7.0.20.0150.00713.73
7.0.10.0470.01013.60
7.0.00.1160.01013.60

preferences:
52.11 ms | 400 KiB | 5 Q