3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { static $test = new Dragon; } class Dragon { public function __construct() { echo 'rawwrrrrr'.PHP_EOL; } } test(); test(); test(); test();

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.230.0120.04112.38
5.4.220.0110.04112.39
5.4.210.0130.03912.39
5.4.200.0140.04012.39
5.4.190.0180.03612.38
5.4.180.0130.03812.38
5.4.170.0200.06712.39
5.4.160.0100.04512.38
5.4.150.0120.04412.38
5.4.140.0100.04512.07
5.4.130.0150.05312.05
5.4.120.0160.04612.02
5.4.110.0120.04912.01
5.4.100.0160.05412.02
5.4.90.0100.04612.01
5.4.80.0110.04112.01
5.4.70.0150.03812.01
5.4.60.0140.04512.01
5.4.50.0110.04312.01
5.4.40.0130.04212.00
5.4.30.0130.04211.99
5.4.20.0290.06412.00
5.4.10.0140.04911.99
5.4.00.0120.04811.49
5.3.280.0200.06312.71
5.3.270.0140.05012.72
5.3.260.0250.06412.72
5.3.250.0240.06912.72
5.3.240.0150.04612.72
5.3.230.0150.04412.71
5.3.220.0120.04312.68
5.3.210.0130.04912.68
5.3.200.0130.04612.68
5.3.190.0120.04712.67
5.3.180.0180.04212.67
5.3.170.0120.04312.67
5.3.160.0170.04312.67
5.3.150.0120.04912.67
5.3.140.0190.04412.66
5.3.130.0120.04812.66
5.3.120.0200.07212.65
5.3.110.0130.04712.65
5.3.100.0140.05112.12
5.3.90.0120.04712.10
5.3.80.0140.04612.08
5.3.70.0150.04912.08
5.3.60.0160.04412.07
5.3.50.0130.04712.01
5.3.40.0100.05012.01
5.3.30.0130.04511.97
5.3.20.0250.06811.75
5.3.10.0130.04711.71
5.3.00.0150.04611.70

preferences:
140.4 ms | 1394 KiB | 7 Q