Posted by Phil Latio on 03/07/07 00:43
Firstly, is the following code allowed assuming the addContent function
expects as single argument?
$page->addContent($form = new Form());
Secondly, I've been reading a tutorial and noticed the use of an "&" in
front of the word "new" when instantiating a new object. See example below,
I just wondered what is it's significance? The code was purely a snippet.
$textField1 = &new inputTextObject("blah", "blah", "blah");
Cheers
Phil
[Back to original message]
|