Rob Church wrote:
On 21/08/07, nickj@svn.wikimedia.org nickj@svn.wikimedia.org wrote:
$m = array(); preg_match( '!\.(css|js)$!u', $this->mTitle->getText(), $m );
Note that $m would have been initialised on the next line, since preg_match() accepts it as a reference, and PHP will initialise variables passed by reference.
Nick doesn't like it, it makes his Zend static analysis thingy go beep.
-- Tim Starling