On 21/08/07, nickj(a)svn.wikimedia.org <nickj(a)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.
Rob Church