3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __construct() { // } } var_dump((new Foo());

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.10.0200.05020.08
7.0.00.0030.04320.45
5.6.160.0100.09320.55
5.6.150.0070.07718.12
5.6.140.0170.07018.29
5.6.130.0170.05318.29
5.6.120.0070.08021.12
5.6.110.0030.04321.02
5.6.100.0070.08021.00
5.6.90.0170.05720.97
5.6.80.0030.06720.29
5.5.300.0070.08018.08
5.5.290.0000.04717.95
5.5.280.0000.09020.68
5.5.270.0130.06720.73
5.5.260.0070.06320.80
5.5.250.0100.08320.50
5.5.240.0170.07720.24

preferences:
140.6 ms | 1394 KiB | 7 Q