PHP PHP Basics Daily Exercise Program True PHP

need explanation of error message

I have the following code: $a = 5; $isBoolean = true; $isIdentical; $isIdentical = var_dump($a === "5"); and get an error message saying "do not see variable $isIdentical" I am not sure why.

1 Answer

Jithin Johny George
Jithin Johny George
3,733 Points

var_dump() method does not return any value.

Please find php documentation for your reference : https://www.php.net/manual/en/function.var-dump.php