mirror of
https://github.com/php/php-src.git
synced 2024-12-17 22:09:12 +08:00
35 lines
596 B
PHP
35 lines
596 B
PHP
--TEST--
|
|
ReflectionExtension::info()
|
|
--FILE--
|
|
<?php
|
|
$r = new ReflectionExtension("reflection");
|
|
$r->info();
|
|
|
|
date_default_timezone_set('Europe/Berlin');
|
|
$r = new ReflectionExtension("date");
|
|
$r->info();
|
|
|
|
echo "\nDone!\n";
|
|
?>
|
|
--EXPECTF--
|
|
Reflection
|
|
|
|
Reflection => enabled
|
|
Version => %s
|
|
|
|
date
|
|
|
|
date/time support => enabled
|
|
"Olson" Timezone Database Version => %s
|
|
Timezone Database => %s
|
|
Default timezone => %s
|
|
|
|
Directive => %s => %s
|
|
date.timezone => %s => %s
|
|
date.default_latitude => %s => %s
|
|
date.default_longitude => %s => %s
|
|
date.sunset_zenith => %s => %s
|
|
date.sunrise_zenith => %s => %s
|
|
|
|
Done!
|