3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cha = 'a';<br>$next_cha = ++$cha; //The following if condition prevent you to go beyond 'z' or 'Z' and will reset to 'a' or 'A'. if (strlen($next_cha) > 1) { $next_cha = $next_cha[0]; } echo $next_cha; ?>

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.290.0040.05212.47
5.4.280.0050.03812.37
5.4.270.0080.04412.38
5.4.260.0130.06812.38
5.4.250.0090.05812.38
5.4.240.0100.05412.37
5.4.230.0090.04912.37
5.4.220.0070.05012.37
5.4.210.0180.06312.36
5.4.200.0120.07812.36
5.4.190.0090.05912.36
5.4.180.0000.01212.36
5.4.170.0080.10212.37
5.4.160.0160.10212.37
5.4.150.0130.07712.36
5.4.140.0110.05412.05
5.4.130.0080.05312.04
5.4.120.0120.05112.00
5.4.110.0110.05212.00
5.4.100.0120.05111.99
5.4.90.0140.06212.00
5.4.80.0100.03711.99
5.4.70.0090.04211.99
5.4.60.0170.05911.99
5.4.50.0150.06611.99
5.4.40.0130.06311.98
5.4.30.0080.06211.98
5.4.20.0110.05811.97
5.4.10.0090.05311.97
5.4.00.0090.03911.46
5.3.280.0060.04312.71
5.3.270.0100.07112.72
5.3.260.0080.06212.72
5.3.250.0080.05612.72
5.3.240.0080.05912.72
5.3.230.0080.04812.71
5.3.220.0040.04112.68
5.3.210.0100.03812.68
5.3.200.0050.03912.68
5.3.190.0060.03812.68
5.3.180.0060.04012.67
5.3.170.0080.03512.67
5.3.160.0080.04212.67
5.3.150.0130.07912.67
5.3.140.0160.06312.66
5.3.130.0100.06112.66
5.3.120.0140.06512.66
5.3.110.0110.06812.66
5.3.100.0070.05612.12
5.3.90.0210.05712.08
5.3.80.0110.05712.07
5.3.70.0080.05412.07
5.3.60.0130.11412.07
5.3.50.0080.05812.00
5.3.40.0060.05312.00
5.3.30.0120.06811.95
5.3.20.0090.06411.73
5.3.10.0090.05711.70
5.3.00.0150.06211.68

preferences:
142.75 ms | 1394 KiB | 7 Q