Home
last modified time | relevance | path

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

123456

/PHP-5.3/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);
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.3/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.3/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.3/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.3/ext/standard/
H A Dexec.c436 char *command; in PHP_FUNCTION() local
440 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &command, &command_len) == FAILURE) { in PHP_FUNCTION()
445 cmd = php_escape_shell_cmd(command); in PHP_FUNCTION()
478 char *command; local
483 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &command, &command_len) == FAILURE) {
493 if ((in=VCWD_POPEN(command, "rt"))==NULL) {
495 if ((in=VCWD_POPEN(command, "r"))==NULL) {
497 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to execute '%s'", command);
H A Dproc_open.c274 pefree(proc->command, proc->is_persistent); in proc_open_rsrc_dtor()
405 add_assoc_string(return_value, "command", proc->command, 1); in PHP_FUNCTION()
494 char *command, *cwd=NULL; in PHP_FUNCTION() local
541 if (FAILURE == php_make_safe_mode_command(command, &command, is_persistent TSRMLS_CC)) { in PHP_FUNCTION()
563 command_len = strlen(command); in PHP_FUNCTION()
802 spprintf(&command_with_cmd, 0, "%s /c %s", COMSPEC_NT, command); in PHP_FUNCTION()
840 command_dup = strdup(command); in PHP_FUNCTION()
925 execle("/bin/sh", "sh", "-c", command, NULL, env.envarray); in PHP_FUNCTION()
927 execl("/bin/sh", "sh", "-c", command, NULL); in PHP_FUNCTION()
953 proc->command = command; in PHP_FUNCTION()
[all …]
H A Dproc_open.h48 char *command; member
/PHP-5.3/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.3/ext/standard/tests/general_functions/
H A Dproc_open02.phpt36 ["command"]=>
55 ["command"]=>
H A Dbug39322.phpt28 ["command"]=>
/PHP-5.3/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.3/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.3/ext/fileinfo/tests/
H A Dfinfo_file_regex.phpt9 * Works with the unix file command:
/PHP-5.3/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.3/ext/pcre/pcrelib/
H A DREADME123 cmake-gui command. This creates Makefiles, solution files, etc. The file
179 by adding one of these options to the "configure" command:
187 the "configure" command, the 16-bit library is also built. If you add
205 you add --disable-pcregrep-jit to the "configure" command.
240 --enable-newline-is-any to the "configure" command, respectively.
253 --enable-bsr-anycrlf to the "configure" command (bsr = "backslash R").
261 on the "configure" command.
393 . libpcre.pc ) data for the pkg-config command
407 . libpcrecpp.pc data for the pkg-config command
506 single command is used. For example:
[all …]
/PHP-5.3/ext/phar/tests/zip/
H A Dunixzip.phpt2 Phar: test a zip archive created by unix "zip" command
/PHP-5.3/ext/mysqli/tests/
H A D045.phpt16 printf("skip SHOW command is not supported in prepared statements.");
/PHP-5.3/ext/mysqlnd/
H A Dmysqlnd.c228 zend_bool silent, enum php_mysqlnd_server_command command, in MYSQLND_METHOD()
245 DBG_ERR_FMT("Error while reading %s's OK packet", mysqlnd_command_to_text[command]); in MYSQLND_METHOD()
247 mysqlnd_command_to_text[command], getpid()); in MYSQLND_METHOD()
292 DBG_ERR_FMT("Error while reading %s's EOF packet", mysqlnd_command_to_text[command]); in MYSQLND_METHOD()
294 mysqlnd_command_to_text[command], getpid()); in MYSQLND_METHOD()
362 cmd_packet->command = command; in MYSQLND_METHOD()
368 MYSQLND_INC_CONN_STATISTIC(conn->stats, STAT_COM_QUIT + command - 1 /* because of COM_SLEEP */ ); in MYSQLND_METHOD()
372 DBG_ERR_FMT("Error while sending %s packet", mysqlnd_command_to_text[command]); in MYSQLND_METHOD()
807 const char * const command = conn->options.init_commands[current_command]; in MYSQLND_METHOD() local
808 if (command) { in MYSQLND_METHOD()
[all …]
/PHP-5.3/ext/standard/tests/strings/
H A Dsetlocale_variation2.phpt31 // start the buffering of next command to internal output buffer
34 // run the command 'locale -a' to fetch all locales available in the system
/PHP-5.3/ext/ftp/tests/
H A Dserver.inc108 fputs($s, "500 Syntax error, command unrecognized.\r\n");
143 fputs($s, "500 Syntax error, command unrecognized.\r\n");
160 fputs($s, "500 Syntax error, command unrecognized.\r\n");
198 fputs($s, "250 CDUP command successful.\r\n");
264 fputs($s, "250 CWD command successful.\r\n");
401 fputs($s, "500 Syntax error, command unrecognized.\r\n");

Completed in 36 milliseconds

123456