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

  1. Create a file named:Debug1.phpin your text editor.
  2. Set your file todisplay errors: ini_set('display erors','On'); error_reporting(E_ALL);
  3. 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!
  4. Display the type and value ofeach variablewithVAR_DUMP.
  5. 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!