3v4l.org

run code in 300+ PHP versions simultaneously
<?php $meh ="!':><,.@£$%^&*((" var_dump(filter_var($meh, FILTER_SANITIZE_STRING));

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)
7.2.20.0040.01519.53
7.2.10.0140.00819.86
7.2.00.0080.00819.54
7.1.140.0070.00718.40
7.1.130.0070.01318.15
7.1.120.0000.01518.00
7.1.110.0030.01317.82
7.1.100.0030.01417.84
7.1.90.0040.01117.99
7.1.80.0060.01218.03
7.1.70.0100.00717.09
7.1.60.0250.01335.14
7.1.50.0190.00634.61
7.1.40.0100.02734.26
7.1.30.0260.01134.27
7.1.20.0270.01034.50
7.1.10.0110.00416.36
7.1.00.0060.00716.39

preferences:
144.83 ms | 1394 KiB | 7 Q