string(40) "Failed to open stream: Permission denied"
string(63) "Failed to open stream: "StreamHandler::stream_open" call failed"
string(9) "Test test"
Fatal error: Uncaught Error: Invalid callback Foo::customErrorHandler, cannot access private method Foo::customErrorHandler() in /in/LsBph:59
Stack trace:
#0 /in/LsBph(59): fopen('/tmp/foo.log', 'a')
#1 [internal function]: StreamHandler->stream_open('/tmp/foo.log', 'a', 0, NULL)
#2 /in/LsBph(14): fopen('logs://foo.log', 'a')
#3 /in/LsBph(23): Foo->write()
#4 /in/LsBph(75): Foo->test()
#5 {main}
thrown in /in/LsBph on line 59
Process exited with code 255.
Output for 8.1.0 - 8.1.30
string(40) "Failed to open stream: Permission denied"
string(63) "Failed to open stream: "StreamHandler::stream_open" call failed"
string(9) "Test test"
string(63) "Failed to open stream: "StreamHandler::stream_open" call failed"
string(9) "Test test"