libsmbclient-php
libsmbclient-php copied to clipboard
fopen does not support the b flag
https://www.php.net/manual/en/function.fopen.php
Their documentation doesn't list the 'b' flag in the table but it does in the description and example.
b is the default, t is what we don't implement, so, if there is no need for t, we can probably wait until there is someone with a real use case for it.
My use case is simply that I was trying to reuse the same fopen code between SMB and local storage. Without SMB supporting the 'b' flag I need to have SMB override it with the different flags. Not a big deal at all, but it would be nice if it worked.