|
Posted by mydejamail on 11/15/05 17:01
Is there a major flaw with PHPs variable handling? I am writing some
PHP scripts and the variables seem to be all over the place.
Eg in one instance, I am counting the number of times a for loop gets
executed. When I force termination the loop count is always set to the
maximum. When I copy the loops current value to a different one, that
variables value also gets changed.
Some procedures don't work when I pass some variables by reference, so
I have to make the variables global to ensure proper output.
The version of PHP I am using is 4.3.11 and I wonder if its variable
handling is totally hosed. It is proving very frustrating.
My deja
Navigation:
[Reply to this message]
|