The major components of our 3-tier environment are the:
Browser (Safari, Chrome, Firefox, etc)
Web server (Apache)
PHP processor used by the web server (on our system this is the Zend processor)
Database (MySQL database).
which can detect a PHP run-time error
which can detect a JavaScript syntax error