php-src/ext/reflection/tests/026.phpt
Peter Kokot ede39739fd Normalize Reflection phpinfo() output
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).
2018-06-04 16:28:16 +02:00

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!