@@ -1341,6 +1341,88 @@ extern "C" {
1341
1341
extern "C" {
1342
1342
pub fn php_printf ( format : * const :: std:: os:: raw:: c_char , ...) -> usize ;
1343
1343
}
1344
+ pub type php_core_globals = _php_core_globals ;
1345
+ #[ repr( C ) ]
1346
+ pub struct _php_core_globals {
1347
+ pub implicit_flush : zend_bool ,
1348
+ pub output_buffering : zend_long ,
1349
+ pub enable_dl : zend_bool ,
1350
+ pub output_handler : * mut :: std:: os:: raw:: c_char ,
1351
+ pub unserialize_callback_func : * mut :: std:: os:: raw:: c_char ,
1352
+ pub serialize_precision : zend_long ,
1353
+ pub memory_limit : zend_long ,
1354
+ pub max_input_time : zend_long ,
1355
+ pub display_errors : zend_uchar ,
1356
+ pub display_startup_errors : zend_bool ,
1357
+ pub log_errors : zend_bool ,
1358
+ pub log_errors_max_len : zend_long ,
1359
+ pub ignore_repeated_errors : zend_bool ,
1360
+ pub ignore_repeated_source : zend_bool ,
1361
+ pub report_memleaks : zend_bool ,
1362
+ pub error_log : * mut :: std:: os:: raw:: c_char ,
1363
+ pub doc_root : * mut :: std:: os:: raw:: c_char ,
1364
+ pub user_dir : * mut :: std:: os:: raw:: c_char ,
1365
+ pub include_path : * mut :: std:: os:: raw:: c_char ,
1366
+ pub open_basedir : * mut :: std:: os:: raw:: c_char ,
1367
+ pub extension_dir : * mut :: std:: os:: raw:: c_char ,
1368
+ pub php_binary : * mut :: std:: os:: raw:: c_char ,
1369
+ pub sys_temp_dir : * mut :: std:: os:: raw:: c_char ,
1370
+ pub upload_tmp_dir : * mut :: std:: os:: raw:: c_char ,
1371
+ pub upload_max_filesize : zend_long ,
1372
+ pub error_append_string : * mut :: std:: os:: raw:: c_char ,
1373
+ pub error_prepend_string : * mut :: std:: os:: raw:: c_char ,
1374
+ pub auto_prepend_file : * mut :: std:: os:: raw:: c_char ,
1375
+ pub auto_append_file : * mut :: std:: os:: raw:: c_char ,
1376
+ pub input_encoding : * mut :: std:: os:: raw:: c_char ,
1377
+ pub internal_encoding : * mut :: std:: os:: raw:: c_char ,
1378
+ pub output_encoding : * mut :: std:: os:: raw:: c_char ,
1379
+ pub arg_separator : arg_separators ,
1380
+ pub variables_order : * mut :: std:: os:: raw:: c_char ,
1381
+ pub rfc1867_protected_variables : HashTable ,
1382
+ pub connection_status : :: std:: os:: raw:: c_short ,
1383
+ pub ignore_user_abort : zend_bool ,
1384
+ pub header_is_being_sent : :: std:: os:: raw:: c_uchar ,
1385
+ pub tick_functions : zend_llist ,
1386
+ pub http_globals : [ zval ; 6usize ] ,
1387
+ pub expose_php : zend_bool ,
1388
+ pub register_argc_argv : zend_bool ,
1389
+ pub auto_globals_jit : zend_bool ,
1390
+ pub docref_root : * mut :: std:: os:: raw:: c_char ,
1391
+ pub docref_ext : * mut :: std:: os:: raw:: c_char ,
1392
+ pub html_errors : zend_bool ,
1393
+ pub xmlrpc_errors : zend_bool ,
1394
+ pub xmlrpc_error_number : zend_long ,
1395
+ pub activated_auto_globals : [ zend_bool ; 8usize ] ,
1396
+ pub modules_activated : zend_bool ,
1397
+ pub file_uploads : zend_bool ,
1398
+ pub during_request_startup : zend_bool ,
1399
+ pub allow_url_fopen : zend_bool ,
1400
+ pub enable_post_data_reading : zend_bool ,
1401
+ pub report_zend_debug : zend_bool ,
1402
+ pub last_error_type : :: std:: os:: raw:: c_int ,
1403
+ pub last_error_message : * mut zend_string ,
1404
+ pub last_error_file : * mut :: std:: os:: raw:: c_char ,
1405
+ pub last_error_lineno : :: std:: os:: raw:: c_int ,
1406
+ pub php_sys_temp_dir : * mut :: std:: os:: raw:: c_char ,
1407
+ pub disable_classes : * mut :: std:: os:: raw:: c_char ,
1408
+ pub allow_url_include : zend_bool ,
1409
+ pub max_input_nesting_level : zend_long ,
1410
+ pub max_input_vars : zend_long ,
1411
+ pub in_user_include : zend_bool ,
1412
+ pub user_ini_filename : * mut :: std:: os:: raw:: c_char ,
1413
+ pub user_ini_cache_ttl : zend_long ,
1414
+ pub request_order : * mut :: std:: os:: raw:: c_char ,
1415
+ pub mail_x_header : zend_bool ,
1416
+ pub mail_log : * mut :: std:: os:: raw:: c_char ,
1417
+ pub in_error_log : zend_bool ,
1418
+ pub syslog_facility : zend_long ,
1419
+ pub syslog_ident : * mut :: std:: os:: raw:: c_char ,
1420
+ pub have_called_openlog : zend_bool ,
1421
+ pub syslog_filter : zend_long ,
1422
+ }
1423
+ extern "C" {
1424
+ pub static mut core_globals: _php_core_globals ;
1425
+ }
1344
1426
#[ repr( C ) ]
1345
1427
#[ derive( Debug , Copy , Clone ) ]
1346
1428
pub struct _zend_ini_entry {
0 commit comments