1--TEST--
2Virtual property existence tests
3--EXTENSIONS--
4xmlreader
5--FILE--
6<?php
7
8$reader = new XMLReader();
9
10var_dump(isset($reader->attributeCount));
11var_dump(empty($reader->attributeCount));
12var_dump(property_exists($reader, "attributeCount"));
13
14var_dump(isset($reader->baseURI));
15var_dump(empty($reader->baseURI));
16var_dump(property_exists($reader, "baseURI"));
17
18var_dump(isset($reader->depth));
19var_dump(empty($reader->depth));
20var_dump(property_exists($reader, "depth"));
21
22var_dump(isset($reader->hasAttributes));
23var_dump(empty($reader->hasAttributes));
24var_dump(property_exists($reader, "hasAttributes"));
25
26var_dump(isset($reader->hasValue));
27var_dump(empty($reader->hasValue));
28var_dump(property_exists($reader, "hasValue"));
29
30?>
31--EXPECT--
32bool(true)
33bool(true)
34bool(true)
35bool(true)
36bool(true)
37bool(true)
38bool(true)
39bool(true)
40bool(true)
41bool(true)
42bool(true)
43bool(true)
44bool(true)
45bool(true)
46bool(true)
47