PHP Build a Basic PHP Website (2018) Adding a Basic Form Objects

How do I assign the variable "$checker" a new PalprimeChecker object?

What does this mean? What does the syntax look like? I can't figure out what the question is asking


echo "The number ## ";
echo "(is|is not)";
echo " a palprime.";


2 Answers

You simply need to create instance of class here i.e. object.

$checker = new PalprimeChecker();

changed comment to answer