3v4l.org

run code in 300+ PHP versions simultaneously
<?php $encoded = htmlentities("Hey I am a nefarious hacker! Look at my brackets! <script>HAHAHA</script>!"); $decoded = html_entity_decode($encoded); echo "This is what's sent in the html source... so the browser doesn't actually recognize it as a script."; echo $encoded; echo "This is what it looks like on screen to the user. echo $decoded; ?>

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)
5.4.300.0070.03812.46
5.4.290.0050.04012.46
5.4.280.0050.03712.36
5.4.270.0040.04012.36
5.4.260.0060.03912.36
5.4.250.0050.03812.36
5.4.240.0040.03812.36
5.4.230.0080.04312.35
5.4.220.0050.05112.35
5.4.210.0070.03912.35
5.4.200.0070.03812.35
5.4.190.0050.03712.34
5.4.180.0050.03912.35
5.4.170.0050.03912.36
5.4.160.0060.03712.35
5.4.150.0060.03512.35
5.4.140.0060.03912.04
5.4.130.0080.03412.02
5.4.120.0080.03511.98
5.4.110.0050.03811.98
5.4.100.0050.03811.98
5.4.90.0050.03911.98
5.4.80.0070.03711.98
5.4.70.0090.03311.97
5.4.60.0050.03611.98
5.4.50.0090.03211.98
5.4.40.0060.03411.96
5.4.30.0050.03611.96
5.4.20.0060.03711.96
5.4.10.0040.03611.96
5.4.00.0050.03611.45
5.3.280.0040.04012.71
5.3.270.0100.03512.72
5.3.260.0110.03712.72
5.3.250.0050.04012.71
5.3.240.0120.03512.72
5.3.230.0050.04112.71
5.3.220.0070.04012.68
5.3.210.0070.04112.68
5.3.200.0040.04212.68
5.3.190.0040.04312.68
5.3.180.0060.04112.68
5.3.170.0080.03712.67
5.3.160.0070.03612.67
5.3.150.0110.03212.67
5.3.140.0090.04012.66
5.3.130.0060.04312.66
5.3.120.0050.04212.66
5.3.110.0050.04112.66
5.3.100.0070.03612.12
5.3.90.0040.03912.09
5.3.80.0120.03312.08
5.3.70.0080.03612.07
5.3.60.0090.03312.06
5.3.50.0090.03312.00
5.3.40.0060.03912.00
5.3.30.0070.03711.95
5.3.20.0070.03711.72
5.3.10.0100.03011.70
5.3.00.0070.03611.69

preferences:
136.5 ms | 1394 KiB | 7 Q