3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (new Uri\WhatWg\Url('scheme://host'))->withHost('[::1')->toAsciiString();

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)
8.4.130.0110.01019.25
8.4.120.0040.00617.56
8.4.110.0100.00817.61
8.4.90.0100.00317.90
8.3.260.0050.00416.55
8.3.250.0090.00816.50
8.3.240.0130.00616.58
8.3.180.0180.00116.65
8.3.50.0120.00716.74

preferences:
25.84 ms | 403 KiB | 5 Q