1--TEST--
2Bug #76735 (Incorrect message in fopen on invalid mode)
3--FILE--
4<?php
5fopen(__FILE__, 'Q');
6?>
7--EXPECTF--
8Warning: fopen(%s): failed to open stream: `Q' is not a valid mode for fopen in %s on line %d
9