xref: /PHP-7.4/sapi/cli/tests/bug70006.phpt (revision 7af4e6d0)
1--TEST--
2Bug #70006 (cli - function with default arg = STDOUT crash output)
3--SKIPIF--
4<?php
5include "skipif.inc";
6?>
7--FILE--
8<?php
9
10function foo1($stream = STDOUT)
11{
12  //do nothing
13}
14foo1();
15?>
16okey
17--EXPECT--
18okey
19