yunhsiaho / php-debugging

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Debugging PHP

  • Repository: php-debugging
  • Type of Challenge: Learning challenge
  • Duration: 2 days
  • Team challenge : solo but together
  • Submission : Google form

Learning objectives

  • understanding the root of bug fixing
  • know what print_r, var_dump, die, echo, exit, break do
  • know what to do the next time you're stuck
  • give yourself the solver's mentality, a problem is just an opportunity to learn!

The Mission

Debugging is the pinpoint to being a master in any coding language.
Everyone gets errors, but the best programmers never let it stop them and they find a way to fix it every time! I scoured the internet for a debugging guide, that I felt like I could get behind and here it is: The guide

This is what I feel like doing when coding PHP that doesn't mean that this should be your way. Discover, look up, research whatever ways work for you to debug you code!

I encourage you to use xDebug as much as possible!

Must-have features

Open up the junior.php.broken file, read the comments, fix the code blocks as requested in the comments and put the final file expert.php in the repository folder as requested.

You will change this junior code in expert code!

About


Languages

Language:PHP 96.3%Language:Dockerfile 3.7%