Question: Create a file named:Debug1.phpin your text editor. Set your file todisplay errors: ini_set('display erors','On'); error_reporting(E_ALL); Create three variables which include a variable, a string and
- Create a file named:Debug1.phpin your text editor.
- Set your file todisplay errors: ini_set('display erors','On'); error_reporting(E_ALL);
- Create three variables which include a variable, a string and a 4-pocket array. Then echo one of the variables, but MIS-SPELL the variable name....this will give you a syntax error!
- Display the type and value ofeach variablewithVAR_DUMP.
- Finally, run aDEBUG_BACKTRACEin one of your simple functions from Lesson 6, Part 1 (copy/paste from the earlier file).
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
