Hello, 

I've inherited some legacy code in CF that I'll be porting to PHP.

I see ample use of try/catch. Why? Why is it better/different than if/else?

I've never really used it in procedural coding and I'm still somewhat new to 
OOP overall.

- Ben

I googled and found a couple discussions. Maybe someone has some sample code
that shows why one is better than the other.

http://www.thescripts.com/forum/thread349361.html

_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to