I fairly new to php. I've been developing my website offline on version 5, i have just tried to run it on a web server using version 4 and im getting parse errors.
All of my exception handling has stopped working, particularly all my 'throw new exception' lines cause a parse error. I have read that the object model was rewritten for v5 and reckon this is the problem.
Can anyone help me out with a way an easy way to fix it? replacing all of lines is going to take me a long time.