Re: Changes between 5.1.1 & 5.1.2-dev breaks PHP - Smarty plugin

From: Date: Fri, 16 Dec 2005 20:39:42 +0000
Subject: Re: Changes between 5.1.1 & 5.1.2-dev breaks PHP - Smarty plugin
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-21261@lists.php.net to get a copy of this message
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

« previous php.internals (#21261) next »