Home
last modified time | relevance | path

Searched refs:num (Results 51 – 75 of 205) sorted by relevance

123456789

/PHP-5.5/tests/lang/
H A DforeachLoopIteratorAggregate.004.phpt8 private $num = 0;
16 $this->num = 0;
19 $more = $this->num < $this->obj->max;
25 return $this->num;
29 $this->num++;
33 switch($this->num) {
/PHP-5.5/ext/xmlreader/tests/
H A D009.phpt10 <books><book num="1"><test /></book><book num="2" /></books>';
22 echo $reader->getAttribute('num');
/PHP-5.5/tests/classes/
H A Diterators_002.phpt10 private $num = 0;
18 $this->num = 0;
21 $more = $this->num < $this->obj->max;
27 return $this->num;
31 $this->num++;
35 switch($this->num) {
H A Diterators_003.phpt10 private $num = 0;
20 $more = $this->num < $this->obj->max;
26 return $this->num;
30 $this->num++;
33 return $this->num;
/PHP-5.5/ext/dom/tests/
H A Ddomelement.phpt20 $node->setAttribute('num', '1');
21 echo "Chapter: ".$node->getAttribute('num')."\n";
22 echo 'Attribute num exists?: '.($node->hasAttribute('num')?'Yes':'No')."\n";
23 $node->removeAttribute('num');
24 echo "Chapter: ".$node->getAttribute('num')."\n";
25 echo 'Attribute num exists?: '.($node->hasAttribute('num')?'Yes':'No')."\n";
91 Attribute num exists?: Yes
93 Attribute num exists?: No
/PHP-5.5/Zend/tests/
H A Dbug40809.phpt13 $num = 5000;
15 for ($i=0; $i<$num; $i++) {
18 for ($i=0; $i<$num; $i++) {
/PHP-5.5/ext/standard/tests/array/
H A Darray_fill_variation4.phpt5 /* Prototype : proto array array_fill(int start_key, int num, mixed val)
6 …* Description: Create an array containing num elements starting with index start_key each initiali…
15 $num = 2;
39 var_dump( array_fill($start_key,$num,array_fill($start_key,$num,$val)) );
H A Darray_fill_basic.phpt5 /* Prototype : proto array array_fill(int start_key, int num, mixed val)
6 …* Description: Create an array containing num elements starting with index start_key each initiali…
14 $num = 2;
38 var_dump( array_fill($start_key,$num,$val) );
H A Darray_fill_variation2.phpt2 Test array_fill() function : usage variations - unexpected values for 'num' argument
5 /* Prototype : proto array array_fill(int start_key, int num, mixed val)
6 …* Description: Create an array containing num elements starting with index start_key each initiali…
11 * testing array_fill() by passing different unexpected values for 'num' argument
35 //array of different values for 'num' argument
81 // loop through each element of the array for num
83 echo "--- Testing array_fill() with different values for 'num' arg ---\n";
88 $num = $values[$index];
90 var_dump( array_fill($start_key,$num,$val) );
99 --- Testing array_fill() with different values for 'num' arg ---
H A Darray_fill_variation3.phpt5 /* Prototype : array array_fill(int $start_key, int $num, mixed $val)
6 …* Description: Create an array containing num elements starting with index start_key each initiali…
18 $num = 2;
59 var_dump( array_fill($start_key , $num , $val) );
/PHP-5.5/Zend/
H A Dzend_vm_gen.php571 while ($next != $num) {
600 $next = $num + 1;
656 while ($next != $num) {
672 $next = $num+1;
738 …gen_handler($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes…
741 $num = $dsc["helper"];
746 …gen_helper($f, 1, $kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $linen…
761 $num = $dsc["handler"];
763 …gen_handler($f, 0, $kind, $opcodes[$num]["op"], "ANY", "ANY", isset($opcodes[$num]["use"]), $opcod…
765 $num = $dsc["helper"];
[all …]
/PHP-5.5/ext/soap/tests/
H A Dserver010.phpt10 function Sum($num) {
11 return $this->sum += $num;
31 <num xsi:type="xsd:int">5</num>
49 <num xsi:type="xsd:int">3</num>
H A Dserver009.phpt18 function Sum($num) {
19 return $this->sum += $num;
38 <num xsi:type="xsd:int">5</num>
56 <num xsi:type="xsd:int">3</num>
/PHP-5.5/ext/pgsql/tests/
H A Dpg_meta_data_001.phpt32 ["num"]=>
47 ["num"]=>
64 ["num"]=>
79 ["num"]=>
H A D17result.phpt29 ["num"]=>
39 ["num"]=>
59 ["num"]=>
H A D15pg_delete.phpt13 $fields = array('num'=>'1234', 'str'=>'XXX', 'bin'=>'YYY');
14 $ids = array('num'=>'1234');
H A D10pg_convert.phpt16 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB');
23 [""num""]=>
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_rollback.phpt21 $num = $row['_num'];
24 $num++;
26 if ($row['_num'] != $num)
30 $num--;
32 if ($row['_num'] != $num)
39 $num++;
42 if ($row['_num'] != $num)
H A Dpdo_mysql_attr_autocommit.phpt58 $num = $row['_num'];
61 $num++;
63 if ($row['_num'] != $num)
69 if ($row['_num'] != $num)
78 if ($row['_num'] != $num)
83 $num--;
85 if ($row['_num'] != $num)
/PHP-5.5/ext/mbstring/oniguruma/
H A Dregparse.c1587 num = 0; in onig_scan_unsigned_number()
1595 num = num * 10 + val; in onig_scan_unsigned_number()
1615 num = 0; in scan_unsigned_hexadecimal_number()
1623 num = (num << 4) + XDIGITVAL(enc,c); in scan_unsigned_hexadecimal_number()
1651 num = (num << 3) + val; in scan_unsigned_octal_number()
3075 if (num < 0) return num; in fetch_token_in_cc()
3509 tok->u.backref.num = num; in fetch_token()
3571 if (num < 0) return num; in fetch_token()
4584 if (num < 0) return num; in parse_enclose()
4721 if (num < 0) return num; in parse_enclose()
[all …]
/PHP-5.5/ext/filter/
H A Dlogical_filters.c310 char *num, *p; in php_filter_float() local
340 num = p = emalloc(len+1); in php_filter_float()
388 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) { in php_filter_float()
395 if ((!dval && p - num > 1 && strpbrk(num, "123456789")) || !zend_finite(dval)) { in php_filter_float()
404 efree(num); in php_filter_float()
407 efree(num); in php_filter_float()
560 int num, m; in _php_filter_validate_ipv4() local
570 num = ((*(str++)) - '0'); in _php_filter_validate_ipv4()
572 num = num * 10 + ((*(str++)) - '0'); in _php_filter_validate_ipv4()
573 if (num > 255 || ++m > 3) { in _php_filter_validate_ipv4()
[all …]
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_bt.c153 int *len, *num; in mysqlnd_build_trace_string() local
162 num = va_arg(args, int*); in mysqlnd_build_trace_string()
170 sprintf(s_tmp, "#%d ", (*num)++); in mysqlnd_build_trace_string()
208 int res_len = 0, *len = &res_len, num = 0; in mysqlnd_get_backtrace() local
216 …P(trace) TSRMLS_CC, (apply_func_args_t)mysqlnd_build_trace_string, 4, &max_levels, str, len, &num); in mysqlnd_get_backtrace()
221 sprintf(s_tmp, "#%d {main}", num); in mysqlnd_get_backtrace()
/PHP-5.5/ext/mbstring/
H A Dmb_gpc.c201 int n, num, *len_list = NULL; in _php_mb_encoding_handler_ex() local
219 num = 1; in _php_mb_encoding_handler_ex()
223 num++; in _php_mb_encoding_handler_ex()
227 num *= 2; /* need space for variable name and value */ in _php_mb_encoding_handler_ex()
229 val_list = (char **)ecalloc(num, sizeof(char *)); in _php_mb_encoding_handler_ex()
230 len_list = (int *)ecalloc(num, sizeof(int)); in _php_mb_encoding_handler_ex()
263 num = n; /* make sure to process initialized vars only */ in _php_mb_encoding_handler_ex()
276 while (n < num) { in _php_mb_encoding_handler_ex()
313 while (n < num) { in _php_mb_encoding_handler_ex()
/PHP-5.5/ext/pdo/tests/
H A Dpdo_021.phpt41 $num = $select->fetchColumn();
42 echo 'There are ' . $num . " rows in the table.\n";
52 $num = $select->fetchColumn();
53 echo 'There are ' . $num . " rows in the table.\n";
/PHP-5.5/ext/dba/libcdb/
H A Dcdb_make.c81 if (!head || (head->num >= CDB_HPLIST)) { in cdb_make_addend()
85 head->num = 0; in cdb_make_addend()
89 head->hp[head->num].h = h; in cdb_make_addend()
90 head->hp[head->num].p = c->pos; in cdb_make_addend()
91 ++head->num; in cdb_make_addend()
154 i = x->num; in cdb_make_finish()
187 i = x->num; in cdb_make_finish()

Completed in 64 milliseconds

123456789