Home
last modified time | relevance | path

Searched refs:argc (Results 51 – 75 of 151) sorted by relevance

1234567

/PHP-7.0/sapi/embed/
H A Dphp_embed.h52 EMBED_SAPI_API int php_embed_init(int argc, char **argv);
/PHP-7.0/ext/phar/phar/
H A Dphar.php52 new PharCommand($argc, $argv);
/PHP-7.0/ext/imap/
H A Dphp_imap.c1169 int argc = ZEND_NUM_ARGS(); in php_imap_do_open() local
1176 if (argc >= 4) { in php_imap_do_open()
1245 if (argc >= 5) { in php_imap_do_open()
1628 int argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
1638 if (argc == 2) { in PHP_FUNCTION()
1766 int argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
2110 if (argc >= 3) { in PHP_FUNCTION()
2118 if (argc >= 4) { in PHP_FUNCTION()
2186 if (argc == 2) { in PHP_FUNCTION()
3174 if (argc >= 4) { in PHP_FUNCTION()
[all …]
/PHP-7.0/win32/build/
H A Ddeplister.c48 int main(int argc, char *argv[]) in main() argument
/PHP-7.0/ext/standard/
H A Dlevenshtein.c95 int argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
102 switch (argc) { in PHP_FUNCTION()
H A Dformatted_print.c390 int argc; in php_formatted_print() local
399 Z_PARAM_VARIADIC('+', args, argc) in php_formatted_print()
403 if ((use_array && argc != (2 + format_offset)) in php_formatted_print()
404 || (!use_array && argc < (1 + format_offset))) { in php_formatted_print()
420 argc = 1 + zend_hash_num_elements(Z_ARRVAL_P(array)); in php_formatted_print()
421 newargs = (zval *)safe_emalloc(argc, sizeof(zval), 0); in php_formatted_print()
550 if (argnum >= argc) { in php_formatted_print()
H A Darray.c1272 int argc; in PHP_FUNCTION() local
1280 if (argc == 1) { in PHP_FUNCTION()
1320 int argc; in PHP_FUNCTION() local
1327 if (argc == 1) { in PHP_FUNCTION()
3772 int argc, i; local
3798 if (argc < req_args) {
4200 int argc, i; local
4209 if (argc < 3) {
4218 if (argc < 2) {
4573 int argc, i; local
[all …]
/PHP-7.0/sapi/phpdbg/tests/
H A Drun_001.phpt56 var_dump($argc, $argv);
/PHP-7.0/sapi/phpdbg/
H A D.phpdbginit66 $_SERVER['argc'] = 0;
75 $_SERVER['argc'] = count($_SERVER['argv']);
H A Dphpdbg_prompt.c834 int argc = 0; in PHPDBG_COMMAND() local
877 if (argc >= 4 && argc == (argc & -argc)) { in PHPDBG_COMMAND()
878 argv = erealloc(argv, (argc * 2 + 1) * sizeof(char *)); in PHPDBG_COMMAND()
897 for (i = 0; i < argc; i++) { in PHPDBG_COMMAND()
905 argv[++argc] = erealloc(buf, q - buf); in PHPDBG_COMMAND()
912 for (i = SG(request_info).argc; --i;) { in PHPDBG_COMMAND()
916 SG(request_info).argv = erealloc(argv, ++argc * sizeof(char *)); in PHPDBG_COMMAND()
917 SG(request_info).argc = argc; in PHPDBG_COMMAND()
/PHP-7.0/ext/interbase/
H A Dphp_ibase_udf.c183 static void call_php(char *name, PARAMDSC *r, int argc, PARAMDSC **argv) in call_php() argument
202 for (i = 0; i < argc; ++i) { in call_php()
289 &callback, &return_value, argc, args)) { in call_php()
296 for (i = 0; i < argc; ++i) { in call_php()
/PHP-7.0/scripts/dev/
H A Dcheck_parameters.php351 if (isset($argc) && $argc > 1) {
360 for ($i = 1; $i < $argc; $i++) {
/PHP-7.0/ext/pdo_sqlite/
H A Dphp_pdo_sqlite_int.h42 int argc; member
/PHP-7.0/ext/mysqli/
H A Dmysqli_api.c201 for (i = start; i < argc; i++) { in mysqli_stmt_bind_param_do_bind()
274 if (argc == start) { in mysqli_stmt_bind_param_do_bind()
281 for (i = 0; i < (argc - start); i++) { in mysqli_stmt_bind_param_do_bind()
323 int argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
333 if (argc < 2) { in PHP_FUNCTION()
345 num_vars = argc - 1; in PHP_FUNCTION()
357 if (types_len != argc - start) { in PHP_FUNCTION()
368 args = safe_emalloc(argc, sizeof(zval), 0); in PHP_FUNCTION()
394 int var_cnt = argc; in mysqli_stmt_bind_result_do_bind()
573 for (i = 0; i < argc; i++) { in mysqli_stmt_bind_result_do_bind()
[all …]
/PHP-7.0/ext/spl/examples/
H A Dclass_tree.php15 if ($argc < 2) {
/PHP-7.0/ext/phar/
H A Dgdbhelp98 if $argc == 3
101 if $argc == 2
/PHP-7.0/ext/pspell/
H A Dpspell.c269 int argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
284 if (zend_parse_parameters(argc, "s|sssl", &language, &language_len, &spelling, &spelling_len, in PHP_FUNCTION()
326 if (argc > 4) { in PHP_FUNCTION()
366 int argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local
381 if (zend_parse_parameters(argc, "ps|sssl", &personal, &personal_len, &language, &language_len, in PHP_FUNCTION()
431 if (argc > 5) { in PHP_FUNCTION()
/PHP-7.0/sapi/cli/
H A DREADME14 * $argc and $argv registered irrespective of the register_argc_argv
/PHP-7.0/sapi/cgi/
H A Dcgi_main.c1709 int main(int argc, char *argv[]) argument
1822 …while (!skip_getopt && (c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1…
2138 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
2247 SG(request_info).argc = argc - (php_optind - 1);
2250 } else if (argc > php_optind) {
2255 SG(request_info).argc = argc - php_optind;
2273 if (!SG(request_info).query_string && argc > php_optind) {
2276 for (i = php_optind; i < argc; i++) {
2277 if (i < (argc - 1)) {
2287 for (i = php_optind; i < argc; i++) {
[all …]
/PHP-7.0/ext/sqlite3/
H A Dphp_sqlite3_structs.h57 int argc; member
/PHP-7.0/ext/bz2/
H A Dbz2.c518 argc; /* Argument count */ in PHP_FUNCTION() local
522 argc = ZEND_NUM_ARGS(); in PHP_FUNCTION()
538 if (argc > 1) { in PHP_FUNCTION()
542 if (argc > 2) { in PHP_FUNCTION()
/PHP-7.0/ext/posix/
H A Dconfig.m420 int main(int argc, char *argv[])
/PHP-7.0/ext/curl/
H A Dconfig.m484 int main(int argc, char *argv[])
111 int main(int argc, char *argv[])
/PHP-7.0/ext/dba/
H A Ddba_ndbm.c61 if(info->argc > 0) { in DBA_OPEN_FUNC()
/PHP-7.0/ext/mbstring/libmbfl/tests/
H A Demoji.c28 int main(int argc, char **argv) in main() argument

Completed in 80 milliseconds

1234567