3v4l.org

run code in 300+ PHP versions simultaneously
<?php Header("Content-type: text/html; charset=utf-8"); $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.0090.00916.50
8.3.50.0130.00716.24
8.3.40.0070.00718.45
8.3.30.0120.00618.73
8.3.20.0070.00020.34
8.3.10.0040.00421.69
8.3.00.0080.00019.25
8.2.180.0110.00416.50
8.2.170.0030.01022.96
8.2.160.0100.00320.53
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00021.11
8.2.120.0100.00026.35
8.2.110.0030.00722.09
8.2.100.0040.00817.78
8.2.90.0000.00919.04
8.2.80.0040.00417.97
8.2.70.0090.00317.63
8.2.60.0000.00718.03
8.2.50.0030.00618.10
8.2.40.0000.00720.50
8.2.30.0040.00421.04
8.2.20.0080.00017.93
8.2.10.0000.00818.05
8.2.00.0040.00418.24
8.1.280.0120.00625.92
8.1.270.0060.00322.14
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00422.75
8.1.230.0110.00017.82
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0000.01117.23
8.1.190.0030.00617.10
8.1.180.0060.00318.10
8.1.170.0040.00418.94
8.1.160.0030.00318.89
8.1.150.0000.00720.68
8.1.140.0040.00419.59
8.1.130.0030.00518.84
8.1.120.0000.00717.47
8.1.110.0040.00417.41
8.1.100.0040.00417.35
8.1.90.0070.00017.36
8.1.80.0000.00717.47
8.1.70.0000.00717.49
8.1.60.0090.00017.46
8.1.50.0000.00817.56
8.1.40.0060.00317.54
8.1.30.0000.00817.72
8.1.20.0070.00017.66
8.1.10.0020.00517.50
8.1.00.0040.00417.33
8.0.300.0060.00318.77
8.0.290.0060.00316.75
8.0.280.0030.00318.49
8.0.270.0040.00417.16
8.0.260.0000.00616.82
8.0.250.0030.00316.85
8.0.240.0000.00816.93
8.0.230.0040.00516.71
8.0.220.0070.00016.88
8.0.210.0000.00716.77
8.0.200.0060.00016.96
8.0.190.0090.00016.95
8.0.180.0070.00016.82
8.0.170.0000.00816.93
8.0.160.0000.00716.87
8.0.150.0030.00316.77
8.0.140.0000.00716.77
8.0.130.0030.00313.25
8.0.120.0050.00216.75
8.0.110.0030.00316.88
8.0.100.0050.00316.86
8.0.90.0040.00416.87
8.0.80.0100.00716.89
8.0.70.0030.00516.76
8.0.60.0080.00016.66
8.0.50.0000.00716.87
8.0.30.0140.00717.03
8.0.20.0110.00817.40
8.0.10.0000.00816.75
8.0.00.0120.00616.77
7.4.330.0000.00715.55
7.4.320.0000.00616.39
7.4.300.0050.00216.52
7.4.290.0040.00416.56
7.4.280.0040.00416.57
7.4.270.0000.00716.55
7.4.260.0030.00316.45
7.4.250.0040.00416.48
7.4.240.0040.00416.43
7.4.230.0030.00316.37
7.4.220.0140.00416.60
7.4.210.0110.00416.53
7.4.200.0000.00716.52
7.4.160.0050.01416.32
7.4.150.0070.01017.40
7.4.140.0140.00717.86
7.4.130.0030.01416.61
7.4.120.0090.01116.51
7.4.110.0030.01616.48
7.4.100.0220.00616.38
7.4.90.0110.00616.47
7.4.80.0070.01019.39
7.4.70.0040.01216.44
7.4.60.0030.01516.59
7.4.50.0070.01116.33
7.4.40.0060.01616.36
7.4.30.0100.00716.41
7.4.00.0090.00914.89
7.3.330.0020.00213.01
7.3.320.0050.00013.15
7.3.310.0000.00816.20
7.3.300.0040.00416.08
7.3.290.0000.00716.25
7.3.280.0060.01016.27
7.3.270.0060.01217.40
7.3.260.0090.00816.36
7.3.250.0110.00916.20
7.3.240.0130.00616.35
7.3.230.0100.00616.21
7.3.210.0150.00616.22
7.3.200.0060.01516.40
7.3.190.0120.01216.43
7.3.180.0130.00316.38
7.3.170.0110.00616.41
7.3.160.0100.00716.57
7.3.120.0070.01014.90
7.3.110.0110.00814.81
7.3.100.0040.00914.80
7.3.90.0090.00714.86
7.3.80.0040.01014.72
7.3.70.0080.00414.75
7.3.60.0070.00614.74
7.3.50.0060.00714.80
7.3.40.0050.00914.81
7.3.30.0050.00614.65
7.3.20.0070.00716.51
7.3.10.0060.00716.60
7.3.00.0070.00416.56
7.2.330.0030.01316.73
7.2.320.0090.01116.58
7.2.310.0110.00516.33
7.2.300.0070.01416.71
7.2.290.0080.00816.50
7.2.250.0120.00715.13
7.2.240.0040.01414.96
7.2.230.0060.00915.03
7.2.220.0080.01014.97
7.2.210.0070.01015.05
7.2.200.0060.01115.04
7.2.190.0070.00614.82
7.2.180.0080.00415.00
7.2.170.0080.00514.98
7.2.160.0060.00615.06
7.2.150.0080.00616.93
7.2.140.0060.00716.90
7.2.130.0030.01016.77
7.2.120.0070.00916.75
7.2.110.0050.00716.70
7.2.100.0070.00516.75
7.2.90.0230.00916.06
7.2.80.0180.01316.11
7.2.70.0230.00816.25
7.2.60.0280.00916.13
7.2.50.0250.00816.26
7.2.40.0250.00616.33
7.2.30.0210.00816.32
7.2.20.0090.00416.18
7.2.10.0090.00716.21
7.2.00.0250.00716.30
7.1.330.0090.00615.75
7.1.320.0070.00915.60
7.1.310.0050.01115.63
7.1.300.0030.00915.71
7.1.290.0050.00715.67
7.1.280.0060.00615.70
7.1.270.0040.00815.63
7.1.260.0080.00515.85
7.1.250.0040.00915.68
7.1.210.0280.00713.80
7.1.200.0430.01213.95
7.1.190.0790.00713.91
7.1.180.0920.00313.95
7.1.170.0660.01613.96
7.1.160.0890.00613.78
7.1.150.0360.01013.57
7.1.140.0200.01013.80
7.1.130.0320.00413.99
7.1.120.0510.00313.98
7.1.110.0550.00613.84
7.1.100.0580.00613.96
7.1.90.0450.01014.04
7.1.80.0590.00913.83
7.1.70.0060.00613.87
7.1.60.0200.01731.88
7.1.50.0250.00731.76
7.1.40.1020.01031.93
7.1.30.0900.01031.87
7.1.20.0780.00632.01
7.1.10.0830.00713.70
7.1.00.1250.01013.86
7.0.310.0670.01013.41
7.0.300.0540.00713.67
7.0.290.0590.00313.68
7.0.280.0140.00013.70
7.0.270.0560.00613.55
7.0.260.0520.00013.22
7.0.250.0530.01213.57
7.0.240.0980.00313.59
7.0.230.0080.01113.57
7.0.220.0680.00313.35
7.0.210.0480.01013.42
7.0.200.0190.00013.50
7.0.190.0040.00913.37
7.0.180.0600.00313.31
7.0.170.0540.01313.36
7.0.160.0610.00413.52
7.0.150.0880.00613.43
7.0.140.1110.00713.57
7.0.130.1270.00613.68
7.0.120.1020.00313.41
7.0.110.1040.00313.66
7.0.100.0810.00613.61
7.0.90.0940.00613.52
7.0.80.1320.00313.48
7.0.70.0940.00013.69
7.0.60.1210.01313.57
7.0.50.1740.00613.70
7.0.40.0750.01013.73
7.0.30.1020.01013.37
7.0.20.1010.00713.37
7.0.10.0880.01013.56
7.0.00.1010.00713.24

preferences:
43.51 ms | 400 KiB | 5 Q