--TEST-- Bug #67626: Exceptions not properly handled in user stream handlers --FILE-- getMessage(); } echo "\n"; try { fwrite($fp, 'foobar'); } catch (Exception $e) { echo $e->getMessage(); } ?> --EXPECT-- stream_read_exception stream_write_exception