note 114772 added to yaf.constants

From: Date: Thu, 03 Apr 2014 19:59:35 +0000
Subject: note 114772 added to yaf.constants
Groups: php.notes 
Request: Send a blank email to php-notes+get-199117@lists.php.net to get a copy of this message
The documentation here is not fully correct. <?php print_r(get_defined_constants()); die; ?> Will show basically: [PHP_YAF_VERSION] => 2.3.2 [YAF_ENVIRON] => product [YAF_ERR_STARTUP_FAILED] => 512 [YAF_ERR_ROUTE_FAILED] => 513 [YAF_ERR_DISPATCH_FAILED] => 514 [YAF_ERR_AUTOLOAD_FAILED] => 520 [YAF_ERR_NOTFOUND_MODULE] => 515 [YAF_ERR_NOTFOUND_CONTROLLER] => 516 [YAF_ERR_NOTFOUND_ACTION] => 517 [YAF_ERR_NOTFOUND_VIEW] => 518 [YAF_ERR_CALL_FAILED] => 519 [YAF_ERR_TYPE_ERROR] => 521 So use PHP_YAF_VERSION instead of just YAF_VERSION ---- Server IP: 192.41.45.150 Probable Submitter: 80.47.53.86 ---- Manual Page -- http://php.net/manual/en/yaf.constants.php Edit -- https://master.php.net/note/edit/114772 Del: integrated -- https://master.php.net/note/delete/114772/integrated Del: useless -- https://master.php.net/note/delete/114772/useless Del: bad code -- https://master.php.net/note/delete/114772/bad+code Del: spam -- https://master.php.net/note/delete/114772/spam Del: non-english -- https://master.php.net/note/delete/114772/non-english Del: in docs -- https://master.php.net/note/delete/114772/in+docs Del: other reasons-- https://master.php.net/note/delete/114772 Reject -- https://master.php.net/note/reject/114772 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#199117) next »