1.

What will be the output of the following PHP code?<?php$var = 'vehicle';$Res = filter_var($var, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE);echo $Res;?>

A. Error
B. Null
C. True
D. False
E. None of these
Answer» C. True


Discussion

No Comment Found