3v4l.org

run code in 300+ PHP versions simultaneously
<?php function throwsException() { throw new Exception(); return; } try { $i = 123; throwsException(); $i = 234; } catch { echo $i; }

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.60.0190.04512.00
5.4.50.0170.04311.99
5.4.40.0310.07711.98
5.4.30.0190.04511.98
5.4.20.0190.04211.97
5.4.10.0290.06311.98
5.4.00.0160.04611.47
5.3.160.0240.07012.67
5.3.150.0210.04812.67
5.3.140.0160.04912.66
5.3.130.0310.06712.65
5.3.120.0180.04812.65
5.3.110.0280.06912.66
5.3.100.0290.06612.12
5.3.90.0200.04812.10
5.3.80.0230.05812.08
5.3.70.0320.06412.08
5.3.60.0180.04612.07
5.3.50.0170.04512.02
5.3.40.0260.06712.01
5.3.30.0230.04011.98
5.3.20.0150.04811.76
5.3.10.0180.04311.72
5.3.00.0250.06711.70

preferences:
136 ms | 1394 KiB | 7 Q