﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,appname,phpversion,exts,sapi,probability,blockedby,blocking
64,Strict Standards on key/current functions,rtshome,moo,"
I have a problem with XCache.
In our test machine we enabled xcache this morning. With all debug 
levels on (STRICT STANDARDS included), we have some functions that raise 
a Strict Standards warning that they did not raise without xcache.

Here it is a sample code:

{{{
#!php
<?php
function returnArray() {
	return array(""key"" => ""value"");
}

function passMe($p) {
	echo $p;
}

passMe(current(returnArray()));

?>
}}}

In PHP 5.2 this is valid code (it doesn't raise any php warning).
With PHP 5.2 and XCache enabled it raises a warning on the passMe 
function call:

Strict Standards: Only variables should be passed by reference in 
xcache.php on line 10

Apart modifying the code, is there another solution? Is it a xcache bug?

Thank you,
Rts

",defect,closed,major,1.2.1,cacher,1.2-dev,fixed,,,,,,,,,
