mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
ede39739fd
This patch normalizes the Reflection extension version in the phpinfo output. It removes the Git attributes ident blob object name from Git repository as an extension version. Also the table output is synced with other extensions (i.e. enabled in a row instead of table header).
35 lines
604 B
PHP
35 lines
604 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
|
|
|
|
date
|
|
|
|
date/time support => enabled
|
|
timelib version => %s
|
|
"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!
|