1--TEST--
2stream_isatty(): uncastable user stream
3--FILE--
4<?php
5
6require __DIR__ . '/DummyStreamWrapper.inc';
7stream_wrapper_register('custom', DummyStreamWrapper::class);
8
9$fp = fopen("custom://myvar", "r+");
10var_dump(stream_isatty($fp));
11fclose($fp);
12
13echo "Done";
14?>
15--EXPECT--
16bool(false)
17Done
18