Doc #54331 [NEW]: Language construct functions
| From: | portalpress dot org at gmail dot com | Date: | Mon, 21 Mar 2011 07:58:43 +0000 |
| Subject: | Doc #54331 [NEW]: Language construct functions | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-6111@lists.php.net to get a copy of this message | ||
From:
Operating system: Irrelevant
PHP version: Irrelevant
Package: Website problem
Bug Type: Documentation Problem
Bug description:Language construct functions
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 bug report at http://bugs.php.net/bug.php?id=54331&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54331&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54331&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54331&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=54331&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54331&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=54331&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=54331&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=54331&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=54331&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=54331&r=support
Expected behavior: http://bugs.php.net/fix.php?id=54331&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=54331&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=54331&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=54331&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54331&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=54331&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=54331&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=54331&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=54331&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=54331&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=54331&r=mysqlcfg