php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_embed.h File Reference
#include <main/php.h>
#include <main/SAPI.h>
#include <main/php_main.h>
#include <main/php_variables.h>
#include <main/php_ini.h>
#include <zend_ini.h>

Go to the source code of this file.

Macros

#define PHP_EMBED_START_BLOCK(x, y)
 
#define PHP_EMBED_END_BLOCK()
 
#define EMBED_SAPI_API   SAPI_API
 

Functions

EMBED_SAPI_API int php_embed_init (int argc, char **argv)
 
EMBED_SAPI_API void php_embed_shutdown (void)
 

Variables

EMBED_SAPI_API sapi_module_struct php_embed_module
 

Macro Definition Documentation

◆ EMBED_SAPI_API

#define EMBED_SAPI_API   SAPI_API

Definition at line 39 of file php_embed.h.

◆ PHP_EMBED_END_BLOCK

#define PHP_EMBED_END_BLOCK ( )
Value:
} zend_catch { \
/* int exit_status = EG(exit_status); */ \
} zend_end_try(); \
php_embed_shutdown(); \
}
#define zend_catch
Definition zend.h:277
#define zend_end_try()
Definition zend.h:280

Definition at line 31 of file php_embed.h.

◆ PHP_EMBED_START_BLOCK

#define PHP_EMBED_START_BLOCK ( x,
y )
Value:
{ \
php_embed_init(x, y); \
#define zend_first_try
Definition zend.h:284

Definition at line 27 of file php_embed.h.

Function Documentation

◆ php_embed_init()

EMBED_SAPI_API int php_embed_init ( int argc,
char ** argv )

Definition at line 163 of file php_embed.c.

◆ php_embed_shutdown()

EMBED_SAPI_API void php_embed_shutdown ( void )

Definition at line 252 of file php_embed.c.

Variable Documentation

◆ php_embed_module

EMBED_SAPI_API sapi_module_struct php_embed_module
extern

Definition at line 125 of file php_embed.c.