On 8 December 2010 01:12, Tom Robinson tom.robin...@motec.com.au wrote:
Thanks David.
If my understanding is correct, then:
SPControlPanel::getContentTypes($db);
is a reference to a static instantiation of the class. If so, then it
must be syntactically something like when using 'new'
-Original Message-
From: Tom Robinson [mailto:tom.robin...@motec.com.au]
Sent: Tuesday, December 07, 2010 4:03 PM
To: php-general@lists.php.net
Subject: [PHP] PHP4 to PHP5 migration with E_STRICT
Hi,
I'm migrating a web application written for PHP4 to PHP5. I've turned on
In getCategoryTypes() you're assigning a reference to the return value of
getContentTypes(), and PHP doesn't like that. You can return a reference to
a variable from a function, but taking the reference of a *value* is
meaningless since you can only create references to variables. Just remove
the
Thanks David.
If my understanding is correct, then:
SPControlPanel::getContentTypes($db);
is a reference to a static instantiation of the class. If so, then it
must be syntactically something like when using 'new' (which returns a
reference) so there's no need to apply the operator. Am I on
4 matches
Mail list logo