[PHP-DEV] Suggested minor enhancement to PHP From: Rich Bryant (rbb <email protected>)
Date: 01/30/00

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>