Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 150) sorted by relevance

123456

/PHP-5.5/ext/standard/tests/streams/
H A Dbug61019.phpt2 Bug #61019 (Out of memory on command stream_get_contents)
26 echo "External command executed\n";
42 echo "External command exit: ".$process_state['exitcode']."\n";
67 echo "Can't start external command\n";
73 External command executed
74 External command exit: 0
/PHP-5.5/TSRM/
H A Dtsrm_nw.c55 char *command = NULL, *argv[MAX_ARGS] = {'\0'}, **env = NULL; local
130 command = (char*)malloc(ptrLen + 1);
131 if (!command) {
136 strcpy (command, ptr);
145 if (command)
146 free (command);
215 if (command)
216 free (command);
H A Dtsrm_nw.h26 TSRM_API FILE* popen(const char *command, const char *type);
H A Dtsrm_win32.h98 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env TSRMLS_DC…
99 TSRM_API FILE *popen(const char *command, const char *type);
H A Dtsrm_virtual_cwd.h171 CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC);
275 #define VCWD_POPEN(command, type) virtual_popen(command, type TSRMLS_CC) argument
311 #define VCWD_POPEN(command, type) popen(command, type) argument
/PHP-5.5/ext/phar/phar/
H A Dclicommand.inc13 * @brief Abstract base console command implementation
37 $command = $argv[1];
40 if (isset($this->cmds[$command]['arg'])) {
49 …self::error("Missing argument to parameter '$arg' of command '$command', check ${argv[0]} help\n");
54 self::error("Unknown parameter '${argv[$i]}' to command $command, check ${argv[0]} help\n");
64 … self::error("Missing default trailing arguments to command $command, check ${argv[0]} help\n");
73 self::error("Unexpected default arguments to command $command, check ${argv[0]} help\n");
78 $missing .= "Missing parameter '-$arg' to command $command, check ${argv[0]} help\n";
230 return "This help or help for a selected command.";
292 self::error("More than one command given.\n");
[all …]
/PHP-5.5/ext/standard/tests/file/
H A Dpopen_pclose_basic.phpt12 * Prototype: resource popen ( string command, string mode )
33 echo "-- Testing popen(): reading from a file using 'cat' command --\n";
36 $command = "cat $filename";
37 $file_handle = popen($command, "r");
79 -- Testing popen(): reading from a file using 'cat' command --
H A Dpopen_pclose_error-win32.phpt13 * Prototype: resource popen ( string command, string mode )
58 --- Done ---'abc.txt' is not recognized as an internal or external command,
H A Dpopen_pclose_error-win32-debug.phpt16 * Prototype: resource popen ( string command, string mode )
62 --- Done ---'abc.txt' is not recognized as an internal or external command,
/PHP-5.5/sapi/cli/
H A DREADME1 The CLI (command line interface) SAPI has been introduced
18 the command line (e.g. php -r 'echo md5("test");' )
19 * Other more sophisticated command line switches (see: man php)
/PHP-5.5/ext/standard/
H A Dexec.c481 char *command; in PHP_FUNCTION() local
485 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &command, &command_len) == FAILURE) { in PHP_FUNCTION()
490 if (command_len != strlen(command)) { in PHP_FUNCTION()
494 cmd = php_escape_shell_cmd(command); in PHP_FUNCTION()
531 char *command; local
536 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &command, &command_len) == FAILURE) {
541 if ((in=VCWD_POPEN(command, "rt"))==NULL) {
543 if ((in=VCWD_POPEN(command, "r"))==NULL) {
545 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to execute '%s'", command);
H A Dproc_open.c277 pefree(proc->command, proc->is_persistent); in proc_open_rsrc_dtor()
364 add_assoc_string(return_value, "command", proc->command, 1); in PHP_FUNCTION()
453 char *command, *cwd=NULL; in PHP_FUNCTION() local
501 command = pestrdup(command, is_persistent); in PHP_FUNCTION()
521 command_len = strlen(command); in PHP_FUNCTION()
760 spprintf(&command_with_cmd, 0, "%s /c %s", COMSPEC_NT, command); in PHP_FUNCTION()
798 command_dup = strdup(command); in PHP_FUNCTION()
883 execle("/bin/sh", "sh", "-c", command, NULL, env.envarray); in PHP_FUNCTION()
885 execl("/bin/sh", "sh", "-c", command, NULL); in PHP_FUNCTION()
911 proc->command = command; in PHP_FUNCTION()
[all …]
H A Dproc_open.h48 char *command; member
/PHP-5.5/ext/standard/tests/misc/
H A Dexec_basic1.phpt2 exec, system, passthru — Basic command execution functions
10 $cmd = "echo abc\n\0command";
/PHP-5.5/ext/pgsql/tests/
H A DREADME10 If you have account and database, type "createdb test" from command prompt
12 command as the same user running the tests you ensure that the user is
/PHP-5.5/ext/standard/tests/general_functions/
H A Dproc_open02.phpt36 ["command"]=>
55 ["command"]=>
H A Dbug39322.phpt28 ["command"]=>
H A Dbug69646.phpt2 Bug #69646 OS command injection vulnerability in escapeshellarg()
/PHP-5.5/ext/snmp/tests/
H A DREADME19 To run test suite you may use this command (presuming that you pwd is where
41 Alternatively you can start snmpd daemon using following command line:
/PHP-5.5/win32/build/
H A Dtemplate.dsp9 !MESSAGE use the Export Makefile command and run
14 !MESSAGE by defining the macro CFG on the command line. For example:
/PHP-5.5/sapi/aolserver/
H A DREADME47 The 'map' command will cause AOLserver to pass all requests to *.php to
52 The 'php_value "name val"' command assigns the configuration option name
/PHP-5.5/ext/fileinfo/tests/
H A Dfinfo_file_regex.phpt9 * Works with the unix file command:
/PHP-5.5/win32/
H A DEngineSelect.dsp9 !MESSAGE use the Export Makefile command and run
14 !MESSAGE by defining the macro CFG on the command line. For example:
/PHP-5.5/ext/phar/tests/zip/
H A Dunixzip.phpt2 Phar: test a zip archive created by unix "zip" command
/PHP-5.5/ext/pcre/pcrelib/
H A DREADME144 cmake-gui command. This creates Makefiles, solution files, etc. The file
200 by adding one of these options to the "configure" command:
208 the "configure" command, the 16-bit library is also built. If you add
226 you add --disable-pcregrep-jit to the "configure" command.
261 --enable-newline-is-any to the "configure" command, respectively.
274 --enable-bsr-anycrlf to the "configure" command (bsr = "backslash R").
282 on the "configure" command.
423 . libpcre.pc ) data for the pkg-config command
437 . libpcrecpp.pc data for the pkg-config command
536 single command is used. For example:
[all …]

Completed in 34 milliseconds

123456