3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stringHTML= "Software de comunicaciĆ³n"; $html = get_html_translation_table(HTML_ENTITIES, ENT_NOQUOTES | ENT_HTML5); unset($html["<"]); unset($html[">"]); $reemplazar = array_keys($html);print_r($reemplazar); $reemplazo = array_values($html);print_r($reemplazo); echo str_replace($reemplazar, $reemplazo, $stringHTML); ?>

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.00316.63
8.3.50.0130.00522.92
8.3.40.0110.00418.96
8.3.30.0100.00319.29
8.3.20.0030.00620.43
8.3.10.0090.00018.88
8.3.00.0040.00419.38
8.2.180.0050.00916.63
8.2.170.0070.01022.96
8.2.160.0040.00820.77
8.2.150.0030.00624.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0030.00620.90
8.2.110.0040.00421.04
8.2.100.0040.00718.28
8.2.90.0050.00319.46
8.2.80.0040.00417.97
8.2.70.0000.00817.88
8.2.60.0040.00418.05
8.2.50.0030.00618.07
8.2.40.0040.00418.16
8.2.30.0030.00319.66
8.2.20.0080.00018.06
8.2.10.0050.00318.41
8.2.00.0000.00817.92
8.1.280.0070.01325.92
8.1.270.0040.00423.92
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00721.36
8.1.230.0000.01117.64
8.1.220.0000.00817.93
8.1.210.0030.00618.77
8.1.200.0080.00317.35
8.1.190.0040.00417.47
8.1.180.0040.00418.10
8.1.170.0040.00418.76
8.1.160.0000.00822.18
8.1.150.0050.00319.22
8.1.140.0000.00717.74
8.1.130.0030.00318.11
8.1.120.0030.00317.61
8.1.110.0070.00017.77
8.1.100.0070.00017.69
8.1.90.0030.00317.71
8.1.80.0000.00717.74
8.1.70.0000.00617.63
8.1.60.0050.00417.74
8.1.50.0040.00417.81
8.1.40.0000.00717.80
8.1.30.0000.00717.84
8.1.20.0000.00717.91
8.1.10.0000.00717.75
8.1.00.0040.00417.75
8.0.300.0000.00718.77
8.0.290.0000.00816.88
8.0.280.0000.00718.67
8.0.270.0000.00717.00
8.0.260.0030.00617.55
8.0.250.0000.00617.18
8.0.240.0040.00417.17
8.0.230.0000.00717.16
8.0.220.0030.00316.98
8.0.210.0030.00317.05
8.0.200.0030.00317.08
8.0.190.0020.00517.11
8.0.180.0000.00717.04
8.0.170.0000.00717.05
8.0.160.0050.00216.95
8.0.150.0030.00316.93
8.0.140.0030.00516.99
8.0.130.0030.00313.47
8.0.120.0000.00816.97
8.0.110.0000.00717.04
8.0.100.0040.00416.89
8.0.90.0000.00817.11
8.0.80.0100.00717.07
8.0.70.0080.00016.98
8.0.60.0040.00417.08
8.0.50.0000.00817.00
8.0.30.0100.00917.31
8.0.20.0130.00917.42
8.0.10.0020.00517.15
8.0.00.0080.00916.92
7.4.330.0050.00015.02
7.4.320.0000.00616.81
7.4.300.0000.00616.74
7.4.290.0020.00516.71
7.4.280.0030.00316.71
7.4.270.0030.00316.89
7.4.260.0030.00316.70
7.4.250.0050.00216.68
7.4.240.0020.00516.90
7.4.230.0030.00316.57
7.4.220.0090.00916.66
7.4.210.0100.00316.83
7.4.200.0030.00316.52
7.4.160.0110.00416.85
7.4.150.0060.01117.40
7.4.140.0110.00617.86
7.4.130.0090.00716.79
7.4.120.0080.00816.60
7.4.110.0120.01216.56
7.4.100.0130.00616.59
7.4.90.0130.00816.63
7.4.80.0000.01719.39
7.4.70.0060.01016.65
7.4.60.0100.00716.69
7.4.50.0080.00016.54
7.4.40.0070.01016.58
7.4.30.0030.01316.68
7.3.330.0050.00013.40
7.3.320.0000.00713.41
7.3.310.0000.00716.35
7.3.300.0030.00316.36
7.3.290.0030.01216.47
7.3.280.0100.00616.46
7.3.270.0080.00817.40
7.3.260.0100.00716.71
7.3.250.0140.00316.47
7.3.240.0130.00316.54
7.3.230.0100.00616.60
7.3.210.0140.00416.53
7.3.200.0150.00619.39
7.3.190.0160.00516.47
7.3.180.0110.00816.58
7.3.170.0060.01216.61
7.3.160.0120.00616.68
7.2.330.0060.01116.91
7.2.320.0060.01616.57
7.2.310.0120.00916.50
7.2.300.0090.00616.46
7.2.290.0040.01116.99
7.2.100.0320.00914.60
7.2.90.0810.00714.98
7.2.80.0820.00014.33
7.2.70.1100.00914.91
7.2.60.0460.00014.83
7.2.50.0860.00715.04
7.2.40.0520.00714.79
7.2.30.1040.01314.95
7.2.20.0800.00315.25
7.2.10.0220.00614.98
7.2.00.0680.01115.07
7.1.220.0880.00613.88
7.1.210.0860.00413.65
7.1.200.0110.01113.77
7.1.190.1000.00014.07
7.1.180.0490.00714.00
7.1.170.0840.00713.79
7.1.160.0620.00713.94
7.1.150.0760.00314.00
7.1.140.0230.00313.72
7.1.130.1120.01013.91
7.1.120.0640.00313.88
7.1.110.0850.00613.88
7.1.100.1130.00314.17
7.1.90.0740.00413.87
7.1.80.0820.01013.98
7.1.70.0920.00614.16
7.1.60.1590.00332.30
7.1.50.1150.00731.96
7.1.40.0300.00732.26
7.1.30.0540.00932.05
7.1.20.0330.00432.15
7.1.10.1180.00313.98
7.1.00.1020.00614.22
7.0.310.0950.02113.43
7.0.300.1520.02013.51
7.0.290.0740.02513.54
7.0.280.1300.02413.74
7.0.270.1010.01313.43
7.0.260.0830.02813.43
7.0.250.1260.02013.75
7.0.240.1280.01313.92
7.0.230.1140.01813.63
7.0.220.1470.02413.54
7.0.210.1330.01213.75
7.0.200.1230.02013.65
7.0.190.1950.01313.43
7.0.180.1440.01713.60
7.0.170.1410.02713.64
7.0.160.1240.01713.43
7.0.150.1180.01913.61
7.0.140.1240.01213.66
7.0.130.0670.00713.75
7.0.120.1180.01013.45
7.0.110.0530.01213.43
7.0.100.0640.01213.88
7.0.90.0380.02413.71
7.0.80.0590.01613.90
7.0.70.1540.01213.64
7.0.60.1310.01713.70
7.0.50.1540.02113.52
7.0.40.0780.01213.66
7.0.30.1580.01013.80
7.0.20.1460.02513.90
7.0.10.0500.01913.63
7.0.00.0780.01113.59
5.6.380.0420.01615.47
5.6.370.0300.03014.82
5.6.360.0340.01514.58
5.6.350.0520.02315.03
5.6.340.0460.00915.12
5.6.330.0320.02915.18
5.6.320.0410.02815.28
5.6.310.0570.01214.59
5.6.300.0360.02415.04
5.6.290.0440.01815.22
5.6.280.0400.01715.29
5.6.270.0350.01915.05
5.6.260.0380.02215.04
5.6.250.0420.03115.22
5.6.240.0430.03315.16
5.6.230.0340.02514.98
5.6.220.0730.00814.80
5.6.210.0480.02215.27
5.6.200.0300.03015.18
5.6.190.0470.01314.63
5.6.180.0400.02014.59
5.6.170.0350.03214.98
5.6.160.0380.01915.27
5.6.150.0490.01714.79
5.6.140.0470.01615.29
5.6.130.0490.01315.07
5.6.120.0420.01314.81
5.6.110.0460.01415.34
5.6.100.0390.02415.20
5.6.90.0150.04115.21
5.6.80.0320.03214.80
5.6.70.0420.01615.07
5.6.60.0410.00914.52
5.6.50.0370.02415.24
5.6.40.0310.01614.53
5.6.30.0240.01414.86
5.5.380.0310.02813.43
5.5.370.0490.01013.43
5.5.360.0490.01813.43
5.5.350.0360.01613.43
5.5.340.0370.02113.43
5.5.330.0380.01013.43
5.5.320.0380.02213.43
5.5.310.0240.01613.43
5.5.300.0360.00313.43
5.5.290.0500.00413.43
5.5.280.0400.01313.43
5.5.270.0490.00913.43
5.5.260.0250.00813.43
5.5.250.0450.01013.43
5.5.240.0370.00913.43
5.5.230.0390.01713.43
5.5.220.0380.00613.43
5.5.210.0330.03513.43
5.5.200.0320.02113.43
5.5.190.0530.01313.43
5.4.450.0240.02113.43
5.4.440.0330.00913.43
5.4.430.0460.01813.43
5.4.420.0260.02613.43
5.4.410.0380.02613.43
5.4.400.0310.01013.43
5.4.390.0520.00713.43
5.4.380.0510.01013.43
5.4.370.0480.01813.43
5.4.360.0480.01413.43
5.4.350.0400.00613.43

preferences:
59.19 ms | 401 KiB | 5 Q