3v4l.org

run code in 300+ PHP versions simultaneously
<?php class bbq { static $soda; function printSoda(){ echo $this->soda; } } bbq::soda = 8675309; bbq::printSoda();

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.00.0030.07320.23
5.6.160.0170.07320.50
5.6.150.0070.05718.22
5.6.140.0030.07718.17
5.6.130.0100.05318.15
5.6.120.0100.08320.90
5.6.110.0070.08021.14
5.6.100.0170.07320.98
5.6.90.0070.06021.08
5.6.80.0030.04020.38
5.5.300.0070.06717.96
5.5.290.0070.08017.94
5.5.280.0170.06720.74
5.5.270.0070.08020.79
5.5.260.0030.07020.77
5.5.250.0200.07020.69
5.5.240.4170.04020.36

preferences:
126.51 ms | 1398 KiB | 7 Q