Home
last modified time | relevance | path

Searched refs:num (Results 126 – 150 of 269) sorted by relevance

1234567891011

/PHP-7.4/ext/xmlreader/tests/
H A D003-move-errors.phpt11 <books><book num="1" idx="2">book1</book></books>';
67 num: 1
71 num: 1
73 num: 1
H A D004.phpt10 <books><book num="1" idx="2">book1</book></books>';
38 Attribute Name: num
/PHP-7.4/ext/pgsql/tests/
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)));
H A Dconfig.inc19 $table_def = "CREATE TABLE ${table_name} (num int, str text, bin bytea);";
21 $field_name = "num"; // For pg_field_num()
H A D26async_query_prepared.phpt17 if (!pg_send_prepare($db, 'php_test', "SELECT * FROM ".$table_name." WHERE num > \$1;")) {
62 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
63 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
H A D31nb_async_query_prepared.phpt25 $nb_send = pg_send_prepare($db, 'php_test', "SELECT * FROM ".$table_name." WHERE num > \$1;");
68 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
69 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
H A D08escape.phpt46 pg_query("DELETE FROM ".$table_name." WHERE num = 10000;");
47 $sql = "INSERT INTO ".$table_name." (num, bin) VALUES (10000, CAST ('".$escaped_data."' AS BYTEA));…
52 $sql = "SELECT bin::bytea FROM ".$table_name." WHERE num = 10000";
/PHP-7.4/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));
/PHP-7.4/ext/mysqli/tests/
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));
H A Dmysqli_multi_query.phpt66 …(!mysqli_multi_query($link, "SELECT 1 AS num, 'a' AS somechar; SELECT 2 AS num, 'a' AS somechar; S…
80 if ($row['num'] != $res_num)
81 printf("[013 - %d] Expecting %s got %s\n", $res_num, $res_num, $row['num']);
H A D038.phpt26 $num = mysqli_num_fields($result);
30 var_dump($num);
H A D040.phpt24 $num = mysqli_num_rows($result);
28 var_dump($num);
/PHP-7.4/ext/opcache/Optimizer/
H A Dcompact_literals.c514 if (class_name_type_hint(op_array, opline->op1.num)) { in zend_optimizer_compact_literals()
521 if (class_name_type_hint(op_array, opline->op1.num)) { in zend_optimizer_compact_literals()
522 opline->op2.num = cache_size; in zend_optimizer_compact_literals()
528 opline->op2.num = cache_size; in zend_optimizer_compact_literals()
620 opline->result.num = cache_size; in zend_optimizer_compact_literals()
632 opline->result.num = cache_size; in zend_optimizer_compact_literals()
650 opline->result.num = cache_size; in zend_optimizer_compact_literals()
658 opline->result.num = cache_size; in zend_optimizer_compact_literals()
751 opline->op2.num = class_slot[opline->op1.constant]; in zend_optimizer_compact_literals()
753 opline->op2.num = cache_size; in zend_optimizer_compact_literals()
[all …]
H A Doptimize_func_calls.c203 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
209 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func); in zend_optimize_func_calls()
263 if (ARG_MUST_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
273 call_stack[call - 1].func_arg_num = opline->op2.num; in zend_optimize_func_calls()
281 if (ARG_SHOULD_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
290 if (ARG_MUST_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
292 } else if (ARG_MAY_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in zend_optimize_func_calls()
/PHP-7.4/ext/dom/tests/
H A Ddomattributes.phpt26 $chapter = new DOMAttr("num", "1");
41 <chapter language="en-US" num="1"/>
/PHP-7.4/ext/pdo_odbc/tests/
H A Dmax_columns.phpt27 foreach ($sizes as $num) {
28 $insert->execute(array($num, str_repeat('i', $num)));
/PHP-7.4/Zend/tests/
H A Dexception_from_toString.phpt13 $num = 42;
23 try { $x = $num . $badStr; }
25 try { $x = $badStr . $num; }
27 try { $x = $num .= $badStr; }
29 var_dump($num);
/PHP-7.4/Zend/
H A Dmicro_bench.php261 $num = number_format($last_time,3);
262 $pad = str_repeat(" ", 24-strlen($name)-strlen($num));
264 echo $name.$pad.$num."\n";
267 echo $name.$pad.$num." ".$num2."\n";
278 $num = number_format($total,3);
279 $pad = str_repeat(" ", 24-strlen("Total")-strlen($num));
280 echo "Total".$pad.$num."\n";
H A Dzend_smart_str.h135 static zend_always_inline void smart_str_append_long_ex(smart_str *dest, zend_long num, zend_bool p… in smart_str_append_long_ex() argument
137 char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); in smart_str_append_long_ex()
141 static zend_always_inline void smart_str_append_unsigned_ex(smart_str *dest, zend_ulong num, zend_b… in smart_str_append_unsigned_ex() argument
143 char *result = zend_print_ulong_to_buf(buf + sizeof(buf) - 1, num); in smart_str_append_unsigned_ex()
/PHP-7.4/ext/standard/tests/strings/
H A Dsprintf_f_2.phpt17 $num = 100.1;
21 var_dump(sprintf($format, $num, $location));
25 var_dump(sprintf($format, $num, $location));
29 var_dump(sprintf($format, $num, $location));
34 var_dump(sprintf($format, $num, $location));
/PHP-7.4/ext/json/
H A Djson_encoder.c103 char num[PHP_DOUBLE_MAX_LENGTH]; in php_json_encode_double() local
105 php_gcvt(d, (int)PG(serialize_precision), '.', 'e', num); in php_json_encode_double()
106 len = strlen(num); in php_json_encode_double()
107 …if (options & PHP_JSON_PRESERVE_ZERO_FRACTION && strchr(num, '.') == NULL && len < PHP_DOUBLE_MAX_… in php_json_encode_double()
108 num[len++] = '.'; in php_json_encode_double()
109 num[len++] = '0'; in php_json_encode_double()
110 num[len] = '\0'; in php_json_encode_double()
112 smart_str_appendl(buf, num, len); in php_json_encode_double()
/PHP-7.4/ext/bcmath/libbcmath/src/
H A Ddiv.c47 _one_mult (num, size, digit, result) in _one_mult() argument
48 unsigned char *num; in _one_mult()
60 memcpy (result, num, size);
64 nptr = (unsigned char *) (num+size-1);
H A Dprivate.h38 void _bc_rm_leading_zeros (bc_num num);
/PHP-7.4/ext/standard/tests/array/
H A Darray_fill_variation5.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;
48 var_dump( array_fill($start_key , $num , $val) );
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_cmd.h56 long num; member
75 (v)->num = 0; \
116 int num; member

Completed in 51 milliseconds

1234567891011