Whats the thing the report bugs in php?
- by Max Hazard
Currently I am learning php. Php is understood by browser itself right from php sdk right?
SDK include libraries right? So browser is like an interpreter of php codes.
I want to know that whenever I type a wrong php syntax what is the thing report me the error? Obviously the browser is reporting the error. But what part of it? I mean I don't get it. Like writing a compiler we do lexical analysis and make the compiler which report any bug in source code.
I assume here browser is analogous to compiler. I don't know exactly but compiler contains bug report functions or methods which is debugger. Debugger is part of compiler which report bugs. Does the browser contains such debuggers? Can there be any browser which doesn't understand php?