3v4l.org

run code in 300+ PHP versions simultaneously
<?php const SOMETHING = 'yep'; function this_wont_work() { echo "for real thisll blow up"; } $foo = new class() { public $one = 'basic string'; public $two = 124; public $three = SOMETHING; }

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.07720.08
5.6.160.0030.05020.44
5.6.150.0030.07718.19
5.6.140.0100.05018.27
5.6.130.0070.06718.15
5.6.120.0130.08020.94
5.6.110.0130.06321.06
5.6.100.0200.08721.03
5.6.90.0100.07320.99
5.6.80.0070.04320.53
5.5.300.0030.05018.03
5.5.290.0030.08717.95
5.5.280.0030.06720.80
5.5.270.0100.04320.87
5.5.260.0100.06020.76
5.5.250.0170.06320.58
5.5.240.0170.07720.15

preferences:
143.49 ms | 1394 KiB | 7 Q