3v4l.org

run code in 300+ PHP versions simultaneously
<?php final class mGenerator implements Iterator { function rewind(); function valid(); function current(); function key(); function next(); function send($value); //throw(Exception $exception); } $mg = new mGenerator(); var_dump($mg);

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.220.0110.03912.38
5.4.210.0090.04212.38
5.4.200.0130.04112.38
5.4.190.0110.04312.38
5.4.180.0150.03912.38
5.4.170.0150.04112.39
5.4.160.0120.04512.38
5.4.150.0160.04112.38
5.4.140.0150.04312.06
5.4.130.0120.04412.05
5.4.120.0130.04012.01
5.4.110.0140.03912.00
5.4.100.0190.07112.00
5.4.90.0120.04612.01
5.4.80.0130.04212.00
5.4.70.0140.04312.00
5.4.60.0110.04312.00
5.4.50.0140.04312.00
5.4.40.0130.03811.99
5.4.30.0140.03711.99
5.4.20.0150.04011.99
5.4.10.0150.03911.98
5.4.00.0140.05111.48
5.3.270.0200.04112.72
5.3.260.0130.04812.72
5.3.250.0120.04512.72
5.3.240.0120.04912.72
5.3.230.0190.03812.71
5.3.220.0140.04012.68
5.3.210.0140.04112.68
5.3.200.0130.04512.68
5.3.190.0120.04912.68
5.3.180.0140.04212.68
5.3.170.0140.03912.67
5.3.160.0140.04312.67
5.3.150.0130.04712.67
5.3.140.0120.04912.66
5.3.130.0120.04412.66
5.3.120.0140.04212.66
5.3.110.0110.04512.66
5.3.100.0120.04212.12
5.3.90.0150.04312.09
5.3.80.0100.04512.08
5.3.70.0150.03812.08
5.3.60.0110.04412.07
5.3.50.0170.03812.01
5.3.40.0110.04712.01
5.3.30.0150.04211.97
5.3.20.0110.04711.75
5.3.10.0160.04211.71
5.3.00.0120.04511.70

preferences:
130.04 ms | 1394 KiB | 7 Q