3v4l.org

run code in 300+ PHP versions simultaneously
<?php function expect_an_exception(Exception $e){} function expect_a_string(string $string){} expect_an_exception(new Exception('Division by zero.')); expect_a_string("hello");

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)
vld0.0100.00715.50
git.master0.0050.00814.77
rfc.partials0.0080.01016.81

preferences:
87.93 ms | 525 KiB | 13 Q