Re: Re: svn: /phpdoc/en/trunk/reference/datetime/datetime/ add.xml modify.xml setdate.xml setisodate.xml settime.xml settimestamp.xml
settimezone.xml sub.xml

From: Date: Tue, 04 May 2010 21:53:34 +0000
Subject: Re: Re: svn: /phpdoc/en/trunk/reference/datetime/datetime/ add.xml modify.xml setdate.xml setisodate.xml settime.xml settimestamp.xml
settimezone.xml sub.xml
References: 1 2 3 4 5  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969381791@lists.php.net to get a copy of this message
On 4 May 2010 22:03, Daniel Convissor <danielc@analysisandsolutions.com> wrote: > Hi Derick: > > On Tue, May 04, 2010 at 06:12:25PM +0100, Derick Rethans wrote: >> >> There is still a difference in userland between: >> >> function tralala ( $foo ); >> >> and >> >> function tralala ( &$foo ); >> >> with $foo being fed an object. Objects are passed by a handle, so it >> looks like a reference. > > Yep.  Though this documentation isn't covering userland. > > >> AFAIK the refence bit is not used there in the XML. > > It is used, turning the output from $var to &$var. > > So would you and the doc team rather I explain in the parameters section > that the $object parameter gets modified by the operation?  Is there a > particular term for this? "Expected behaviour" ?? > > --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 >

« previous php.doc (#969381791) next »