php-src/ext/standard/tests/php_ini_loaded_file.phpt
Nikita Popov 9a38bd66c8 Fix php_ini_loaded_file() test
If running ./run-tests.php directly there isn't necessarily an ini file,
so the function can also return false.
2012-08-16 17:46:34 +02:00

15 lines
253 B
PHP

--TEST--
Check the php_ini_loaded_file() function
--CREDITS--
Sebastian Schürmann
sschuermann@chip.de
Testfest 2009 Munich
--INI--
precision=12
--FILE--
<?php
var_dump(php_ini_loaded_file());
?>
--EXPECTREGEX--
string\(\d+\) ".*php\.ini"|bool\(false\)