xref: /PHP-5.6/ext/reflection/tests/026.phpt (revision 30a8d14f)
1--TEST--
2ReflectionExtension::info()
3--FILE--
4<?php
5$r = new ReflectionExtension("reflection");
6$r->info();
7
8date_default_timezone_set('Europe/Berlin');
9$r = new ReflectionExtension("date");
10$r->info();
11
12echo "\nDone!\n";
13?>
14--EXPECTF--
15Reflection
16
17Reflection => enabled
18Version => %s
19
20date
21
22date/time support => enabled
23"Olson" Timezone Database Version => %s
24Timezone Database => %s
25Default timezone => %s
26
27Directive => %s => %s
28date.timezone => %s => %s
29date.default_latitude => %s => %s
30date.default_longitude => %s => %s
31date.sunset_zenith => %s => %s
32date.sunrise_zenith => %s => %s
33
34Done!
35