@@ -1966,19 +1966,22 @@ PHP_MINFO_FUNCTION(mongodb)
19661966 php_info_print_table_header (2 , "MongoDB support" , "enabled" );
19671967 php_info_print_table_row (2 , "MongoDB extension version" , MONGODB_VERSION_S );
19681968 php_info_print_table_row (2 , "MongoDB extension stability" , MONGODB_STABILITY_S );
1969+
1970+ #ifdef HAVE_SYSTEM_LIBBSON
1971+ php_info_print_table_row (2 , "libbson headers version" , BSON_VERSION_S );
1972+ php_info_print_table_row (2 , "libbson library version" , bson_get_version ());
1973+ #else
1974+ php_info_print_table_row (2 , "libbson bundled version" , BSON_VERSION_S );
1975+ #endif
1976+
19691977#ifdef HAVE_SYSTEM_LIBMONGOC
19701978 php_info_print_table_row (2 , "libmongoc headers version" , MONGOC_VERSION_S );
19711979 php_info_print_table_row (2 , "libmongoc library version" , mongoc_get_version ());
19721980#else
19731981 /* Bundled libraries, buildtime = runtime */
19741982 php_info_print_table_row (2 , "libmongoc bundled version" , MONGOC_VERSION_S );
19751983#endif
1976- #ifdef HAVE_SYSTEM_LIBBSON
1977- php_info_print_table_row (2 , "libbson headers version" , BSON_VERSION_S );
1978- php_info_print_table_row (2 , "libbson library version" , bson_get_version ());
1979- #else
1980- php_info_print_table_row (2 , "libbson bundled version" , BSON_VERSION_S );
1981- #endif
1984+
19821985 php_info_print_table_end ();
19831986
19841987 DISPLAY_INI_ENTRIES ();
0 commit comments