Files
mongo-php-driver/tests/functional/phpinfo-1.phpt
T
Jeremy Mikola 6ed6a34f5b Only assert mongodb.debug INI in phpinfo() tests
The current phpinfo() tests were fragile and not compatible when build against libbson/libmongoc system libraries, which might also have different SSL options.
2017-02-07 16:37:12 -05:00

18 lines
281 B
PHP

--TEST--
phpinfo() reports mongodb.debug (no value)
--SKIPIF--
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM does not do phpinfo() this way"); ?>
--FILE--
<?php
phpinfo();
?>
===DONE===
<?php exit(0); ?>
--EXPECTF--
%a
mongodb.debug => no value => no value
%a
===DONE===