mirror of
https://github.com/php/php-src.git
synced 2024-10-03 07:46:12 +00:00
9a38bd66c8
If running ./run-tests.php directly there isn't necessarily an ini file, so the function can also return false.
15 lines
253 B
PHP
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\)
|