3v4l.org

run code in 300+ PHP versions simultaneously
<?php setcookie('a', 'b', [ 'path' => '/', 'secure' => 1, 'partitioned' => 1, ]);

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.120.0110.00624.00
8.4.110.0150.00522.14
8.4.100.0120.00817.49
8.4.90.0050.00920.80
8.4.80.0050.00519.53
8.4.70.0030.00719.74
8.3.250.0060.00318.95
8.3.240.0100.00917.10
8.3.230.0090.00816.80
8.3.220.0100.01016.47
8.3.180.0060.00916.50
8.3.50.0140.00616.58
8.2.290.0100.01022.29

preferences:
38.91 ms | 403 KiB | 5 Q