Hi Marco,

You can use get_defined_constans(void)

-- begin code --

print_r(get_defined_constants());

-- end code --

Good Luck,
    Firman

----- Original Message -----
From: "Marco Schuler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 15, 2004 9:23 PM
Subject: [PHP] List of all defined constants


> Hi
>
> How can I get a list of all constants defined with define()?
>
> --
> Grüsse
>  Marco
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to