3v4l.org

run code in 300+ PHP versions simultaneously
<?php class TestClass { public var $f = "Hello Fucker"; function __construct() { $f = "Hello World"; } function return_f() { return self::$f; } } $obj = new TestClass(); print $obj->return_f();

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.0310.06111.99
5.4.80.0120.04711.99
5.4.70.0230.06711.99
5.4.60.0230.06611.99
5.4.50.0190.03911.99
5.4.40.0180.04111.98
5.4.30.0270.06511.97
5.4.20.0220.03711.97
5.4.10.0160.04411.98
5.4.00.0200.06811.47
5.3.190.0200.04612.67
5.3.180.0260.05212.67
5.3.170.0160.04612.67
5.3.160.0250.05312.67
5.3.150.0250.05412.67
5.3.140.0260.05412.66
5.3.130.0180.04912.66
5.3.120.0230.07112.66
5.3.110.0170.04712.66
5.3.100.0180.04412.12
5.3.90.0230.05312.09
5.3.80.0220.04112.08
5.3.70.0130.04712.08
5.3.60.0150.04712.06
5.3.50.0230.06912.01
5.3.40.0210.04312.01
5.3.30.0200.04011.98
5.3.20.0290.06511.76
5.3.10.0220.06911.72
5.3.00.0170.04311.70

preferences:
138.44 ms | 1394 KiB | 7 Q