echos -- blech single-step through your code using a debugger
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jay Sheth Sent: Monday, January 08, 2007 1:27 PM To: NYPHP Talk Subject: [nyphp-talk] PHP 4 Constructor Weirdness Hi Chris and Scott, thanks for the quick replies. You're both right. I should've tested it with an echo inside of def(). I'd simplified this as a test case from a larger problem I'd seen, and *assumed* I'd found the right answer. So much for making untested assumptions, as Chris said ;-) Regards, - Jay Chris wrote: >False assumptions form the basis of many programming errors. I'd suggest >that you first verify your assumptions. Are you sure the def() method >being called? If it is, that's insane, but I bet it's not. :-) _______________________________________________ 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 _______________________________________________ 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
