3v4l.org

run code in 300+ PHP versions simultaneously
<?php class TestClass { static $_cat; public function setCat($val) { self::_cat = $val; } } TestClass::setCat('fluffles'); echo TestClass::_cat;

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.0070.08720.30
5.6.160.0000.10020.46
5.6.150.0030.07318.23
5.6.140.0070.03718.28
5.6.130.0100.07718.16
5.6.120.0070.05321.16
5.6.110.0170.07720.98
5.6.100.0100.08321.08
5.6.90.0030.08020.88
5.6.80.0130.03020.42
5.5.300.0100.07317.98
5.5.290.0130.04017.98
5.5.280.0170.07320.89
5.5.270.0130.06720.76
5.5.260.0070.07720.65
5.5.250.0000.04320.47
5.5.240.0170.05720.36

preferences:
141.42 ms | 1394 KiB | 7 Q