What will be the output of the following PHP code?
<?php
$value = 'car';
$result = filter_var($value, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE);
?>
<?php
$value = 'car';
$result = filter_var($value, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE);
?>
A. FALSE
B. TRUE
C. NULL
D. ERROR
Answer: Option C
Join The Discussion