Bugfix: if unknown SMB error found, the client returns now with boolean false. Some previously unknown NT_STATUS responses were added.
Bugfix: some methods prototyped in PHP streamWrapper class and implemented here now returns with boolean value as defined.
In a secured PHP environment, using '/tmp' or '/etc/passwd' probably violates open_basedir restriction. Hardwired '/tmp' were replaced by PHP upload temp folder (if was set) or system temp folder got from PHP settings. Script file itself were used as a file template for stat data structure.