note 38587 added to function.get-defined-constants

From: Date: Sun, 28 Dec 2003 20:41:27 +0000
Subject: note 38587 added to function.get-defined-constants
Groups: php.notes 
Request: Send a blank email to php-notes+get-62618@lists.php.net to get a copy of this message
The following code can be used to display the values returned by get_defined_constants in a more organized manner. <?php $constants = get_defined_constants(); foreach($constants as $name => $value) { echo($name.'&nbsp;=&nbsp;'.$value.'<br />'); } ?> ---- Manual Page -- http://www.php.net/manual/en/function.get-defined-constants.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38587 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38587&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38587&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#62618) next »