Inaccurate documentation on return values from native functions
| From: | mickmackusa | Date: | Sun, 01 Dec 2024 03:41:56 +0000 |
| Subject: | Inaccurate documentation on return values from native functions | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-126085@lists.php.net to get a copy of this message | ||
I want to point out some misleading documentation so that those who are
best equipped to update the docs (or potentially update function behaviors
to align with intentions) can take action.
My simple demonstrations are at https://3v4l.org/Kumk4
[image: image.png]
Output:
[image: image.png]
I happened upon this discovery while analyzing this weirdo:
https://3v4l.org/Wj5u4
[image: image.png]
...which is an isolated demonstration from
https://stackoverflow.com/a/70817582/2943403
mickmackusa