mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-23 00:18:02 +02:00
6ed6a34f5b
The current phpinfo() tests were fragile and not compatible when build against libbson/libmongoc system libraries, which might also have different SSL options.
18 lines
281 B
PHP
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===
|