mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
add friendly log messages (req #55109)
This commit is contained in:
parent
1a2c15f912
commit
88e36378ff
4 changed files with 178 additions and 15 deletions
|
@ -26,6 +26,16 @@
|
|||
extern sapi_module_struct cli_server_sapi_module;
|
||||
extern int do_cli_server(int argc, char **argv TSRMLS_DC);
|
||||
|
||||
ZEND_BEGIN_MODULE_GLOBALS(cli_server)
|
||||
short color;
|
||||
ZEND_END_MODULE_GLOBALS(cli_server)
|
||||
|
||||
#ifdef ZTS
|
||||
#define CLI_SERVER_G(v) TSRMG(cli_server_globals_id, zend_cli_server_globals *, v)
|
||||
#else
|
||||
#define CLI_SERVER_G(v) (cli_server_globals.v)
|
||||
#endif
|
||||
|
||||
#endif /* PHP_CLI_SERVER_H */
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue