mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-03-31 13:22:16 +02:00
The current phpinfo() tests were fragile and not compatible when build against libbson/libmongoc system libraries, which might also have different SSL options.
21 lines
356 B
PHP
21 lines
356 B
PHP
--TEST--
|
|
phpinfo() reports mongodb.debug (default and overridden)
|
|
--INI--
|
|
mongodb.debug=stderr
|
|
--SKIPIF--
|
|
<?php if (defined("HHVM_VERSION_ID")) exit("skip HHVM does not do phpinfo() this way"); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
ini_set("mongodb.debug", "stdout");
|
|
phpinfo();
|
|
|
|
?>
|
|
===DONE===
|
|
<?php exit(0); ?>
|
|
--EXPECTF--
|
|
%a
|
|
mongodb.debug => stdout => stderr
|
|
%a
|
|
===DONE===
|