try catch and php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

try catch and php

Post by pelegk2 »

is there like in java try and catch in php?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

If you are using PHP 4 you should start here:
http://php.net/manual/en/language.oop.php

If you are using PHP 5 (or for interest anyway if classes and object are your thing) you should start here:
http://php.net/manual/en/language.oop5.php

Mac
Post Reply