Reserved Words and System Constants
You have learned the basics about writing PHP programs, but a comprehensive list of reserved words is always helpful. Table 4-12 contains the PHP reserved word list (the number following the reserved word indicates the release when it became available).
And | else | include once() | php_user_filter |
or | elseif | isset() | interface 5 |
xor | empty () | list() | implements 5 |
_FILE_ | enddeclare | new | extends |
exception 5 | endfor | print() | public 5 |
_LINE_ | endforeach | require() | private 5 |
array() | endif | require_once() | protected 5 |
as | endswitch | return() | abstract 5 |
break | endwhile | static | clone 5 |
case | eval() | switch | try 5 |
class | exit() | unset() | catch 5 |
const | extends | use | throw 5 |
continue | for | var | cfunction 4 |
declare | foreach | while | old function 4 |
default | function | _FUNCTION_ | this ... |
Get Oracle Database 10g Express Edition PHP Web Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.