3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { static function bar() { return new Foo; } public function display() { echo "Worked"; } } Foo::bar()->display()

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)
5.4.90.0190.04311.99
5.4.80.0260.06511.99
5.4.70.0170.04611.99
5.4.60.0170.04511.99
5.4.50.0180.06911.99
5.4.40.0190.04211.98
5.4.30.0210.05411.98
5.4.20.0190.04211.97
5.4.10.0290.06011.97
5.4.00.0180.04111.47
5.3.190.0150.04912.68
5.3.180.0320.06412.67
5.3.170.0200.04512.67
5.3.160.0190.04412.67
5.3.150.0240.06912.67
5.3.140.0150.04812.66
5.3.130.0220.05612.66
5.3.120.0290.06512.66
5.3.110.0180.04512.65
5.3.100.0170.04512.12
5.3.90.0230.05412.10
5.3.80.0160.04612.09
5.3.70.0170.04312.09
5.3.60.0230.07012.07
5.3.50.0180.04612.02
5.3.40.0210.05912.03
5.3.30.0260.06612.00
5.3.20.0200.04311.77
5.3.10.0170.04011.73
5.3.00.0270.04811.71

preferences:
138.98 ms | 1394 KiB | 7 Q