http://dk.php.net/manual/en/function.constant.php
echo constant($constant_name);
More Related Contents:
- What does the PHP error message “Notice: Use of undefined constant” mean?
- PHP | define() vs. const
- PHP Constants Containing Arrays?
- Can I get CONST’s defined on a PHP class?
- How do I turn off PHP Notices?
- Accessing a class constant using a simple variable which contains the name of the constant
- Can I use string concatenation to define a class CONST in PHP?
- Redefining constants in PHP
- Include constant in string without concatenating
- PHP 5: const vs static
- Which is faster? Constants, Variables or Variable Arrays
- quoting constants in php: “this is a MY_CONSTANT”
- extract distinct tag value from xml file using php
- how to compare the two fields in php with different table in mysql?
- Warning: strpos(): Empty needle in /XXX/post.php on line XXXX
- PHP sort array by date and character
- Login to remote site with PHP cURL
- How to extract text from the PDF document? [closed]
- Fetching data from MySQL database to HTML dropdown list
- How to configure WAMP (localhost) to send email using Gmail?
- Remove a string from the beginning of a string
- Access denied for user ‘root’@’localhost’ with PHPMyAdmin
- Warning: mysql_query(): 3 is not a valid MySQL-Link resource
- PHP using preg_replace : “Delimiter must not be alphanumeric or backslash” error
- How to dynamically populate options on dropdown lists based on selection in another dropdown?
- CodeIgniter: Try Catch is not working in model class
- PHP PDF template library with PDF output? [closed]
- PHP upload size and its impact on post size and memory limit
- PHP Version 5.2.14 / Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’
- Reconnection of Client when server reboots in WebSocket