php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
exec.c File Reference
#include <stdio.h>
#include "php.h"
#include <ctype.h>
#include "php_string.h"
#include "ext/standard/file.h"
#include "basic_functions.h"
#include "exec.h"
#include "SAPI.h"
#include <signal.h>
#include <limits.h>

Go to the source code of this file.

Functions

 PHP_MINIT_FUNCTION (exec)
 
PHPAPI int php_exec (int type, const char *cmd, zval *array, zval *return_value)
 
 PHP_FUNCTION (exec)
 
 PHP_FUNCTION (system)
 
 PHP_FUNCTION (passthru)
 
PHPAPI zend_stringphp_escape_shell_cmd (const zend_string *unescaped_cmd)
 
PHPAPI zend_stringphp_escape_shell_arg (const zend_string *unescaped_arg)
 
 PHP_FUNCTION (escapeshellcmd)
 
 PHP_FUNCTION (escapeshellarg)
 
 PHP_FUNCTION (shell_exec)
 

Function Documentation

◆ php_escape_shell_arg()

PHPAPI zend_string * php_escape_shell_arg ( const zend_string * unescaped_arg)

Definition at line 390 of file exec.c.

◆ php_escape_shell_cmd()

PHPAPI zend_string * php_escape_shell_cmd ( const zend_string * unescaped_cmd)

Definition at line 280 of file exec.c.

◆ php_exec()

PHPAPI int php_exec ( int type,
const char * cmd,
zval * array,
zval * return_value )

Definition at line 112 of file exec.c.

◆ PHP_FUNCTION() [1/6]

PHP_FUNCTION ( escapeshellarg )

Definition at line 495 of file exec.c.

◆ PHP_FUNCTION() [2/6]

PHP_FUNCTION ( escapeshellcmd )

Definition at line 478 of file exec.c.

◆ PHP_FUNCTION() [3/6]

PHP_FUNCTION ( exec )

Definition at line 251 of file exec.c.

◆ PHP_FUNCTION() [4/6]

PHP_FUNCTION ( passthru )

Definition at line 265 of file exec.c.

◆ PHP_FUNCTION() [5/6]

PHP_FUNCTION ( shell_exec )

Definition at line 508 of file exec.c.

◆ PHP_FUNCTION() [6/6]

PHP_FUNCTION ( system )

Definition at line 258 of file exec.c.

◆ PHP_MINIT_FUNCTION()

PHP_MINIT_FUNCTION ( exec )

Definition at line 56 of file exec.c.