26
Took me 6 hours to fix one missing semicolon in PHP
I was following a tutorial to build a simple login form and my code kept throwing a white screen error. Turns out I forgot a semicolon after a require statement on line 17, and I didn't spot it until I copied the code into an online syntax checker. Has anyone else spent way too long hunting down tiny typos like that?
2 comments
Log in to join the discussion
Log In2 Comments
anna5671mo ago
Read somewhere that devs spend like 20% of their time just hunting down missing semicolons.
7
leep891mo ago
Most of that time is actually just waiting for the linter to run, not hunting.
8