@@ -1274,6 +1274,9 @@ PHP_MINIT_FUNCTION(phongo)
1274
1274
PHP_MINIT (Timestamp )(INIT_FUNC_ARGS_PASSTHRU );
1275
1275
PHP_MINIT (UTCDatetime )(INIT_FUNC_ARGS_PASSTHRU );
1276
1276
1277
+ REGISTER_STRING_CONSTANT ("PHONGO_VERSION" , PHONGO_VERSION_S , CONST_CS | CONST_PERSISTENT );
1278
+ REGISTER_STRING_CONSTANT ("PHONGO_STABILITY" , PHONGO_STABILITY_S , CONST_CS | CONST_PERSISTENT );
1279
+
1277
1280
return SUCCESS ;
1278
1281
}
1279
1282
/* }}} */
@@ -1324,9 +1327,10 @@ PHP_MINFO_FUNCTION(phongo)
1324
1327
{
1325
1328
php_info_print_table_start ();
1326
1329
php_info_print_table_header (2 , "phongo support" , "enabled" );
1327
- php_info_print_table_row (2 , "phongo" , PHONGO_VERSION_S );
1328
- php_info_print_table_row (2 , "libmongoc" , MONGOC_VERSION_S );
1329
- php_info_print_table_row (2 , "libbson" , BSON_VERSION_S );
1330
+ php_info_print_table_row (2 , "phongo version" , PHONGO_VERSION_S );
1331
+ php_info_print_table_row (2 , "phongo stability" , PHONGO_STABILITY_S );
1332
+ php_info_print_table_row (2 , "libmongoc version" , MONGOC_VERSION_S );
1333
+ php_info_print_table_row (2 , "libbson version" , BSON_VERSION_S );
1330
1334
php_info_print_table_end ();
1331
1335
1332
1336
DISPLAY_INI_ENTRIES ();
0 commit comments