Date: 01/30/00
- Next message: luisbravo <email protected>: "[PHP-DEV] PHP 4.0 Bug #3357: "--disable-short-tags" causes error in bison (ref bug id# 3335)"
- Previous message: luisbravo <email protected>: "[PHP-DEV] PHP 4.0 Bug #3356: "--disable-short-tags" causes error in bison (ref bug id# 3335)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I would like to make a suggestion for a minor enhancement to
PHP. This is to have an appreviated 'if' test much like the
'<%+ $varname;%>' statement is an abbreviation for the print
statement.
For example, rather than having the following line to conditionally
include HTML:
<% if($is_member) { %>
it would be more readable (and more palatable to non-programmers
who often work with HTML content) to have a functionally identical
statement like the following:
<%IF $is_member %>
...accompanied, of course, by '<%ELSE', '<%ELSEIF' and '<%ENDIF'
constructs.
This is just a general suggestion, there may be better approaches.
-Rich
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: luisbravo <email protected>: "[PHP-DEV] PHP 4.0 Bug #3357: "--disable-short-tags" causes error in bison (ref bug id# 3335)"
- Previous message: luisbravo <email protected>: "[PHP-DEV] PHP 4.0 Bug #3356: "--disable-short-tags" causes error in bison (ref bug id# 3335)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

