/PHP-7.0/ext/standard/tests/general_functions/ |
H A D | call_user_func_array_variation_001.phpt | 6 function by_val($arg) { 7 $arg = 'changed'; 10 function by_ref(&$arg) { 11 $arg = 'changed'; 15 $arg = array('original'); 17 var_dump($arg); 22 var_dump($arg); 26 $ref = &$arg[0]; 28 var_dump($arg); 32 $ref = &$arg[0]; [all …]
|
H A D | getopt_005.phpt | 4 --arg value --arg=value -avalue -a=value -a value 10 var_dump(getopt("a:", array("arg:"))); 14 ["arg"]=>
|
/PHP-7.0/main/ |
H A D | php_ticks.c | 27 void *arg; member 50 return e1->func == e2->func && e1->arg == e2->arg; in php_compare_tick_functions() 53 PHPAPI void php_add_tick_function(void (*func)(int, void*), void * arg) in php_add_tick_function() argument 55 struct st_tick_function tmp = {func, arg}; in php_add_tick_function() 59 PHPAPI void php_remove_tick_function(void (*func)(int, void *), void * arg) in php_remove_tick_function() argument 61 struct st_tick_function tmp = {func, arg}; in php_remove_tick_function() 65 static void php_tick_iterator(void *d, void *arg) in php_tick_iterator() argument 68 data->func(*((int *)arg), data->arg); in php_tick_iterator()
|
/PHP-7.0/ext/standard/ |
H A D | pack.c | 112 …result = ((arg & 0xFF) << 24) | ((arg & 0xFF00) << 8) | ((arg >> 8) & 0xFF00) | ((arg >> 24) & 0xF… in php_pack_reverse_int32() 126 tmp.i = arg; in php_pack_reverse_int64() 261 int arg = 1; in PHP_FUNCTION() local 268 arg = -1; in PHP_FUNCTION() 288 arg = 1; in PHP_FUNCTION() 312 arg++; in PHP_FUNCTION() 469 int arg_cp = (code != 'Z') ? arg : MAX(0, arg - 1); in PHP_FUNCTION() 761 arg = -1; in PHP_FUNCTION() 799 arg = 1; in PHP_FUNCTION() 804 size = (arg > 0) ? (arg + (arg % 2)) / 2 : arg; in PHP_FUNCTION() [all …]
|
H A D | type.c | 28 zval *arg; in PHP_FUNCTION() local 34 switch (Z_TYPE_P(arg)) { in PHP_FUNCTION() 203 zval *arg; in php_is_type() local 252 zval *arg; in PHP_FUNCTION() local 258 ZVAL_DEREF(arg); in PHP_FUNCTION() 259 RETURN_BOOL(Z_TYPE_P(arg) == IS_FALSE || Z_TYPE_P(arg) == IS_TRUE); in PHP_FUNCTION() 312 zval *arg; in PHP_FUNCTION() local 315 Z_PARAM_ZVAL(arg) in PHP_FUNCTION() 325 if (is_numeric_string(Z_STRVAL_P(arg), Z_STRLEN_P(arg), NULL, NULL, 0)) { in PHP_FUNCTION() 343 zval *arg; in PHP_FUNCTION() local [all …]
|
H A D | math.c | 824 s = Z_STRVAL_P(arg); in _php_math_basetolong() 872 s = Z_STRVAL_P(arg); in _php_math_basetozval() 933 value = Z_LVAL_P(arg); in _php_math_longtobase() 990 zval *arg; in PHP_FUNCTION() local 1006 zval *arg; in PHP_FUNCTION() local 1022 zval *arg; in PHP_FUNCTION() local 1038 zval *arg; in PHP_FUNCTION() local 1044 convert_to_long_ex(arg); in PHP_FUNCTION() 1054 zval *arg; in PHP_FUNCTION() local 1060 convert_to_long_ex(arg); in PHP_FUNCTION() [all …]
|
/PHP-7.0/ext/reflection/tests/ |
H A D | bug33389.phpt | 7 function foo1($arg=foobar) { 9 function foo2($arg=null) { 11 function foo3($arg=false) { 13 function foo4($arg='foo') { 15 function foo5($arg=1) { 17 function bar($arg) { 47 Parameter #0 [ <optional> $arg = 1 ] 55 Parameter #0 [ <optional> $arg = NULL ] 63 Parameter #0 [ <optional> $arg = false ] 79 Parameter #0 [ <optional> $arg = 1 ] [all …]
|
/PHP-7.0/ext/phar/phar/ |
H A D | clicommand.inc | 51 $this->args[$arg]['val'] = $this->checkArgTyp($arg, $i, $argc, $argv); 148 return (bool)$arg; 153 if ((int)$arg != $arg) { 157 return (int)$arg; 162 if (strlen($arg)) { 163 if (strlen($arg) > 1 && $arg[0] == $arg[strlen($arg)-1] && strpos('/,', $arg) !== false) { 164 return $arg; 178 return $arg; 204 $d = dirname($arg); 251 $arg = "-$arg "; [all …]
|
/PHP-7.0/Zend/tests/ |
H A D | bug70332.phpt | 5 function & test($arg) { 6 return $arg; 9 $arg = new Stdclass(); 10 $arg->name = array(); 12 test($arg)->name[1] = "xxxx"; 14 print_r($arg);
|
H A D | objects_004.phpt | 9 function foo($arg) {} 13 function foo($arg) {} 17 function foo(&$arg) {} 23 Warning: Declaration of test3::foo(&$arg) should be compatible with test::foo($arg) in %s on line %d
|
H A D | objects_003.phpt | 9 function foo($arg) {} 13 function foo($arg) {} 17 function foo($arg, $arg2) {} 23 Warning: Declaration of test3::foo($arg, $arg2) should be compatible with test::foo($arg) in %s on …
|
H A D | objects_008.phpt | 9 function foo(Test $arg) {} 13 function foo(Test $arg) {} 17 function foo(Test3 $arg) {} 23 Warning: Declaration of test3::foo(Test3 $arg) should be compatible with test::foo(Test $arg) in %s…
|
H A D | objects_009.phpt | 9 function foo(Test $arg) {} 13 function foo(Test $arg) {} 17 function foo($arg) {} 23 Warning: Declaration of test3::foo($arg) should be compatible with test::foo(Test $arg) in %s on li…
|
H A D | objects_006.phpt | 9 function foo($arg, $arg2 = NULL) {} 13 function foo($arg, $arg2 = NULL) {} 17 function foo($arg, $arg2) {} 23 Warning: Declaration of test3::foo($arg, $arg2) should be compatible with test::foo($arg, $arg2 = N…
|
H A D | objects_007.phpt | 9 function foo($arg, &$arg2 = NULL) {} 13 function foo($arg, &$arg2 = NULL) {} 17 function foo($arg, &$arg2) {} 23 Warning: Declaration of test3::foo($arg, &$arg2) should be compatible with test::foo($arg, &$arg2 =…
|
/PHP-7.0/ext/mbstring/tests/ |
H A D | bug43994.phpt | 44 Without $regs arg: 48 With $regs arg: 55 Without $regs arg: 59 With $regs arg: 66 Without $regs arg: 70 With $regs arg: 81 With $regs arg: 92 With $regs arg: 103 With $regs arg: 114 With $regs arg: [all …]
|
/PHP-7.0/Zend/ |
H A D | zend_API.h | 376 #define array_init(arg) _array_init((arg), 0 ZEND_FILE_LINE_CC) argument 377 #define array_init_size(arg, size) _array_init((arg), (size) ZEND_FILE_LINE_CC) argument 378 #define object_init(arg) _object_init((arg) ZEND_FILE_LINE_CC) argument 379 #define object_init_ex(arg, ce) _object_init_ex((arg), (ce) ZEND_FILE_LINE_CC) argument 1107 *dest = Z_STR_P(arg); in zend_parse_arg_str() 1163 *dest = arg; in zend_parse_arg_array() 1177 *dest = Z_OBJ_HT_P(arg)->get_properties(arg); in zend_parse_arg_array_ht() 1190 *dest = arg; in zend_parse_arg_object() 1202 *dest = arg; in zend_parse_arg_resource() 1228 UNEXPECTED(Z_TYPE_P(Z_REFVAL_P(arg)) == IS_NULL)))) ? NULL : arg; in zend_parse_arg_zval() [all …]
|
H A D | zend_API.c | 195 ZVAL_DEREF(arg); in zend_zval_type_name() 466 zval *z = Z_OBJ_HANDLER_P(arg, get)(arg, &rv); in zend_parse_arg_str_weak() 505 ZVAL_DEREF(arg); in zend_parse_arg_impl() 509 real_arg = arg; in zend_parse_arg_impl() 809 zval *arg; in zend_parse_va_args() local 1684 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_long_ex() 1698 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_bool_ex() 1712 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_null_ex() 1726 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_resource_ex() 1740 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_double_ex() [all …]
|
/PHP-7.0/ext/mbstring/oniguruma/ |
H A D | regtrav.c | 37 int level, void* arg) in capture_tree_traverse() argument 46 level, ONIG_TRAVERSE_CALLBACK_AT_FIRST, arg); in capture_tree_traverse() 52 callback_func, level + 1, arg); in capture_tree_traverse() 58 level, ONIG_TRAVERSE_CALLBACK_AT_LAST, arg); in capture_tree_traverse() 68 int(*callback_func)(int,int,int,int,int,void*), void* arg) in onig_capture_tree_traverse() argument 72 callback_func, 0, arg); in onig_capture_tree_traverse()
|
/PHP-7.0/sapi/fpm/fpm/ |
H A D | fpm_cleanup.c | 15 void *arg; member 20 int fpm_cleanup_add(int type, void (*cleanup)(int, void *), void *arg) /* {{{ */ in fpm_cleanup_add() argument 32 c->arg = arg; in fpm_cleanup_add() 45 c->cleanup(type, c->arg); in fpm_cleanups_run()
|
/PHP-7.0/ext/ |
H A D | ext_skel_win32.php | 29 foreach($argv as $arg) { 30 if (strtolower(substr($arg, 0, 9)) == "--extname") { 31 $extname = substr($arg, 10); 33 if (strtolower(substr($arg, 0, 6)) == "--skel") { 34 $skel = substr($arg, 7);
|
/PHP-7.0/ext/date/tests/ |
H A D | microtime_error.phpt | 26 echo "\n--> bad arg: "; 42 --> bad arg: NULL 45 --> bad arg: float(1.5) 48 --> bad arg: string(5) "hello" 51 --> bad arg: array(2) { 64 --> bad arg: object(stdClass)#%d (0) { 70 --> bad arg: int(1)
|
/PHP-7.0/ext/spl/tests/ |
H A D | spl_004.phpt | 12 function test_arg($arg) 14 if ($arg instanceof Iterator) 16 var_dump($arg->key()); 17 var_dump($arg->current()); 21 var_dump($arg); 28 static $arg = 0; 29 var_dump($arg++);
|
/PHP-7.0/ext/pdo_dblib/tests/ |
H A D | config.inc | 8 foreach (explode(';', $dsn_parts[1]) as $arg) { 9 $arg = explode('=', $arg); 10 if ($arg[0] == 'version') { 11 return $arg[1];
|
/PHP-7.0/ |
H A D | ltmain.sh | 258 arg="\"$arg\"" 279 arg="\"$arg\"" 722 arg="\"$arg\"" 1687 arg="\"$arg\"" 1804 arg="$arg $wl$flag" 1822 arg="$arg $wl$flag" 1852 arg="\"$arg\"" 1991 arg="\"$arg\"" 5818 arg="\"$arg\"" 5834 arg="\"$arg\"" [all …]
|