3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Parent{ public static foo(){ echo 'p:foo'; } } class Child extends Parent { public static foo(){ echo 'c:foo'; } } class GrandChild extends Child { } GrandChild::foo();

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.200.0140.04612.34
5.4.190.0090.04412.34
5.4.180.0080.04312.34
5.4.170.0100.04412.35
5.4.160.0090.04512.34
5.4.150.0100.04412.34
5.4.140.0100.04412.02
5.4.130.0120.04112.01
5.4.120.0090.04311.97
5.4.110.0110.03911.96
5.4.100.0090.03811.96
5.4.90.0100.03811.96
5.4.80.0100.04011.97
5.4.70.0090.04711.97
5.4.60.0080.04611.96
5.4.50.0090.04511.96
5.4.40.0140.04911.95
5.4.30.0100.03911.95
5.4.20.0090.03911.95
5.4.10.0090.03811.95
5.4.00.0130.04511.44
5.3.270.0100.04212.73
5.3.260.0100.04412.72
5.3.250.0100.04612.72
5.3.240.0130.04212.72
5.3.230.0130.04512.71
5.3.220.0100.05012.68
5.3.210.0110.04812.68
5.3.200.0120.04412.68
5.3.190.0090.04612.68
5.3.180.0170.05812.67
5.3.170.0090.04712.67
5.3.160.0100.04612.67
5.3.150.0120.04512.67
5.3.140.0130.04412.66
5.3.130.0100.04312.66
5.3.120.0110.04512.66
5.3.110.0100.04112.66
5.3.100.0140.05512.12
5.3.90.0120.03612.08
5.3.80.0110.03912.08
5.3.70.0090.04012.08
5.3.60.0090.04112.06
5.3.50.0110.03812.00
5.3.40.0080.04212.00
5.3.30.0180.05111.94
5.3.20.0110.03611.72
5.3.10.0090.03711.68
5.3.00.0080.04011.67

preferences:
139.91 ms | 1394 KiB | 7 Q