What palprime object is it asking for?
Task 2 says "This third-party library gives you access to create a PalprimeChecker object. Create a variable called $checker and assign it a new PalprimeChecker object as the value." I have no idea what object it is seeking does anyone know?
<?php include("class.palprimechecker.php"); $checker ->PalprimeChecker = " "; echo "The number ## "; echo "(is|is not)"; echo " a palprime."; ?>
Seth Kroger56,360 Points
You create a new object with the aptly named
new keyword followed by the class name called like a function.
$checker = new PalprimeChecker();