/PHP-7.2/ext/spl/examples/ |
H A D | dba_array.php | 17 if ($argc < 4) { 32 if ($argc > 2) { 34 if ($dba && $argc > 3) { 35 if ($argc > 4) {
|
H A D | directorytree.php | 14 if ($argc < 2) { 29 $length = $argc > 3 ? $argv[3] : -1;
|
H A D | ini_groups.php | 17 if ($argc < 2) { 33 if ($argc>2) {
|
H A D | dba_dump.php | 17 if ($argc < 3) { 34 if ($argc>3) {
|
H A D | phar_from_dir.php | 16 if ($argc < 3) 35 if ($argc > 3)
|
/PHP-7.2/ext/gd/libgd/ |
H A D | webpng.c | 20 main (int argc, char **argv) in main() argument 38 if (argc < 2 || !strcmp (argv[1], "--help")) in main() 45 if (strcmp ("-", argv[argc - 1]) == 0) in main() 52 in = fopen (argv[argc - 1], "rb"); in main() 57 "Error: can't open file %s.\n", argv[argc - 1]); in main() 67 "Error: %s is not a valid PNG file.\n", argv[argc - 1]); in main() 71 for (i = 1; (i < (argc - 1)); i++) in main() 82 if (i == (argc - 2)) in main() 114 if (i == (argc - 2)) in main() 273 unlink (argv[argc - 1]); in main() [all …]
|
H A D | gdtopng.c | 10 main (int argc, char **argv) in main() argument 14 if (argc != 3) in main()
|
H A D | pngtogd.c | 11 main (int argc, char **argv) in main() argument 15 if (argc != 3) in main()
|
H A D | gd2topng.c | 11 main (int argc, char **argv) in main() argument 15 if (argc != 3) in main()
|
H A D | pngtogd2.c | 12 main (int argc, char **argv) in main() argument 18 if (argc != 5) in main()
|
H A D | gd2copypal.c | 12 main (int argc, char **argv) in main() argument 17 if (argc != 3) in main()
|
H A D | gd2time.c | 13 main (int argc, char **argv) in main() argument 22 if (argc != 7) in main()
|
H A D | gdparttopng.c | 11 main (int argc, char **argv) in main() argument 17 if (argc != 7) in main()
|
/PHP-7.2/tests/basic/ |
H A D | 011.phpt | 2 Testing $argc and $argv handling (GET) 9 $argc = $_SERVER['argc']; 12 for ($i=0; $i<$argc; $i++) {
|
H A D | 012.phpt | 2 Testing $argc and $argv handling (cli) 12 $argc = $_SERVER['argc']; 15 for ($i=1; $i<$argc; $i++) {
|
/PHP-7.2/ext/mysqli/ |
H A D | mysqli_embedded.c | 39 int argc = 0; in PHP_FUNCTION() local 54 if ((argc = zend_hash_num_elements(Z_ARRVAL_P(args)))) { in PHP_FUNCTION() 55 arguments = safe_emalloc(sizeof(char *), argc + 1, 0); in PHP_FUNCTION() 71 argc++; in PHP_FUNCTION() 98 rc = mysql_server_init(argc, arguments, groups); in PHP_FUNCTION() 100 if (argc) { in PHP_FUNCTION()
|
/PHP-7.2/main/ |
H A D | getopt.c | 31 static int php_opt_error(int argc, char * const *argv, int oint, int optchr, int err, int show_err)… in php_opt_error() argument 58 PHPAPI int php_getopt(int argc, char* const *argv, const opt_struct opts[], char **optarg, int *opt… in php_getopt() argument 73 if (*optind >= argc) { in php_getopt() 114 return(php_opt_error(argc, argv, *optind-1, optchr, OPTERRARG, show_err)); in php_getopt() 132 return (php_opt_error(argc, argv, *optind-1, optchr, OPTERRCOLON, show_err)); in php_getopt() 150 return(php_opt_error(argc, argv, errind, errchr, OPTERRNF, show_err)); in php_getopt() 162 if (*optind == argc) { in php_getopt() 165 return(php_opt_error(argc, argv, *optind-1, optchr, OPTERRARG, show_err)); in php_getopt()
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | fpm.c | 27 .argc = 0, 45 int fpm_init(int argc, char **argv, char *config, char *prefix, char *pid, int test_conf, int run_a… in fpm_init() argument 47 fpm_globals.argc = argc; in fpm_init()
|
H A D | fpm.h | 39 int fpm_init(int argc, char **argv, char *config, char *prefix, char *pid, int test_conf, int run_a… 43 int argc; member
|
/PHP-7.2/ext/standard/ |
H A D | rand.c | 54 int argc = ZEND_NUM_ARGS(); in PHP_FUNCTION() local 56 if (argc == 0) { in PHP_FUNCTION()
|
/PHP-7.2/ext/gd/ |
H A D | gd_ctx.c | 90 int argc = ZEND_NUM_ARGS(); in _php_image_output_ctx() local 129 if (image_type != PHP_GDIMG_TYPE_BMP && argc >= 3) { in _php_image_output_ctx() 131 if (argc == 4) { in _php_image_output_ctx() 136 if (argc > 1 && to_zval != NULL) { in _php_image_output_ctx() 157 } else if (argc > 1 && file != NULL) { in _php_image_output_ctx() 206 if (argc < 3) { in _php_image_output_ctx()
|
/PHP-7.2/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 114 func->argc, in pdo_sqlite_cleanup_callbacks() 315 int argc, sqlite3_value **argv, sqlite3_context *context, in do_callback() argument 329 fake_argc = argc + is_agg; in do_callback() 358 for (i = 0; i < argc; i++) { in do_callback() 453 do_callback(&func->afunc, &func->func, argc, argv, context, 0); in php_sqlite3_func_callback() 520 zend_long argc = -1; in PHP_METHOD() local 530 Z_PARAM_LONG(argc) in PHP_METHOD() 555 func->argc = argc; in PHP_METHOD() 593 zend_long argc = -1; in PHP_METHOD() local 603 Z_PARAM_LONG(argc) in PHP_METHOD() [all …]
|
/PHP-7.2/sapi/cli/ |
H A D | ps_title.c | 145 char** save_ps_args(int argc, char** argv) in save_ps_args() argument 147 save_argc = argc; in save_ps_args() 163 for (i = 0; (non_contiguous_area == 0) && (i < argc); i++) in save_ps_args() 221 new_argv = (char **) malloc((argc + 1) * sizeof(char *)); in save_ps_args() 224 for (i = 0; i < argc; i++) in save_ps_args() 232 new_argv[argc] = NULL; in save_ps_args()
|
/PHP-7.2/sapi/phpdbg/ |
H A D | create-test.php | 34 if (isset($argc) && $argc > 1) { 36 for ($i = 1; $i < $argc; $i++) {
|
/PHP-7.2/ext/pcre/pcrelib/ |
H A D | dftables.c | 61 int main(int argc, char **argv) in main() argument 72 if (argc > 1 && strcmp(argv[1], "-L") == 0) in main() 78 if (argc < i + 1) in main()
|