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
