Doc #54331 [Bgs]: Language construct functions

From: Date: Mon, 21 Mar 2011 09:33:41 +0000
Subject: Doc #54331 [Bgs]: Language construct functions
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6113@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54331&edit=1 ID: 54331 User updated by: portalpress dot org at gmail dot com Reported by: portalpress dot org at gmail dot com Summary: Language construct functions Status: Bogus Type: Documentation Problem Package: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Thanks A.Harvey, but I still feel, this is a documentation problem as there is no link to the reserved keywords whenever php.net uses the term language construct. I did a Google on 'language construct', not on 'reserved keywords', as I didn't know to search for that. It would not even be half an hour work to include a link to http://php.net/manual/en/reserved.keywords.php at die() echo() empty() exit() eval() include() include_once() isset() list() require() require_once() return() print() and unset(). But again, thanks anyway. Igor Previous Comments: ------------------------------------------------------------------------ [2011-03-21 09:44:03] aharvey@php.net I believe you're looking for http://php.net/manual/en/reserved.keywords.php ------------------------------------------------------------------------ [2011-03-21 08:58:42] portalpress dot org at gmail dot com Description: ------------ Many times I read 'this is a language construct and not a function', but there is no list of all the language constructs on php.net. Sometimes I need to use language constructs dynamically and I am sure, more people would like to see a complete list of the language constructs on php.net. For example, I have a timer function, which executes one function and after a while, with negative result, executes another. I had to make a pf_exit($exit_code) function as it is also a language construct http://nl2.php.net/manual/en/function.exit.php Test script: --------------- /* Example functions for language constructs */ function pf_exit($exit_code) { exit($exit_code); } function pf_echo($to_echo) { echo $to_echo; } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54331&edit=1

« previous php.doc.bugs (#6113) next »