3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a {static function b() {return ['a','b'];}} a::b()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()(); function c() { reuturn function() { return c(); }} c()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()(); echo "Ende";

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)
7.0.20.0400.06720.34
7.0.10.0100.08020.11
7.0.00.0200.07720.20
5.6.170.0200.08720.55
5.6.160.0070.06320.54
5.6.150.0030.08318.16
5.6.140.0030.08318.28
5.6.130.0070.08718.14
5.6.120.0000.05020.96
5.6.110.0070.04321.14
5.6.100.0100.06321.13
5.6.90.0100.08320.98
5.6.80.0170.07720.54
5.5.310.0300.07320.27
5.5.300.0030.04017.97
5.5.290.0130.03317.97
5.5.280.0100.04320.85
5.5.270.0070.08020.65
5.5.260.0070.05320.64
5.5.250.0070.06720.59
5.5.240.0230.06720.26

preferences:
128.95 ms | 1394 KiB | 7 Q