/PHP-7.4/win32/ |
H A D | wsyslog.c | 83 va_list args; in syslog() local 85 va_start(args, message); /* initialize vararg mechanism */ in syslog() 86 vsyslog(priority, message, args); in syslog() 87 va_end(args); in syslog() 90 void vsyslog(int priority, const char *message, va_list args) in vsyslog() argument 116 vspprintf(&tmp, 0, message, args); /* build message */ in vsyslog()
|
/PHP-7.4/Zend/tests/ |
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));
|
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 | bug73156.phpt | 6 public function __call($name, $args) { 7 eval('$args = array(); var_dump(debug_backtrace());'); 41 ["args"]=>
|
H A D | closure_032.phpt | 24 [args] => Array 40 [args] => Array 52 [args] => Array
|
/PHP-7.4/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.4/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.4/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.4/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.4/ext/standard/ |
H A D | formatted_print.c | 539 tmp = &args[argnum]; in php_formatted_print() 645 zval *args, *zv; in php_formatted_print_get_array() local 661 return args; in php_formatted_print_get_array() 670 zval *format, *args; in PHP_FUNCTION() local 691 zval *format, *array, *args; in PHP_FUNCTION() local 702 efree(args); in PHP_FUNCTION() 716 zval *format, *args; in PHP_FUNCTION() local 740 zval *format, *array, *args; in PHP_FUNCTION() local 751 efree(args); in PHP_FUNCTION() 766 zval *arg1, *format, *args; in PHP_FUNCTION() local [all …]
|
H A D | assert.c | 217 zval args[4]; in PHP_FUNCTION() local 222 ZVAL_STRING(&args[0], SAFE_STRING(filename)); in PHP_FUNCTION() 223 ZVAL_LONG (&args[1], lineno); in PHP_FUNCTION() 224 ZVAL_STRING(&args[2], SAFE_STRING(myeval)); in PHP_FUNCTION() 230 call_user_function(NULL, NULL, &ASSERTG(callback), &retval, 3, args); in PHP_FUNCTION() 231 zval_ptr_dtor(&(args[2])); in PHP_FUNCTION() 232 zval_ptr_dtor(&(args[0])); in PHP_FUNCTION() 234 ZVAL_STR(&args[3], zval_get_string(description)); in PHP_FUNCTION() 236 zval_ptr_dtor(&(args[3])); in PHP_FUNCTION() 237 zval_ptr_dtor(&(args[2])); in PHP_FUNCTION() [all …]
|
/PHP-7.4/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.4/ext/dba/ |
H A D | dba.c | 608 #define FREENOW if(args) {int i; for (i=0; i<ac; i++) { zval_ptr_dtor(&args[i]); } efree(args);} if… 639 zval *args = NULL; in php_dba_open() local 665 efree(args); in php_dba_open() 671 ZVAL_STR(&args[i], zval_get_string(&args[i])); in php_dba_open() 672 keylen += Z_STRLEN(args[i]); in php_dba_open() 690 memcpy(key+keylen, Z_STRVAL(args[i]), Z_STRLEN(args[i])); in php_dba_open() 691 keylen += Z_STRLEN(args[i]); in php_dba_open() 722 …php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "No such handler: %s", Z_… in php_dba_open() 830 php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "Illegal DBA mode"); in php_dba_open() 862 php_error_docref2(NULL, Z_STRVAL(args[0]), Z_STRVAL(args[1]), E_WARNING, "Illegal DBA mode"); in php_dba_open() [all …]
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_subclass.phpt | 32 public function __call($method, $args) { 33 print "__call(".var_export($method,true).", ".var_export($args, true).")\n"; 43 $args = ''; 44 foreach ($stack[1]['args'] as $k => $v) 45 $args .= sprintf("%s, ", var_export($v, true)); 46 if ($args != '') 47 printf("%s", substr($args, 0, -2));
|
/PHP-7.4/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.4/ext/xml/ |
H A D | xml.c | 738 zval retval, args[3]; in _xml_startElementHandler() local 748 array_init(&args[2]); in _xml_startElementHandler() 825 zval retval, args[2]; in _xml_endElementHandler() local 874 zval retval, args[2]; in _xml_characterDataHandler() local 972 zval retval, args[3]; in _xml_processingInstructionHandler() local 989 zval retval, args[2]; in _xml_defaultHandler() local 1010 zval retval, args[6]; in _xml_unparsedEntityDeclHandler() local 1034 zval retval, args[5]; in _xml_notationDeclHandler() local 1058 zval retval, args[5]; in _xml_externalEntityRefHandler() local 1083 zval retval, args[3]; in _xml_startNamespaceDeclHandler() local [all …]
|
/PHP-7.4/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.4/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.4/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.4/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 ***
|
H A D | strncmp_error.phpt | 10 /* Test strncmp() function with more/less number of args and invalid args */ 19 var_dump( strncmp($str1) ); //One argument, less than expected no. of args 20 var_dump( strncmp($str1, $str2) ); //Two arguments, less than expected no. of args 21 …mp( strncmp($str1, $str2, $len, $extra_arg) ); //Four arguments, greater than expected no. of args
|
/PHP-7.4/ext/spl/tests/ |
H A D | bug73896.phpt | 6 public static function call($callable, array $args) { 7 return call_user_func_array($callable, [$args]); 16 public function __call($method, $args) {
|
/PHP-7.4/Zend/tests/arg_unpack/ |
H A D | many_args.phpt | 6 function f(...$args) { 7 var_dump(count($args));
|