fix #6: compatibility with 8.2
[awesomized/ext-ion] / tests / Writer / Stream.phpt
1 --TEST--
2 ion\Writer\Stream
3 --EXTENSIONS--
4 ion
5 --FILE--
6 TEST
7 <?php
8
9 $w = new ion\Writer\Stream\Writer(STDOUT);
10 $w->writeTypedNull(ion\Type::Int);
11 var_dump(STDOUT === $w->getStream());
12 $w->finish();
13
14 ?>
15
16 DONE
17 --EXPECTF--
18 TEST
19 bool(true)
20 null.int
21 DONE