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.5.20.0060.01119.96
8.5.10.0110.00716.80
8.5.00.0120.01222.87
8.4.160.0110.01122.05
8.4.150.0090.00416.87
8.4.140.0090.00619.27
8.4.130.0110.01019.69
8.4.90.0090.01119.45
8.3.290.0120.00722.53
8.3.280.0100.01218.50
8.3.270.0090.01018.28
8.3.260.0100.00816.46
8.3.180.0100.00918.72
8.3.50.0080.00916.84
8.2.300.0120.00920.32
8.1.340.0140.00721.71

preferences:
33.82 ms | 403 KiB | 5 Q