Home
last modified time | relevance | path

Searched refs:num (Results 101 – 125 of 272) sorted by relevance

1234567891011

/PHP-7.3/Zend/
H A Dzend_vm_gen.php1257 $next = $num + 1;
1291 if ($num >= 256) {
1292 $opcodes[$num]['spec_code'] = $specs[$num];
1460 if ($num >= 256) {
1463 $next = $num+1;
1530 $last = $num;
1699 …r($f, 1, $kind, $opcodes[$num]["op"], $op1, $op2, isset($opcodes[$num]["use"]), $opcodes[$num]["co…
1709 …kind, $num, $op1, $op2, $helpers[$num]["param"], $helpers[$num]["code"], $lineno, $helpers[$num]["…
1727 if ($num < 256) {
1728 …($f, 0, $kind, $opcodes[$num]["op"], "ANY", "ANY", isset($opcodes[$num]["use"]), $opcodes[$num]["c…
[all …]
H A Dzend_smart_string.h93 static zend_always_inline void smart_string_append_long_ex(smart_string *dest, zend_long num, zend_… in smart_string_append_long_ex() argument
95 char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); in smart_string_append_long_ex()
99 static zend_always_inline void smart_string_append_unsigned_ex(smart_string *dest, zend_ulong num, … in smart_string_append_unsigned_ex() argument
101 char *result = zend_print_ulong_to_buf(buf + sizeof(buf) - 1, num); in smart_string_append_unsigned_ex()
/PHP-7.3/ext/intl/tests/
H A Dformatter_get_error.phpt18 $num = ut_nfmt_parse_currency( $fmt, '123.45', $currency, $pos );
19 if( $num === false )
H A Dbug67052-win32.phpt17 $num = "1.234.567,891";
18 $res_str = $fmt->parse($num)."\n";
H A Dbug67052.phpt22 $num = "1.234.567,891";
23 $res_str = $fmt->parse($num)."\n";
/PHP-7.3/ext/pgsql/tests/
H A D12pg_insert.phpt15 $fields = array('num'=>'1234', 'str'=>'AAA', 'bin'=>'BBB');
23 INSERT INTO "php_pgsql_test" ("num","str","bin") VALUES (1234,E'AAA',E'BBB');
H A D23sync_query_params.phpt17 $result = pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100));
40 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
41 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
H A D18pg_escape_bytea_before.phpt17 pg_query($db, 'INSERT INTO '.$table_name.' (num, bin) VALUES (9876, E\''.$esc_image.'\');');
18 $result = pg_query($db, 'SELECT * FROM '.$table_name.' WHERE num = 9876');
H A D18pg_escape_bytea_esc.phpt17 pg_query($db, 'INSERT INTO '.$table_name.' (num, bin) VALUES (9876, \''.$esc_image.'\');');
18 $result = pg_query($db, 'SELECT * FROM '.$table_name.' WHERE num = 9876');
H A D18pg_escape_bytea_hex.phpt20 pg_query($db, 'INSERT INTO '.$table_name.' (num, bin) VALUES (9876, \''.$esc_image.'\');');
21 $result = pg_query($db, 'SELECT * FROM '.$table_name.' WHERE num = 9876');
H A D22pg_fetch_object.phpt19 $sql = "SELECT * FROM $table_name WHERE num = 0";
30 ["num"]=>
H A D25async_query_params.phpt17 if (!pg_send_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100))) {
48 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
49 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
H A D30nb_async_query_params.phpt25 $sent = pg_send_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100));
53 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
54 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
/PHP-7.3/Zend/tests/generators/
H A Dbug71441.phpt6 $num = 2000; /* to be sure to be in wild memory */
7 $add = str_repeat("1 +", $num);
/PHP-7.3/ext/filter/
H A Dlogical_filters.c325 char *num, *p; in php_filter_float() local
371 num = p = emalloc(len+1); in php_filter_float()
419 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) { in php_filter_float()
425 if ((!dval && p - num > 1 && strpbrk(num, "123456789")) || !zend_finite(dval)) { in php_filter_float()
433 efree(num); in php_filter_float()
436 efree(num); in php_filter_float()
697 int num, m; in _php_filter_validate_ipv4() local
707 num = ((*(str++)) - '0'); in _php_filter_validate_ipv4()
709 num = num * 10 + ((*(str++)) - '0'); in _php_filter_validate_ipv4()
710 if (num > 255 || ++m > 3) { in _php_filter_validate_ipv4()
[all …]
/PHP-7.3/ext/mysqli/tests/
H A Dmysqli_autocommit.phpt76 if (!$res = mysqli_query($link, 'SELECT COUNT(*) AS num FROM test'))
79 if ((!$tmp = mysqli_fetch_assoc($res)) || (1 != $tmp['num']))
81 $tmp['num'], mysqli_errno($link), mysqli_error($link));
111 if (!$res = mysqli_query($link, 'SELECT COUNT(*) AS num FROM test'))
114 if (0 != $tmp['num'])
115 printf("[27] Expecting 0 rows in table test, found %d rows\n", $tmp['num']);
124 if (!$res = mysqli_query($link, 'SELECT COUNT(*) AS num FROM test'))
127 if ((!$tmp = mysqli_fetch_assoc($res)) || (1 != $tmp['num']))
129 $tmp['num'], mysqli_errno($link), mysqli_error($link));
H A Dmysqli_autocommit_oo.phpt65 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test'))
68 if ((!$tmp = $res->fetch_assoc()) || (1 != $tmp['num']))
70 $tmp['num'], $mysqli->errno, $mysqli->error);
101 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test'))
104 if (0 != $tmp['num'])
105 printf("[24] Expecting 0 rows in table test, found %d rows\n", $tmp['num']);
114 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test'))
117 if ((!$tmp = $res->fetch_assoc()) || (1 != $tmp['num']))
119 $tmp['num'], $mysqli->errno, $mysqli->error);
H A Dmysqli_change_user_rollback.phpt32 $num = $row['_num'];
33 assert($num > 0);
57 if ($row['_num'] != $num)
59 $num, $row['_num']);
H A Dmysqli_fetch_array_many_rows.phpt83 if (!$res = mysqli_query($link, 'SELECT count(*) AS num FROM test')) {
87 $num = $row['num'];
102 if ($i != $num)
104 $num, $i, mysqli_errno($link), mysqli_error($link));
/PHP-7.3/tests/classes/
H A Diterators_001.phpt8 private $num = 0;
12 $this->num = 0;
18 $more = $this->num < $this->obj->max;
24 return $this->num;
28 $this->num++;
32 switch($this->num) {
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_frame.c104 if (PHPDBG_FRAME(num) == 0) { in phpdbg_restore_frame()
115 PHPDBG_FRAME(num) = 0; in phpdbg_restore_frame()
123 …zend_execute_data *execute_data = PHPDBG_FRAME(num) ? PHPDBG_FRAME(execute_data) : EG(current_exec… in phpdbg_switch_frame()
126 if (PHPDBG_FRAME(num) == frame) { in phpdbg_switch_frame()
154 PHPDBG_FRAME(num) = frame; in phpdbg_switch_frame()
261 void phpdbg_dump_backtrace(size_t num) /* {{{ */ in phpdbg_dump_backtrace() argument
269 int i = 0, limit = num; in phpdbg_dump_backtrace()
332 PHPDBG_FRAME(num) = -1; in phpdbg_open_generator_frame()
/PHP-7.3/main/
H A Dsnprintf.h88 PHPAPI char * php_conv_fp(char format, double num,
155 PHPAPI char * ap_php_conv_10(wide_int num, bool_int is_unsigned,
158 PHPAPI char * ap_php_conv_p2(u_wide_int num, int nbits,
H A Dsnprintf.c328 magnitude = (u_wide_int) num; in ap_php_conv_10()
331 *is_negative = (num < 0); in ap_php_conv_10()
343 wide_int t = num + 1; in ap_php_conv_10()
346 magnitude = (u_wide_int) num; in ap_php_conv_10()
493 *--p = digits[num & mask]; in ap_php_conv_p2()
494 num >>= nbits; in ap_php_conv_p2()
496 while (num); in ap_php_conv_p2()
545 #define STR_TO_DEC( str, num ) \ argument
546 num = NUM( *str++ ) ; \
549 num *= 10 ; \
[all …]
/PHP-7.3/ext/opcache/Optimizer/
H A Doptimize_func_calls.c195 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
201 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
255 if (ARG_MUST_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
265 call_stack[call - 1].func_arg_num = opline->op2.num; in zend_optimize_func_calls()
273 if (ARG_SHOULD_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
282 if (ARG_MUST_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
284 } else if (ARG_MAY_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
/PHP-7.3/ext/soap/tests/bugs/
H A Dbug30045.phpt13 function foo($type, $num) {
14 return new SoapVar($num, $type);
42 function test($type, $num) {
45 printf(" %0.0f\n ", $num);
46 $ret = $soap->foo($type, new SoapVar($num, $type));

Completed in 42 milliseconds

1234567891011