PHP PHP Basics Daily Exercise Program True PHP

Marcus Thomaeus
Marcus Thomaeus
12,291 Points

Create a boolean variable named $isBoolean and make it evaluate to true.

It keeps saying "$isBooleanOne does not exist", don't know what's wrong

index.php
<?php
$a = 5;
//Place your code below this comment
$booleanOne = TRUE ;
?>

1 Answer

Steven Parker
Steven Parker
181,132 Points

The "Bummer" message is trying to tell you that name is incorrect.

The instructions asked you to "Create a boolean variable named $isBoolean", but the named used in this code is "$booleanOne" instead.

Steven Parker
Steven Parker
181,132 Points

Marcus Thomaeus — Glad to help. You can mark a question solved by choosing a "best answer".
And happy coding!