3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ pwd = $_POST['pwd']; // user forgot or deliberately neglected to provide password $acc_pwd = "rosesRred22@"; if (strcmp($pwd,$acc_pwd) == 0) 'Success; you are in!';

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
5.4.260.0070.04212.36
5.4.250.0100.04312.36
5.4.240.0070.04712.36
5.4.230.0110.04812.35
5.4.220.0080.03812.35
5.4.210.0080.03612.35
5.4.200.0080.05312.36
5.4.190.0090.03412.35
5.4.180.0080.04912.35
5.4.170.0100.04312.36
5.4.160.0070.04312.35
5.4.150.0100.03912.35
5.4.140.0090.04112.04
5.4.130.0080.03912.02
5.4.120.0130.04611.99
5.4.110.0140.04311.98
5.4.100.0090.04911.98
5.4.90.0080.06111.98
5.4.80.0110.05611.98
5.4.70.0090.04911.97
5.4.60.0050.05111.98
5.4.50.0110.04511.97
5.4.40.0110.04411.97
5.4.30.0090.03811.96
5.4.20.0070.03811.96
5.4.10.0090.03811.96
5.4.00.0050.03911.46
5.3.280.0130.04712.71
5.3.270.0100.04512.72
5.3.260.0090.04912.72
5.3.250.0130.05412.72
5.3.240.0110.05312.72
5.3.230.0090.04912.71
5.3.220.0120.04712.68
5.3.210.0120.05212.68
5.3.200.0100.05612.68
5.3.190.0240.06012.68
5.3.180.0080.04812.67
5.3.170.0110.04912.67
5.3.160.0100.04312.67
5.3.150.0100.03812.67
5.3.140.0100.04912.66
5.3.130.0090.04312.66
5.3.120.0080.04512.65
5.3.110.0110.05612.66
5.3.100.0090.05212.12
5.3.90.0090.03612.08
5.3.80.0140.03412.08
5.3.70.0050.03912.08
5.3.60.0090.03812.07
5.3.50.0090.04212.00
5.3.40.0090.04612.00
5.3.30.0070.04211.94
5.3.20.0090.05011.70
5.3.10.0160.06511.66
5.3.00.0100.05211.65