3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo (poof())[0]; echo whatwhat()->one; function uhuh() { return [ "unicorn!", "wand!", "magic!" ]; } function whatwhat() { return { 'one' => "unicorn!", 'two' => "wand!", 'three' => "magic!" }; }

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.140.0320.05012.07
5.4.130.0140.05012.06
5.4.120.0190.06412.02
5.4.110.0130.03912.01
5.4.100.0150.04812.01
5.4.90.0120.04112.01
5.4.80.0140.05012.01
5.4.70.0130.03812.01
5.4.60.0110.04012.01
5.4.50.0200.05312.00
5.4.40.0110.04112.00
5.4.30.0230.05011.99
5.4.20.0180.05411.99
5.4.10.0110.04011.99
5.4.00.0150.05811.48
5.3.240.0140.04212.72
5.3.230.0140.03812.71
5.3.220.0120.04212.68
5.3.210.0170.04912.68
5.3.200.0120.04412.68
5.3.190.0140.04212.68
5.3.180.0170.05812.67
5.3.170.0250.05212.67
5.3.160.0140.06112.67
5.3.150.0130.04012.67
5.3.140.0150.03912.66
5.3.130.0130.04312.66
5.3.120.0090.04812.66
5.3.110.0150.03912.66
5.3.100.0220.06312.12
5.3.90.0240.05012.09
5.3.80.0120.04312.08
5.3.70.0220.05412.08
5.3.60.0190.05912.07
5.3.50.0230.05412.01
5.3.40.0150.05312.01
5.3.30.0200.06411.97
5.3.20.0310.05111.75
5.3.10.0300.04911.71
5.3.00.0170.05511.70

preferences:
134.84 ms | 1399 KiB | 7 Q