3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a {static function b() {return ['a','b'];}} a::b()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()(); function c(){return 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.0330.05020.34
7.0.10.0100.06720.46
7.0.00.0100.08320.21
5.6.170.1030.04320.48
5.6.160.0030.08320.47
5.6.150.0030.08718.28
5.6.140.0030.08318.28
5.6.130.0030.04318.11
5.6.120.0130.03321.14
5.6.110.0030.04720.99
5.6.100.0100.07720.98
5.6.90.0070.06321.02
5.6.80.0100.05320.51
5.5.310.0170.06020.34
5.5.300.0030.05017.96
5.5.290.0100.08318.03
5.5.280.0000.09020.65
5.5.270.0030.06720.89
5.5.260.0130.07720.75
5.5.250.0030.07720.78
5.5.240.0300.06020.23

preferences:
142.88 ms | 1394 KiB | 7 Q