Lines Matching refs:argc
625 zval arr, argc, tmp; in php_build_argv() local
629 if (!(SG(request_info).argc || track_vars_array)) { in php_build_argv()
636 if (SG(request_info).argc) { /* are we in cli sapi? */ in php_build_argv()
638 for (i = 0; i < SG(request_info).argc; i++) { in php_build_argv()
667 if (SG(request_info).argc) { in php_build_argv()
668 ZVAL_LONG(&argc, SG(request_info).argc); in php_build_argv()
670 ZVAL_LONG(&argc, count); in php_build_argv()
673 if (SG(request_info).argc) { in php_build_argv()
676 zend_hash_update(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_ARGC), &argc); in php_build_argv()
681 zend_hash_update(Z_ARRVAL_P(track_vars_array), ZSTR_KNOWN(ZEND_STR_ARGC), &argc); in php_build_argv()
855 if (SG(request_info).argc) { in php_auto_globals_create_server()
856 zval *argc, *argv; in php_auto_globals_create_server() local
858 if ((argc = zend_hash_find_ex_ind(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_ARGC), 1)) != NULL && in php_auto_globals_create_server()
862 … zend_hash_update(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), ZSTR_KNOWN(ZEND_STR_ARGC), argc); in php_auto_globals_create_server()