Updates to Tomato RAF including NGINX && PHP
[tomato.git] / release / src / router / php / ext / reflection / tests / ReflectionObject_export_basic1.phpt
blobf7dfef86708b43920061dd88ca332c6e938f57a1
1 --TEST--
2 ReflectionObject::export() : very basic test with no dynamic properties
3 --FILE--
4 <?php
6 class Foo  {
7         public $bar = 1;
9 $f = new foo;
11 ReflectionObject::export($f);
14 --EXPECTF--
15 Object of class [ <user> class Foo ] {
16   @@ %s 3-5
18   - Constants [0] {
19   }
21   - Static properties [0] {
22   }
24   - Static methods [0] {
25   }
27   - Properties [1] {
28     Property [ <default> public $bar ]
29   }
31   - Dynamic properties [0] {
32   }
34   - Methods [0] {
35   }