/PHP-7.1/ext/mysqli/ |
H A D | mysqli_embedded.c | 36 zval *args; in PHP_FUNCTION() local 45 if (zend_parse_parameters(ZEND_NUM_ARGS(), "laa", &start, &args, &grps) == FAILURE) { in PHP_FUNCTION() 54 if ((argc = zend_hash_num_elements(Z_ARRVAL_P(args)))) { in PHP_FUNCTION() 58 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(args), &pos); in PHP_FUNCTION() 60 for (index = 0;; zend_hash_move_forward_ex(Z_ARRVAL_P(args), &pos)) { in PHP_FUNCTION() 63 if (zend_hash_get_current_data_ex(Z_ARRVAL_P(args), (void **) &item, &pos) == FAILURE) { in PHP_FUNCTION()
|
/PHP-7.1/Zend/tests/variadic/ |
H A D | basic.phpt | 6 function test1(... $args) { 7 var_dump($args); 14 function test2($arg1, $arg2, ...$args) { 15 var_dump($arg1, $arg2, $args);
|
/PHP-7.1/Zend/tests/ |
H A D | bug50383.phpt | 7 public static function __callStatic($method, $args) { 10 public function __call($method, $args) { 49 [args] => Array 65 [args] => Array 82 [args] => Array 98 [args] => Array
|
H A D | bug50394.phpt | 8 function __call( $name, $args ) { 10 call_user_func_array( 'inc', $args ); 15 $args = array( &$arg ); 17 call_user_func_array( array( $proxy, 'bar' ), $args );
|
H A D | debug_backtrace_options.phpt | 79 [args] => Array 90 [args] => Array 110 [args] => Array 125 [args] => Array 142 [args] => Array 154 [args] => Array 174 [args] => Array 189 [args] => Array 206 [args] => Array 218 [args] => Array [all …]
|
H A D | bug52939.phpt | 10 $args = array(&$ar1); 11 var_dump(call_user_func_array("array_multisort", $args)); 15 $args = array($ar1); 16 var_dump(call_user_func_array("array_multisort", $args));
|
/PHP-7.1/ext/mbstring/tests/ |
H A D | mb_ereg1.phpt | 16 foreach ($a as $args) { 17 var_dump(mb_ereg($args[0], $args[1], $args[2])); 18 var_dump($args);
|
/PHP-7.1/ext/intl/tests/ |
H A D | symfony_format_type_int32_intl2.phpt | 8 // StubNumberFormatterTest#testFormatTypeInt32Intl is tested many times, each with different args. 9 // there are 7 sets of args that crash PHP (and other args that don't), each of those 7 is now a se… 10 // to ensure that each of the 7 args are always tested. 12 // PHP Unit's code to unserialize data passed as args to #testFormatTypeInt32Intl
|
/PHP-7.1/ext/pcre/pcrelib/sljit/ |
H A D | sljitNativeX86_32.c | 77 compiler->args = args; in sljit_emit_enter() 82 size += (args > 0 ? (args * 2) : 0) + (args > 2 ? 2 : 0); in sljit_emit_enter() 84 size += (args > 0 ? (2 + args * 3) : 0); in sljit_emit_enter() 92 if (args > 0) { in sljit_emit_enter() 105 if (args > 0) { in sljit_emit_enter() 109 if (args > 1) { in sljit_emit_enter() 113 if (args > 2) { in sljit_emit_enter() 120 if (args > 0) { in sljit_emit_enter() 125 if (args > 1) { in sljit_emit_enter() 130 if (args > 2) { in sljit_emit_enter() [all …]
|
/PHP-7.1/ext/dba/ |
H A D | dba.c | 602 #define FREENOW if(args) {int i; for (i=0; i<ac; i++) { zval_ptr_dtor(&args[i]); } efree(args);} if… 633 zval *args = NULL; in php_dba_open() local 655 efree(args); in php_dba_open() 661 ZVAL_STR(&args[i], zval_get_string(&args[i])); in php_dba_open() 662 keylen += Z_STRLEN(args[i]); in php_dba_open() 674 memcpy(key+keylen, Z_STRVAL(args[i]), Z_STRLEN(args[i])); in php_dba_open() 675 keylen += Z_STRLEN(args[i]); in php_dba_open() 706 …php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "No such handler: %s", Z_… in php_dba_open() 792 php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "Illegal DBA mode"); in php_dba_open() 824 php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "Illegal DBA mode"); in php_dba_open() [all …]
|
/PHP-7.1/ext/filter/tests/ |
H A D | 036.phpt | 14 $args = array(); 15 $args["test1"] = FILTER_VALIDATE_INT; 16 $args["test2"] = FILTER_VALIDATE_INT; 18 $ret = filter_var_array($data, $args);
|
/PHP-7.1/ext/reflection/tests/ |
H A D | ReflectionFunction_isVariadic_basic.phpt | 6 function test1($args) {} 7 function test2(...$args) {} 8 function test3($arg, ...$args) {}
|
H A D | ReflectionProperty_setValue_error.phpt | 21 echo "Too few args:\n"; 25 echo "\nToo many args:\n"; 32 echo "\nStatic property / too many args:\n"; 35 echo "\nStatic property / too few args:\n"; 60 Too few args: 68 Too many args: 78 Static property / too many args: 83 Static property / too few args:
|
H A D | ReflectionParameter_isVariadic_basic.phpt | 6 function test1($args) {} 7 function test2(...$args) {} 8 function test3($arg, ...$args) {}
|
/PHP-7.1/ext/standard/tests/general_functions/ |
H A D | bug43293_3.phpt | 9 $args = array(true, false, "f"); 10 var_dump(getopt("f", $args), $args);
|
/PHP-7.1/ext/opcache/ |
H A D | zend_accelerator_debug.c | 33 va_list args; in zend_accel_error() local 80 va_start(args, format); in zend_accel_error() 81 vfprintf(fLog, format, args); in zend_accel_error() 82 va_end(args); in zend_accel_error()
|
/PHP-7.1/ext/phar/phar/ |
H A D | pharcommand.inc | 170 $args = array(); 182 return $args; 460 $args[''] = array( 467 return $args; 846 $args[''] = array( 852 return $args; 986 return $args; 1040 return $args; 1082 return $args; 1454 * @param args $args [all …]
|
/PHP-7.1/win32/ |
H A D | wsyslog.c | 82 va_list args; in syslog() local 105 va_start(args, message); /* initialize vararg mechanism */ in syslog() 106 vspprintf(&tmp, 0, message, args); /* build message */ in syslog() 111 va_end(args); in syslog()
|
/PHP-7.1/ext/xml/ |
H A D | xml.c | 725 zval retval, args[3]; in _xml_startElementHandler() local 735 array_init(&args[2]); in _xml_startElementHandler() 813 zval retval, args[2]; in _xml_endElementHandler() local 862 zval retval, args[2]; in _xml_characterDataHandler() local 955 zval retval, args[3]; in _xml_processingInstructionHandler() local 972 zval retval, args[2]; in _xml_defaultHandler() local 993 zval retval, args[6]; in _xml_unparsedEntityDeclHandler() local 1017 zval retval, args[5]; in _xml_notationDeclHandler() local 1041 zval retval, args[5]; in _xml_externalEntityRefHandler() local 1066 zval retval, args[3]; in _xml_startNamespaceDeclHandler() local [all …]
|
/PHP-7.1/sapi/phpdbg/ |
H A D | phpdbg_cmd.h | 103 char *args; /* Argument Spec */ member 164 #define PHPDBG_COMMAND_D_EXP(name, tip, alias, handler, children, args, parent, flags) \ argument 165 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, parent, flags} 167 #define PHPDBG_COMMAND_D_EX(name, tip, alias, handler, children, args, flags) \ argument 168 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##handler, children, args, NULL, flags} 170 #define PHPDBG_COMMAND_D(name, tip, alias, children, args, flags) \ argument 171 {PHPDBG_STRL(#name), tip, sizeof(tip)-1, alias, phpdbg_do_##name, children, args, NULL, flags}
|
/PHP-7.1/ext/standard/tests/file/ |
H A D | mkdir_rmdir_error.phpt | 13 var_dump( mkdir() ); // args < expected 14 var_dump( mkdir(1, 2, 3, 4, 5) ); // args > expected 15 var_dump( mkdir("testdir", 0777, false, $context, "test") ); // args > expected 18 var_dump( rmdir() ); // args < expected 19 var_dump( rmdir(1, 2, 3) ); // args > expected 20 var_dump( rmdir("testdir", $context, "test") ); // args > expected
|
/PHP-7.1/ext/openssl/tests/ |
H A D | ecc.phpt | 7 $args = array( 12 $key1 = openssl_pkey_new($args); 48 $csr = openssl_csr_new($dn, $keyGenerate, $args); 52 $args["digest_alg"] = "sha1"; 54 $csr = openssl_csr_new($dn, $key1, $args); 62 $x509 = openssl_csr_sign($csr, null, $key1, 365, $args); 68 $key3 = openssl_pkey_new($args);
|
/PHP-7.1/sapi/fpm/fpm/ |
H A D | zlog.c | 101 void vzlog(const char *function, int line, int flags, const char *fmt, va_list args) /* {{{ */ in vzlog() argument 112 va_copy(ap, args); in vzlog() 160 len += vsnprintf(buf + len, buf_size - len, fmt, args); in vzlog() 199 va_list args; in zlog_ex() local 200 va_start(args, fmt); in zlog_ex() 201 vzlog(function, line, flags, fmt, args); in zlog_ex() 202 va_end(args); in zlog_ex()
|
/PHP-7.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_subclass.phpt | 38 public function __call($method, $args) { 39 print "__call(".var_export($method,true).", ".var_export($args, true).")\n"; 49 $args = ''; 50 foreach ($stack[1]['args'] as $k => $v) 51 $args .= sprintf("%s, ", var_export($v, true)); 52 if ($args != '') 53 printf("%s", substr($args, 0, -2));
|
/PHP-7.1/ext/standard/tests/strings/ |
H A D | vfprintf_variation21.phpt | 2 Test vfprintf() function : usage variations - unexpected values for args argument 5 /* Prototype : int vfprintf ( resource $handle , string $format , array $args ) 12 * the '$args' arguments of the function 15 echo "*** Testing vfprintf() : with unexpected values for args argument ***\n"; 88 fprintf($fp, "\n*** Testing vprintf() with unexpected values for args argument ***\n"); 107 *** Testing vfprintf() : with unexpected values for args argument *** 119 *** Testing vprintf() with unexpected values for args argument ***
|