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

From: Date: Sat, 17 Dec 2005 01:42:48 +0000
Subject: Re: Changes between 5.1.1 & 5.1.2-dev breaks PHP - Smarty plugin
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-21262@lists.php.net to get a copy of this message
--- Michael Wallner <mike@php.net> wrote: > 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 Ah, thanks. Sorry for the noise. xo boots > Regards, > -- > Michael - <mike(@)php.net> > http://dev.iworks.at/ext-http/http-functions.html.gz __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

« previous php.internals (#21262) next »