xref: /PHP-7.0/ext/reflection/tests/026.phpt (revision 5d2c3034)
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
23timelib version => %s
24"Olson" Timezone Database Version => %s
25Timezone Database => %s
26Default timezone => %s
27
28Directive => %s => %s
29date.timezone => %s => %s
30date.default_latitude => %s => %s
31date.default_longitude => %s => %s
32date.sunset_zenith => %s => %s
33date.sunrise_zenith => %s => %s
34
35Done!
36