bug76735.phpt 211 B

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