3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(1,2,3,4); echo next($a); echo current($a)===null; echo next($a); echo current($a)===null echo next($a); echo current($a)===null; echo next($a); echo current($a)===null;

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.100.0210.06911.99
5.4.90.0160.04511.98
5.4.80.0190.04311.98
5.4.70.0290.05911.98
5.4.60.0200.04011.98
5.4.50.0200.05311.98
5.4.40.0290.05911.96
5.4.30.0160.04411.96
5.4.20.0160.04411.96
5.4.10.0220.05411.96
5.4.00.0160.04111.46
5.3.200.0310.06112.68
5.3.190.0150.04712.68
5.3.180.0270.06512.67
5.3.170.0170.04412.67
5.3.160.0180.04412.67
5.3.150.0190.05812.67
5.3.140.0160.04512.66
5.3.130.0150.04812.66
5.3.120.0280.07912.66
5.3.110.0190.04312.66
5.3.100.0200.04212.12
5.3.90.0180.04112.08
5.3.80.0230.06912.07
5.3.70.0170.04512.07
5.3.60.0160.04612.06
5.3.50.0220.06912.00
5.3.40.0220.05512.00
5.3.30.0200.04111.95
5.3.20.0170.04211.73
5.3.10.0220.06611.69
5.3.00.0190.05411.67

preferences:
139.47 ms | 1394 KiB | 7 Q