ext_215697 ([identity profile] outintospace.livejournal.com) wrote in [personal profile] funeralcrasher 2008-06-23 03:12 pm (UTC)

Because $num is not returned by the function. When multiply() is called, it's not updating the reference to $num. It's creating a new variable with method scope called $num.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting