boots wrote:
Hi. It seems to me that Smarty is not at fault. For example, one of the
reported issues is:

$arg_list = $this->_compile_arg_list('block', $tag_command, $attrs,
$_cache_attrs='');

Which calls:

    function _compile_arg_list($type, $name, $attrs, &$cache_code) {

Yet is apparently generating:

[16-Dec-2005 17:05:32] PHP Strict Standards:  Only variables should be
passed by reference in C:\wwwroot\lib\smarty\Smarty_Compiler.class.php
on line 729

Clearly the passed parameter is the variable, $_cache_attrs. So what's with
this new strictness? It was certainly not a notice previously.

Which actually is an expression.
http://php.net/manual/en/language.references.pass.php

Regards,
--
Michael - <mike(@)php.net> http://dev.iworks.at/ext-http/http-functions.html.gz

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to