Skip to main content

Error Handling

  • Chapter
  • First Online:
  • 1679 Accesses

Abstract

An error is a mistake in the code that the developer needs to fix. When an error occurs in PHP the default behavior is to display the error message in the browser. This message includes the filename, line number and error description in order to help the developer correct the problem.

This is a preview of subscription content, log in via an institution.

Buying options

eBook
USD   14.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    http://www.php.net/manual/en/function.fopen.php

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Mikael Olsson

About this chapter

Cite this chapter

Olsson, M. (2013). Error Handling. In: PHP Quick Scripting Reference. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6284-8_29

Download citation

Publish with us

Policies and ethics