3v4l.org

run code in 500+ PHP versions simultaneously
<?php function assign_to(&$var) { return function ($value) use (&$var) { $var = $value; }; } $string = "Hello World!"; $string |> strtolower(...) |> ucfirst(...) |> assign_to($result); var_dump($result);

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.3.50.0130.00616.79

preferences:
47.11 ms | 489 KiB | 4 Q