Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 497) sorted by relevance

12345678910>>...20

/PHP-5.3/ext/standard/tests/general_functions/
H A Dcall_user_func_array_variation_001.phpt6 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 Dgetopt_005.phpt4 --arg value --arg=value -avalue -a=value -a value
10 var_dump(getopt("a:", array("arg:")));
14 ["arg"]=>
/PHP-5.3/ext/standard/
H A Dpack.c140 int arg = 1; in PHP_FUNCTION() local
147 arg = -1; in PHP_FUNCTION()
167 arg = 1; in PHP_FUNCTION()
249 INC_OUTPUTPOS((arg + (arg % 2)) / 2,1) /* 4 bit per arg */ in PHP_FUNCTION()
326 (Z_STRLEN_PP(val) < arg) ? Z_STRLEN_PP(val) : arg); in PHP_FUNCTION()
558 arg = -1; in PHP_FUNCTION()
566 argb = arg; in PHP_FUNCTION()
590 size = arg; in PHP_FUNCTION()
591 arg = 1; in PHP_FUNCTION()
596 size = (arg > 0) ? (arg + (arg % 2)) / 2 : arg; in PHP_FUNCTION()
[all …]
H A Dtype.c28 zval **arg; in PHP_FUNCTION() local
34 switch (Z_TYPE_PP(arg)) { in PHP_FUNCTION()
203 zval **arg; in php_is_type() local
209 if (Z_TYPE_PP(arg) == type) { in php_is_type()
212 if(Z_OBJ_HT_PP(arg)->get_class_entry == NULL) { in php_is_type()
216 ce = Z_OBJCE_PP(arg); in php_is_type()
303 zval **arg; in PHP_FUNCTION() local
309 switch (Z_TYPE_PP(arg)) { in PHP_FUNCTION()
316 if (is_numeric_string(Z_STRVAL_PP(arg), Z_STRLEN_PP(arg), NULL, NULL, 0)) { in PHP_FUNCTION()
334 zval **arg; in PHP_FUNCTION() local
[all …]
H A Dmath.c804 s = Z_STRVAL_P(arg); in _php_math_basetolong()
853 s = Z_STRVAL_P(arg); in _php_math_basetozval()
914 value = Z_LVAL_P(arg); in _php_math_longtobase()
971 zval **arg; in PHP_FUNCTION() local
987 zval **arg; in PHP_FUNCTION() local
1003 zval **arg; in PHP_FUNCTION() local
1019 zval **arg; in PHP_FUNCTION() local
1025 convert_to_long_ex(arg); in PHP_FUNCTION()
1035 zval **arg; in PHP_FUNCTION() local
1041 convert_to_long_ex(arg); in PHP_FUNCTION()
[all …]
/PHP-5.3/ext/reflection/tests/
H A Dbug33389.phpt7 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-5.3/ext/phar/phar/
H A Dclicommand.inc51 $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-5.3/ext/mbstring/tests/
H A Dbug43994.phpt44 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 …]
H A Dmb_ereg_variation5.phpt28 echo "\nASCII String without \$regs arg:\t\t";
30 echo "ASCII String with \$regs arg:\n";
34 echo "\nMultibyte String without \$regs arg:\t";
36 echo "Multubyte String with \$regs arg:\n";
67 ASCII String without $regs arg: int(1)
68 ASCII String with $regs arg:
75 Multibyte String without $regs arg: int(1)
76 Multubyte String with $regs arg:
/PHP-5.3/ext/mbstring/oniguruma/
H A Dregtrav.c37 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-5.3/sapi/fpm/fpm/
H A Dfpm_cleanup.c15 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()
H A Dfpm_events.h13 #define fpm_event_set_timer(ev, flags, cb, arg) fpm_event_set((ev), -1, (flags), (cb), (arg)) argument
20 void *arg; member
45 …_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *, short, void *), void *arg);
/PHP-5.3/sapi/litespeed/
H A Dlsapilib.h137 const char * pValue, int valLen, void * arg );
159 LSAPI_CB_EnvHandler fn, void * arg );
162 LSAPI_CB_EnvHandler fn, void * arg );
165 LSAPI_CB_EnvHandler fn, void * arg );
168 LSAPI_CB_EnvHandler fn, void * arg );
258 { return LSAPI_ForeachHeader_r( &g_req, fn, arg ); } in LSAPI_ForeachHeader()
261 LSAPI_CB_EnvHandler fn, void * arg ) in LSAPI_ForeachOrgHeader() argument
262 { return LSAPI_ForeachOrgHeader_r( &g_req, fn, arg ); } in LSAPI_ForeachOrgHeader()
264 static inline int LSAPI_ForeachEnv( LSAPI_CB_EnvHandler fn, void * arg ) in LSAPI_ForeachEnv() argument
265 { return LSAPI_ForeachEnv_r( &g_req, fn, arg ); } in LSAPI_ForeachEnv()
[all …]
/PHP-5.3/ext/date/tests/
H A Dmicrotime_error.phpt26 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-5.3/ext/spl/tests/
H A Dspl_004.phpt12 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-5.3/ext/
H A Dext_skel_win32.php29 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-5.3/
H A Dltmain.sh258 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 …]
/PHP-5.3/Zend/
H A Dzend_API.c260 *arg = obj; in parse_arg_object_to_string()
274 zval *z = Z_OBJ_HANDLER_PP(arg, get)(*arg TSRMLS_CC); in parse_arg_object_to_string()
277 zval_dtor(*arg); in parse_arg_object_to_string()
467 *p = *arg; in zend_parse_arg_impl()
482 *p = *arg; in zend_parse_arg_impl()
517 *p = *arg; in zend_parse_arg_impl()
535 *p = *arg; in zend_parse_arg_impl()
618 *p = *arg; in zend_parse_arg_impl()
629 *p = arg; in zend_parse_arg_impl()
681 zval **arg; in zend_parse_va_args() local
[all …]
H A Dzend_API.h247 ZEND_API char *zend_zval_type_name(const zval *arg);
347 #define array_init(arg) _array_init((arg), 0 ZEND_FILE_LINE_CC) argument
348 #define array_init_size(arg, size) _array_init((arg), (size) ZEND_FILE_LINE_CC) argument
349 #define object_init(arg) _object_init((arg) ZEND_FILE_LINE_CC TSRMLS_CC) argument
350 #define object_init_ex(arg, ce) _object_init_ex((arg), (ce) ZEND_FILE_LINE_CC TSRMLS_CC) argument
351 #define object_and_properties_init(arg, ce, properties) _object_and_properties_init((arg), (ce), (p… argument
387 ZEND_API int add_index_null(zval *arg, ulong idx);
395 ZEND_API int add_next_index_long(zval *arg, long n);
396 ZEND_API int add_next_index_null(zval *arg);
397 ZEND_API int add_next_index_bool(zval *arg, int b);
[all …]
/PHP-5.3/Zend/tests/
H A Dbug50394.phpt14 $arg = 1;
15 $args = array( &$arg );
18 call_user_func_array( array( $proxy, 'bar' ), array(&$arg) );
19 var_dump($arg);
/PHP-5.3/ext/mbstring/
H A Dmb_gpc.c62 if (arg != PARSE_STRING) { in ZEND_EXTERN_MODULE_GLOBALS()
72 switch (arg) { in ZEND_EXTERN_MODULE_GLOBALS()
79 switch (arg) { in ZEND_EXTERN_MODULE_GLOBALS()
96 if (arg==PARSE_POST) { in ZEND_EXTERN_MODULE_GLOBALS()
101 if (arg == PARSE_GET) { /* GET data */ in ZEND_EXTERN_MODULE_GLOBALS()
126 switch (arg) { in ZEND_EXTERN_MODULE_GLOBALS()
137 switch(arg) { in ZEND_EXTERN_MODULE_GLOBALS()
152 info.data_type = arg; in ZEND_EXTERN_MODULE_GLOBALS()
168 switch(arg){ in ZEND_EXTERN_MODULE_GLOBALS()
184 if (arg != PARSE_COOKIE) { in ZEND_EXTERN_MODULE_GLOBALS()
[all …]
/PHP-5.3/ext/soap/tests/interop/Round4/GroupI/
H A Dr4_groupI_xsd_014w.phpt17 $struct1 = new SOAPComplexType('arg',34,325.325);
18 $struct2 = new SOAPComplexType('arg',34,325.325);
19 $struct3 = new SOAPComplexType('arg',34,325.325);
29arg</ns1:varString><ns1:varFloat>325.325</ns1:varFloat></ns2:SOAPComplexType><ns2:SOAPComplexType>…
31arg</ns1:varString><ns1:varFloat>325.325</ns1:varFloat></ns2:return><ns2:return><ns1:varInt>34</ns…
/PHP-5.3/sapi/milter/
H A Dmilter.php62 foreach ($args as $ix => $arg) {
63 milter_log("\targs[$ix] = $arg");
74 foreach ($args as $ix => $arg) {
75 milter_log("\targs[$ix] = $arg");
/PHP-5.3/ext/mysqli/
H A Dmysqli_exception.c42 va_list arg; in php_mysqli_throw_sql_exception() local
45 va_start(arg, format); in php_mysqli_throw_sql_exception()
46 vspprintf(&message, 0, format, arg); in php_mysqli_throw_sql_exception()
47 va_end(arg);; in php_mysqli_throw_sql_exception()
/PHP-5.3/ext/dom/
H A Dcharacterdata.c38 ZEND_ARG_INFO(0, arg)
43 ZEND_ARG_INFO(0, arg)
54 ZEND_ARG_INFO(0, arg)
227 char *arg; in PHP_FUNCTION() local
240 nodep->content = xmlStrncatNew(nodep->content, arg, arg_len); in PHP_FUNCTION()
242 nodep->content = xmlStrncat(nodep->content, arg, arg_len); in PHP_FUNCTION()
246 xmlTextConcat(nodep, arg, arg_len); in PHP_FUNCTION()
261 char *arg; in PHP_FUNCTION() local
290 xmlNodeAddContent(node, arg); in PHP_FUNCTION()
364 char *arg; in PHP_FUNCTION() local
[all …]

Completed in 85 milliseconds

12345678910>>...20