[nycphp-talk] PHP 4 Constructor Weirdness

Jay Sheth jay_nyphp2 at
Mon Jan 8 13:27:01 EST 2007

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 ;-)

- 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. :-)

More information about the talk mailing list