xref: /PHP-8.2/ext/standard/tests/file/bug76735.phpt (revision 2576c57a)
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