3v4l.org

run code in 300+ PHP versions simultaneously
<?php final class mGenerator implements Iterator { void rewind(); bool valid(); mixed current(); mixed key(); void next(); mixed send(mixed $value); mixed 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.5.60.0170.03020.07
5.5.50.0130.04020.12
5.5.40.0100.03720.08
5.5.30.0230.02720.08
5.5.20.0130.04719.99
5.5.10.0070.05320.07
5.5.00.0200.03020.04
5.4.220.0170.03018.91
5.4.210.0200.03719.05
5.4.200.0130.04019.01
5.4.190.0200.03719.19
5.4.180.0130.03319.13
5.4.170.0170.04018.90
5.4.160.0200.03018.89
5.4.150.0200.03019.02
5.4.140.0230.02316.43
5.4.130.0170.02716.43
5.4.120.0170.02716.44
5.4.110.0100.04716.32
5.4.100.0200.03016.51
5.4.90.0230.03016.25
5.4.80.0130.03316.50
5.4.70.0170.02716.45
5.4.60.0170.03716.41
5.4.50.0300.06716.30
5.4.40.0230.06316.43
5.4.30.0300.06316.53
5.4.20.0300.06316.51
5.4.10.0230.06716.48
5.4.00.0300.06715.89
5.3.270.0200.03714.68
5.3.260.0200.03314.66
5.3.250.0070.03714.56
5.3.240.0170.03014.69
5.3.230.0130.03714.64
5.3.220.0130.03014.60
5.3.210.0200.02714.58
5.3.200.0200.03314.56
5.3.190.0130.03014.61
5.3.180.0100.03314.47
5.3.170.0200.07314.64
5.3.160.0330.06014.60
5.3.150.0230.07314.43
5.3.140.0200.07014.62
5.3.130.0300.07014.40
5.3.120.0200.07714.52
5.3.110.0270.07714.65
5.3.100.0270.05714.14
5.3.90.0300.07014.07
5.3.80.0170.05014.06
5.3.70.0270.06714.02
5.3.60.0270.06714.08
5.3.50.0170.06013.98
5.3.40.0270.07314.00
5.3.30.0200.06313.94
5.3.20.0300.06313.64
5.3.10.0330.06313.73
5.3.00.0300.06313.68

preferences:
140.28 ms | 1394 KiB | 7 Q