xref: /PHP-8.0/ext/reflection/tests/026.phpt (revision ede39739)
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
18
19date
20
21date/time support => enabled
22timelib version => %s
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