How _should_ this be done? In terms of "best practice".
<?php
function foobar ()
{
return new SomeObject;
}
?>
Or:
<?php
function barfoo ()
{
$tempvar = new SomeObject;
return $tempvar
}
?>
Please don't reply if you really, really don't know what you are talking
about.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

