3v4l.org

run code in 300+ PHP versions simultaneously
<?php $val = filter_var_array([1,2,a,4], VALIDATE_FILER_INT); print_r($val)

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.0.00.0070.08320.12
5.6.160.0100.07320.38
5.6.150.0070.05318.12
5.6.140.0070.04018.22
5.6.130.0030.04318.22
5.6.120.0070.07721.14
5.6.110.0100.08021.00
5.6.100.0130.07321.08
5.6.90.0000.08021.01
5.6.80.0070.03320.35
5.5.300.0070.08017.95
5.5.290.0100.07717.98
5.5.280.0130.05020.80
5.5.270.0100.08020.76
5.5.260.0030.05320.87
5.5.250.0030.08320.61
5.5.240.4200.03320.25

preferences:
141.1 ms | 1394 KiB | 7 Q