3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "&#195;&#x20ac;"; $string_result = "À"; //$string = (html_entity_decode($string)); 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.0040.01116.38
8.3.50.0070.01016.13
8.3.40.0040.01118.81
8.3.30.0110.00318.68
8.3.20.0040.00419.98
8.3.10.0070.00021.57
8.3.00.0050.00319.26
8.2.180.0070.00718.41
8.2.170.0040.01122.96
8.2.160.0100.01020.19
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00820.97
8.2.120.0060.00326.35
8.2.110.0030.00622.07
8.2.100.0170.00017.78
8.2.90.0000.00819.09
8.2.80.0000.00817.97
8.2.70.0000.01017.63
8.2.60.0040.00417.93
8.2.50.0060.00318.10
8.2.40.0000.00720.60
8.2.30.0030.00619.21
8.2.20.0000.00818.00
8.2.10.0040.00418.04
8.2.00.0040.00418.10
8.1.270.0040.00421.89
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0040.00420.89
8.1.230.0040.00719.16
8.1.220.0000.00717.76
8.1.210.0030.00618.77
8.1.200.0030.00617.22
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0080.00018.84
8.1.160.0030.00319.05
8.1.150.0020.00520.67
8.1.140.0040.00419.42
8.1.130.0030.00318.73
8.1.120.0050.00217.42
8.1.110.0000.00717.29
8.1.100.0000.00717.33
8.1.90.0000.00717.45
8.1.80.0030.00317.38
8.1.70.0030.00317.37
8.1.60.0040.00417.52
8.1.50.0020.00517.46
8.1.40.0040.00417.30
8.1.30.0000.00717.56
8.1.20.0080.00017.47
8.1.10.0050.00217.41
8.1.00.0000.00717.45
8.0.300.0030.00320.04
8.0.290.0070.00016.75
8.0.280.0000.00718.43
8.0.270.0000.00717.20
8.0.260.0030.00316.72
8.0.250.0000.00716.92
8.0.240.0040.00416.98
8.0.230.0030.00716.84
8.0.220.0030.00316.86
8.0.210.0000.00716.86
8.0.200.0030.00316.94
8.0.190.0040.00416.80
8.0.180.0040.00416.80
8.0.170.0000.00716.91
8.0.160.0050.00516.97
8.0.150.0040.00416.90
8.0.140.0080.00016.89
8.0.130.0060.00013.35
8.0.120.0000.00816.81
8.0.110.0040.00416.94
8.0.100.0000.00716.75
8.0.90.0060.00316.83
8.0.80.0120.00616.69
8.0.70.0070.00016.87
8.0.60.0040.00416.86
8.0.50.0000.00816.79
8.0.30.0060.01017.07
8.0.20.0130.00617.40
8.0.10.0070.00016.79
8.0.00.0090.01516.78
7.4.330.0020.00215.55
7.4.320.0000.00616.44
7.4.300.0000.00616.43
7.4.290.0030.00316.45
7.4.280.0030.00616.39
7.4.270.0030.00316.51
7.4.260.0070.00016.40
7.4.250.0060.00316.46
7.4.240.0040.00416.34
7.4.230.0040.00416.28
7.4.220.0130.00316.58
7.4.210.0070.00716.33
7.4.200.0000.00716.24
7.4.160.0080.00816.43
7.4.150.0090.00917.40
7.4.140.0100.01017.86
7.4.130.0090.01216.39
7.4.120.0090.00916.39
7.4.110.0130.00416.38
7.4.100.0130.00316.61
7.4.90.0050.01416.50
7.4.80.0130.01319.39
7.4.70.0090.00616.49
7.4.60.0130.00316.49
7.4.50.0100.00616.47
7.4.40.0070.01016.22
7.4.30.0090.00616.54
7.4.00.0080.00814.88
7.3.330.0020.00213.02
7.3.320.0060.00013.02
7.3.310.0000.00716.23
7.3.300.0000.00716.29
7.3.290.0080.00616.20
7.3.280.0070.00916.22
7.3.270.0030.01517.40
7.3.260.0100.00716.21
7.3.250.0110.00716.34
7.3.240.0140.00516.41
7.3.230.0140.00316.15
7.3.210.0110.00716.30
7.3.200.0070.01016.50
7.3.190.0080.01116.38
7.3.180.0070.01416.15
7.3.170.0090.00616.46
7.3.160.0070.01016.24
7.3.10.0060.00316.63
7.3.00.0060.00816.35
7.2.330.0140.00516.43
7.2.320.0060.01516.45
7.2.310.0100.00616.57
7.2.300.0070.01416.71
7.2.290.0140.00316.62
7.2.130.0040.01116.61
7.2.120.0060.00316.33
7.2.110.0030.00716.25
7.2.100.0070.00716.40
7.2.90.0050.00916.57
7.2.80.0110.00516.59
7.2.70.0040.00816.67
7.2.60.0090.00516.64
7.2.50.0040.00416.71
7.2.40.0060.00616.51
7.2.30.0070.00416.81
7.2.20.0070.01016.11
7.2.10.0060.00616.77
7.2.00.0050.00818.23
7.1.250.0090.00014.83
7.1.200.0060.00315.72
7.1.100.0000.01117.95
7.1.70.0050.00916.91
7.1.60.0160.01835.07
7.1.50.0230.01734.85
7.1.40.0220.01434.46
7.1.30.0200.01634.48
7.1.20.0200.01334.23
7.1.10.0060.01116.31
7.1.00.0000.01516.64
7.0.200.0030.01316.92
7.0.190.0050.01116.61
7.0.180.0000.01516.10
7.0.170.0140.01416.22
7.0.160.0040.01316.39
7.0.150.0090.00616.13
7.0.140.0100.00716.00
7.0.130.0030.01316.64
7.0.120.0000.01616.52
7.0.110.0000.01416.39
7.0.100.0090.00616.28
7.0.90.0030.01016.13
7.0.80.0000.01316.21
7.0.70.0000.01416.42
7.0.60.0070.00816.09
7.0.50.0030.01016.36
7.0.40.0100.00316.38
7.0.30.0050.00816.33
7.0.20.0090.00616.24
7.0.10.0060.00916.21
7.0.00.0030.01316.57

preferences:
37.18 ms | 400 KiB | 5 Q