Most Referenced Functions
  » google_pagerank()
  » preg_replace()
  » imagecreatefrompng()
  » site_pageranks()
  » imagepng()
  » imagedestroy()
  » imagestring()
  » imagecolorallocate()
  » htmlentities()
  » preg_match()
  » fopen()
  » header()
  » getimagesize()
  » preg_match_all()
  » session_start()
  » htmlspecialchars()
  » ob_start()
  » ob_flush()
  » strstr()
  » flush()
  » strpos()
  » setcookie()
  » str_replace()
  » array2vars()
  » nl2br()
  » preg_split()
  » ereg()
  » ereg_replace()
  » urlencode()
  » readgzfile()

Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m.

PHP Functions

Function: dotnet_load

(no version information, might be only in CVS)

dotnet_load -- Loads a DOTNET module

Description

int dotnet_load ( string assembly_name [, string datatype_name [, int codepage]] )

Warning

This function is EXPERIMENTAL . The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Warning

This function is currently not documented; only the argument list is available.

XXXI. Error Handling and Logging Functions

Introduction

These are functions dealing with error handling and logging. They allow you to define your own error handling rules, as well as modify the way the errors can be logged. This allows you to change and enhance error reporting to suit your needs.

With the logging functions, you can send messages directly to other machines, to an email (or email to pager gateway!), to system logs, etc., so you can selectively log and monitor the most important parts of your applications and websites.

The error reporting functions allow you to customize what level and kind of error feedback is given, ranging from simple notices to customized functions returned during errors.

Requirements

No external libraries are needed to build this extension.

Installation

There is no installation needed to use these functions; they are part of the PHP core.

Runtime Configuration

The behaviour of these functions is affected by settings in php.ini .

Table 1. Errors and Logging Configuration Options

Name Default Changeable Changelog error_reporting NULL PHP_INI_ALL   display_errors "1" PHP_INI_ALL   display_startup_errors "0" PHP_INI_ALL Available since PHP 4.0.3. log_errors "0" PHP_INI_ALL   log_errors_max_len "1024" PHP_INI_ALL Available since PHP 4.3.0. ignore_repeated_errors "0" PHP_INI_ALL Available since PHP 4.3.0. ignore_repeated_source "0" PHP_INI_ALL Available since PHP 4.3.0. report_memleaks "1" PHP_INI_ALL Available since PHP 4.3.0. track_errors "0" PHP_INI_ALL   html_errors "1" PHP_INI_ALL PHP_INI_SYSTEM in PHP <= 4.2.3. Available since PHP 4.0.2. docref_root "" PHP_INI_ALL Available since PHP 4.3.0. docref_ext "" PHP_INI_ALL Available since PHP 4.3.2. error_prepend_string NULL PHP_INI_ALL   error_append_string NULL PHP_INI_ALL   error_log NULL PHP_INI_ALL   warn_plus_overloading NULL PHP_INI??   For further details and definitions of the PHP_INI_* constants, see the Appendix H .

Here's a short explanation of the configuration directives.

error_reporting integer

Set the error reporting level. The parameter is either an integer representing a bit field, or named constants. The error_reporting levels and constants are described in Predefined Constants , and in php.ini . To set at runtime, use the error_reporting()

Related Function(s)

  • error_reporting()
  • syslog()
  • trigger_error()
  • debug_backtrace()
  • debug_print_backtrace()
  • error_log()
  • restore_error_handler()
  • restore_exception_handler()
  • set_error_handler()
  • set_exception_handler()
  • user_error()
  • Icemelon -- PHP, CSS, Javascript Tutorials, & More!
      © 2005-2010 Icemelon.com   Email: dave[AT]icemelon[D0T]c0m