3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A; use C\E,B\D as P; function foo() { echo __NAMESPACE__;} class E{ function foo() { echo __NAMESPACE__;}} Sa=new P; $a\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.190.0170.04719.15
5.4.180.0130.04719.29
5.4.170.0170.03719.21
5.4.160.0200.03319.02
5.4.150.0300.02719.14
5.4.140.0130.04016.36
5.4.130.0200.03316.50
5.4.120.0170.04316.33
5.4.110.0170.03716.34
5.4.100.0170.03716.45
5.4.90.0170.03716.51
5.4.80.0230.04316.52
5.4.70.0200.03316.28
5.4.60.0300.03716.50
5.4.50.0200.03316.34
5.4.40.0200.03316.53
5.4.30.0200.03316.48
5.4.20.0230.03016.55
5.4.10.0300.03316.24
5.4.00.0100.05015.83
5.3.270.0100.04314.61
5.3.260.0170.03714.57
5.3.250.0130.03714.51
5.3.240.0130.03714.61
5.3.230.0100.04314.61
5.3.220.0270.03714.64
5.3.210.0230.06014.47
5.3.200.0470.03314.64
5.3.190.0230.04014.48
5.3.180.0230.04714.79
5.3.170.0170.03314.61
5.3.160.0230.06314.78
5.3.150.0200.03314.68
5.3.140.0200.04314.55
5.3.130.0200.03314.45
5.3.120.0230.03314.45
5.3.110.0170.04314.51
5.3.100.0200.04314.02
5.3.90.0170.03314.07
5.3.80.0200.04314.09
5.3.70.0230.06313.93
5.3.60.0200.07313.92
5.3.50.0230.07013.87
5.3.40.0100.04014.17
5.3.30.0200.03014.02
5.3.20.0230.06713.61
5.3.10.0130.03313.56
5.3.00.0200.07013.53

preferences:
140.55 ms | 1386 KiB | 7 Q