Files
mongo-php-driver/tests/ini/ini-debug-phpinfo-001.phpt
Jeremy Mikola cfc6bbbe5d PHPC-1978: Expose mongoc_global_mock_service_id as INI option
This also consolidates INI functions (and trace logging) into a separate file and ensure that mongoc logging is disabled during GSHUTDOWN (avoiding a potential segfault).

Enable service ID mocking when testing load balancers with HAProxy.
2021-10-15 13:44:30 -04:00

16 lines
178 B
PHP

--TEST--
phpinfo() reports mongodb.debug (default)
--FILE--
<?php
phpinfo();
?>
===DONE===
<?php exit(0); ?>
--EXPECTF--
%a
mongodb.debug => no value => no value
%a
===DONE===