FYI there were no newlines involved in my program.  (go back to the
message and read the code)

On Fri, 4 Jul 2003 12:06:46 -0700 (PDT), "Rasmus Lerdorf"
<[EMAIL PROTECTED]> said:
> On Fri, 4 Jul 2003, Robert Cummings wrote:
> > Undoubtedly the above will work as we both know, the output will be
> > "123"; however, if you look at the original code in question, there is
> > no "\n" tailing the output written to the counter file and thus the
> > increment works fine (unless of course when he created the file to begin
> > he had a newline - something I did not do in my test :)
> 
> which is exactly what it looked like he did since he said that switching
> to $counter+=1; fixed it for him which would force it to be an integer.
> 
> -Rasmus
> 
--
Kyle

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to