3v4l.org

run code in 300+ PHP versions simultaneously
<?php $format = array("phNo" => 123456789, "email" => abc@hotmail.com ); $fil = array("phNo" => FILTER_VALIDATE_INT, "email" => FILTER_VALIDATE_EMAIL ); $result = filter_var_array($format, $fil);

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)
5.4.270.0070.06018.66
5.4.260.0130.05318.79
5.4.250.0170.05018.90
5.4.240.0130.07718.90
5.4.230.0100.07018.96
5.4.220.0100.07718.90
5.4.210.0170.05018.94
5.4.200.0070.06319.05
5.4.190.0300.06018.74
5.4.180.0100.06318.79
5.4.170.0070.06019.02
5.4.160.0070.06719.00
5.4.150.0130.06718.83
5.4.140.0100.05716.40
5.4.130.0130.06716.57
5.4.120.0070.07016.27
5.4.110.0030.06316.51
5.4.100.0070.07716.47
5.4.90.0070.07016.53
5.4.80.0170.05016.46
5.4.70.0130.05016.39
5.4.60.0100.05716.46
5.4.50.0130.06316.63
5.4.40.0130.06016.39
5.4.30.0170.05716.32
5.4.20.0070.08016.45
5.4.10.0070.08316.45
5.4.00.0130.06715.84
5.3.280.0070.07714.29
5.3.270.0100.07714.76
5.3.260.0200.06714.60
5.3.250.0130.06714.76
5.3.240.0170.05014.52
5.3.230.0200.05714.61
5.3.220.0200.05714.57
5.3.210.0230.06314.59
5.3.200.0070.05014.57
5.3.190.0030.07314.57
5.3.180.0130.05014.34
5.3.170.0200.06314.58
5.3.160.0100.05314.56
5.3.150.0100.05314.66
5.3.140.0130.06014.71
5.3.130.0170.07314.34
5.3.120.0030.06014.57
5.3.110.0070.05714.42
5.3.100.0130.05714.03
5.3.90.0100.07714.06
5.3.80.0170.05714.12
5.3.70.0130.05713.88
5.3.60.0070.05314.02
5.3.50.0030.07313.94
5.3.40.0100.05713.89
5.3.30.0100.05013.61
5.3.20.0130.05013.78
5.3.10.0100.07013.70
5.3.00.0030.06313.58
5.2.170.0100.04311.05
5.2.160.0030.05711.23
5.2.150.0070.05711.13
5.2.140.0100.05311.25
5.2.130.0030.06310.98
5.2.120.0030.05311.02
5.2.110.0070.04311.11
5.2.100.0130.03710.93
5.2.90.0070.05711.09
5.2.80.0130.04310.85
5.2.70.0100.05710.97
5.2.60.0100.05711.05
5.2.50.0170.05311.13
5.2.40.0100.03710.91
5.2.30.0130.04710.73
5.2.20.0130.05710.88
5.2.10.0170.04010.94
5.2.00.0070.05010.71
5.1.60.0100.03710.06
5.1.50.0070.03310.02
5.1.40.0030.0539.82
5.1.30.0070.04310.32
5.1.20.0070.05010.34
5.1.10.0070.04310.02
5.1.00.0130.04310.09
5.0.50.0070.0338.73
5.0.40.0100.0308.46
5.0.30.0100.0408.13
5.0.20.0070.0308.25
5.0.10.0070.0378.25
5.0.00.0200.0408.21
4.4.90.0100.0276.95
4.4.80.0000.0236.95
4.4.70.0070.0276.95
4.4.60.0130.0206.95
4.4.50.0070.0276.95
4.4.40.0070.0376.96
4.4.30.0030.0306.96
4.4.20.0130.0136.96
4.4.10.0070.0276.96
4.4.00.0030.0336.96
4.3.110.0030.0236.96
4.3.100.0000.0276.96
4.3.90.0000.0236.96
4.3.80.0030.0376.96
4.3.70.0070.0276.96
4.3.60.0070.0236.96
4.3.50.0000.0276.96
4.3.40.0130.0336.96
4.3.30.0030.0306.96
4.3.20.0030.0206.96
4.3.10.0070.0236.96
4.3.00.0030.0207.38

preferences:
140.57 ms | 1394 KiB | 7 Q