Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, string given in /in/7WXmI:10
Stack trace:
#0 /in/7WXmI(10): fclose('test')
#1 {main}
thrown in /in/7WXmI on line 10
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, string given in /in/7WXmI:10
Stack trace:
#0 /in/7WXmI(10): fclose('test')
#1 {main}
thrown in /in/7WXmI on line 10
Process exited with code 255.
Warning: fopen(compress.zlib://tmp/test.foo): failed to open stream: No such file or directory in /in/7WXmI on line 3
Warning: fwrite(): supplied argument is not a valid stream resource in /in/7WXmI on line 8
Warning: fclose(): supplied argument is not a valid stream resource in /in/7WXmI on line 10
Output for 4.3.0 - 4.3.1
Warning: fopen(compress.zlib://tmp/test.foo) [http://www.php.net/function.fopen]: failed to create stream: No such file or directory in /in/7WXmI on line 3
Warning: fwrite(): supplied argument is not a valid stream resource in /in/7WXmI on line 8
Warning: fclose(): supplied argument is not a valid stream resource in /in/7WXmI on line 10