Computer Science, asked by sayandepatra3880, 11 months ago

What will be the output of the following PHP code?

<?php $num = "123"; if (!filter_var($num, FILTER_VALIDATE_INT)) echo("Integer is not valid"); else echo("Integer is valid"); ?>
A.No output is returned
B.Integer is not valid
C.Integer is valid
D.Error

Answers

Answered by amritansh6239
0
C is the correct one
Similar questions