★ wanayoo — archive 1999 http://www.php.net/manual/function.defined.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Misc.
Quick Reference
Misc.
* connection_aborted
* connection_status
* connection_timeout
* define
* defined
* die
* eval
* exit
* func_get_arg
* func_get_args
* func_num_args
* function_exists
* get_browser
* ignore_user_abort
* iptcparse
* leak
* pack
* register_shutdown_function
* serialize
* sleep
* uniqid
* unpack
* unserialize
* usleep
Manual: defined
View the source code for this pageSearch the site



Previous page
 define
die 
Next page


defined

defined -- Checks whether a given named constant exists.

Description

int defined(string name);

Returns TRUE if the named constant given by name has been defined, false otherwise.

See also define() and the section on Constants.


User Contributed Notes: defined


barwick@gmx.de
21-Feb-2000 07:10
If you're looking for a function to tell whether a variable exists, look at isset(). defined() is relevant only for constants.


 About Notes


Previous page
 define
die 
Next page



Site Statistics


Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.