note 51656 added to functions

From: Date: Wed, 06 Apr 2005 18:48:44 +0000
Subject: note 51656 added to functions
Groups: php.notes 
Request: Send a blank email to php-notes+get-87614@lists.php.net to get a copy of this message
You can check for a function if it is defined by using bool function_exists ( string function_name ) This comes in handy, especially when having to use different implementations depending on the OS you use (e.g. check_dnsrr is not defined on Windows). May also be used to check whether a conditionally defined function has been defined (as described above). ---- Manual Page -- http://www.php.net/manual/en/functions.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+51656 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51656&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51656&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51656&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51656&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51656&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+51656&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#87614) next »