06-18-2008, 02:14 PM
|
#21 (permalink)
|
|
The Addict
Join Date: Sep 2007
Location: Denmark
Posts: 247
Thanks: 6
|
Quote:
Originally Posted by Wildhoney
I must admit, I don't understand that error. The only thing I can think of is that type-casting wasn't available in PHP 4? It's a while since I used it so I have completely forgotten. Any help would be appreciated.
The function setSize looks like the following:
php Code:
public function setSize($iSize) { $this->m_iSize = (int) $iSize; return $this; }
|
Type casting was available as of PHP4, however it might be the new PHP5 keywords causing the error, even though I would expect an "Unexpected T_STRING" insted
__________________
|
|
|