View Single Post
Old 06-18-2008, 02:14 PM   #21 (permalink)
Kalle
The Addict
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 247
Thanks: 6
Kalle is on a distinguished road
Default

Quote:
Originally Posted by Wildhoney View Post
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
__________________
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote