PHP Manualdefined(PHP 4, PHP 5) defined — Checks whether a given named constant exists Description
bool defined
( string
$name
)Checks whether the given constant exists and is defined.
Parameters
Return Values
Returns Examples
Example #1 Checking Constants
<?php See Also
![]() |
PHP-Index
New Tutorial entries
|