3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); class foo { static function $bar = 1; } $x = new foo; var_dump($x->bar);

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.120.0110.04212.00
5.4.110.0110.04812.00
5.4.100.0100.03912.00
5.4.90.0090.04012.00
5.4.80.0110.03911.99
5.4.70.0110.03811.99
5.4.60.0110.03611.99
5.4.50.0110.03811.99
5.4.40.0100.04011.98
5.4.30.0100.03911.98
5.4.20.0140.04411.97
5.4.10.0100.03711.97
5.4.00.0110.03611.47
5.3.220.0100.04112.68
5.3.210.0070.04512.68
5.3.200.0110.03912.68
5.3.190.0110.04112.68
5.3.180.0110.03912.68
5.3.170.0090.04012.67
5.3.160.0140.05512.67
5.3.150.0130.06912.67
5.3.140.0120.05012.66
5.3.130.0120.04212.66
5.3.120.0130.05512.66
5.3.110.0220.05012.66
5.3.100.0130.05112.12
5.3.90.0120.04712.08
5.3.80.0120.04912.07
5.3.70.0130.04412.07
5.3.60.0130.04412.06
5.3.50.0120.04812.00
5.3.40.0150.04412.00
5.3.30.0090.04811.96
5.3.20.0100.04311.74
5.3.10.0120.03711.70
5.3.00.0100.03911.68

preferences:
135.5 ms | 1386 KiB | 7 Q