3v4l.org

run code in 300+ PHP versions simultaneously
<?php filter_var('foo@bar.test', FILTER_VALIDATE_EMAIL, FILTER_THROW_ON_FAILURE|FILTER_NULL_ON_FAILURE);

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.140.0090.00619.27
8.4.130.0110.01019.69
8.4.90.0090.01119.45
8.3.270.0090.01018.28
8.3.260.0100.00816.46
8.3.180.0100.00918.72
8.3.50.0080.00916.84

preferences:
27.07 ms | 403 KiB | 5 Q