On Mon, Sep 27, 2004 at 11:52:24AM -0600, Jeffrey Moss wrote: > return NULL; ... snip ... > "Only variable references should be returned by reference "
Just like the error message says. "References" are referring to variables. NULL isn't a variable. Do this instead: $tmp = null; return $tmp; --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php