On 10/3/2022 12:59 PM, Hans Henrik Bergan wrote:
@Ken Brown
I don't think you wrote what you meant. You're not saying that explicitly specifying the 
default value changes the behavior, are you? Maybe you meant to say that the default mode 
is "r"?

sorry about that, i meant "ab" makes the code work.

@Andrey Repin
php -d 'display_errors=stderr'
?

adding -d 'display_errors=stderr'  does not make any difference. still
int(0) NULL

Someone needs to debug this. Unfortunately, php currently has no Cygwin maintainer. Are you able to run php under gdb to see what's going on? Even better, are you interested in taking over as the php maintainer?

If not, I might try debugging this at some point. But I have quite a bit of Real Life going on at the moment, so I don't know when I'll get to it.

Ken

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to