Server IP : 23.254.227.96 / Your IP : 216.73.216.41 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/local/cwpsrv/var/services/twig/vendor/symfony/debug/Resources/ext/ |
Upload File : |
/* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #ifndef PHP_SYMFONY_DEBUG_H #define PHP_SYMFONY_DEBUG_H extern zend_module_entry symfony_debug_module_entry; #define phpext_symfony_debug_ptr &symfony_debug_module_entry #define PHP_SYMFONY_DEBUG_VERSION "2.7" #ifdef PHP_WIN32 # define PHP_SYMFONY_DEBUG_API __declspec(dllexport) #elif defined(__GNUC__) && __GNUC__ >= 4 # define PHP_SYMFONY_DEBUG_API __attribute__ ((visibility("default"))) #else # define PHP_SYMFONY_DEBUG_API #endif #ifdef ZTS #include "TSRM.h" #endif ZEND_BEGIN_MODULE_GLOBALS(symfony_debug) intptr_t req_rand_init; void (*old_error_cb)(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args); zval *debug_bt; ZEND_END_MODULE_GLOBALS(symfony_debug) PHP_MINIT_FUNCTION(symfony_debug); PHP_MSHUTDOWN_FUNCTION(symfony_debug); PHP_RINIT_FUNCTION(symfony_debug); PHP_RSHUTDOWN_FUNCTION(symfony_debug); PHP_MINFO_FUNCTION(symfony_debug); PHP_GINIT_FUNCTION(symfony_debug); PHP_GSHUTDOWN_FUNCTION(symfony_debug); PHP_FUNCTION(symfony_zval_info); PHP_FUNCTION(symfony_debug_backtrace); static char *_symfony_debug_memory_address_hash(void * TSRMLS_DC); static const char *_symfony_debug_zval_type(zval *); static const char* _symfony_debug_get_resource_type(long TSRMLS_DC); static int _symfony_debug_get_resource_refcount(long TSRMLS_DC); void symfony_debug_error_cb(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args); #ifdef ZTS #define SYMFONY_DEBUG_G(v) TSRMG(symfony_debug_globals_id, zend_symfony_debug_globals *, v) #else #define SYMFONY_DEBUG_G(v) (symfony_debug_globals.v) #endif #endif /* PHP_SYMFONY_DEBUG_H */