3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Controller { public function testAction() { } public static function staticAction() { } public function __call() { } } $calls = array( array('Controller', 'testAction'), array('Controller', 'staticAction'), array('Controller', 'fooAction'), array(new Controller, 'testAction'), array(new Controller, 'staticAction'), array(new Controller, 'fooAction'), ); foreach($calls as $call) { var_dump(is_callable($call)); }

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.80.0000.05016.42
5.4.70.0030.06016.44
5.4.60.0100.04016.28
5.4.50.0030.06716.51
5.4.40.0030.07716.42
5.4.30.0100.07016.50
5.4.20.0170.03316.38
5.4.10.0100.05716.36
5.4.00.0100.06715.77
5.3.180.0030.04014.63
5.3.170.0030.08714.56
5.3.160.0070.04714.57
5.3.150.0070.04714.59
5.3.140.0000.06314.48
5.3.130.0070.07314.58
5.3.120.0130.07714.58
5.3.110.0070.07714.62
5.3.100.0070.06714.04
5.3.90.0030.07314.02
5.3.80.0000.04714.04
5.3.70.0030.07713.94
5.3.60.0070.06013.92
5.3.50.0000.07713.94
5.3.40.0100.03714.00
5.3.30.0070.06713.96
5.3.20.0000.04713.68
5.3.10.0030.07313.64
5.3.00.0030.07713.65

preferences:
140.07 ms | 1394 KiB | 7 Q