This is exactly, what the code should do; in Zend/zend_operators.c there is an
special function for this to do (increment_string), so i assume this is the
expected result.
Sascha
> I know there is a better way to do that, and this code is silly, but
> still...
> Try running these two loops in
I know there is a better way to do that, and this code is silly, but
still...
Try running these two loops in PHP 4.2.3.
for($i = 'A'; $i <= 'Y'; $i++){
echo "$i ";
}
for($i = 'A'; $i <= 'Z'; $i++){
echo "$i ";
}
Notice the difference in output. Is this the expected result?
Vlad
--