3v4l.org

run code in 300+ PHP versions simultaneously
<?php private $hoge = "hogehoge"; $this->func(); function func () { var_dump(self::hoge); }

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)
7.0.20.0230.04720.30
7.0.10.0100.08320.06
7.0.00.0070.05020.15
5.6.170.0300.08320.55
5.6.160.0000.04320.47
5.6.150.0030.08318.18
5.6.140.0070.05318.27
5.6.130.0130.06318.20
5.6.120.0030.08320.98
5.6.110.0070.08320.95
5.6.100.0030.06721.12
5.6.90.0030.08721.07
5.6.80.0100.07320.53
5.5.310.0170.05720.35
5.5.300.0070.04018.02
5.5.290.0100.08018.08
5.5.280.0100.08020.80
5.5.270.0100.06720.87
5.5.260.0130.07320.67
5.5.250.0170.07320.58
5.5.240.0230.06720.15

preferences:
141.38 ms | 1394 KiB | 7 Q