/php-src/Zend/ |
H A D | zend_smart_string.h | 91 static zend_always_inline void smart_string_append_long_ex(smart_string *dest, zend_long num, bool … in smart_string_append_long_ex() argument 93 char *result = zend_print_long_to_buf(buf + sizeof(buf) - 1, num); in smart_string_append_long_ex() 97 static zend_always_inline void smart_string_append_unsigned_ex(smart_string *dest, zend_ulong num, … in smart_string_append_unsigned_ex() argument 99 char *result = zend_print_ulong_to_buf(buf + sizeof(buf) - 1, num); in smart_string_append_unsigned_ex()
|
H A D | micro_bench.php | 261 $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 D | zend_execute.h | 438 #define CACHE_ADDR(num) \ argument 439 ((void**)((char*)EX(run_time_cache) + (num))) 441 #define CACHED_PTR(num) \ argument 442 ((void**)((char*)EX(run_time_cache) + (num)))[0] 444 #define CACHE_PTR(num, ptr) do { \ argument 448 #define CACHED_POLYMORPHIC_PTR(num, ce) \ argument 450 ((void**)((char*)EX(run_time_cache) + (num)))[1] : \ 453 #define CACHE_POLYMORPHIC_PTR(num, ce, ptr) do { \ argument 479 #define ENCODE_SPECIAL_CACHE_NUM(num) \ argument 480 ((void*)((((uintptr_t)(num)) << 1) | CACHE_SPECIAL)) [all …]
|
/php-src/ext/mysqli/tests/functions/ |
H A D | mysqli_num_rows.phpt | 22 $num = mysqli_num_rows($result); 26 var_dump($num);
|
/php-src/ext/soap/tests/bugs/ |
H A D | bug30045.phpt | 11 function foo($type, $num) { 12 return new SoapVar($num, $type); 41 function test($type, $num) { 44 printf(" %0.0f\n ", $num); 45 $ret = $soap->foo($type, new SoapVar($num, $type));
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_fetch_array_many_rows.phpt | 84 if (!$res = mysqli_query($link, 'SELECT count(*) AS num FROM test')) { 88 $num = $row['num']; 103 if ($i != $num) 105 $num, $i, mysqli_errno($link), mysqli_error($link));
|
H A D | mysqli_multi_query.phpt | 55 …(!mysqli_multi_query($link, "SELECT 1 AS num, 'a' AS somechar; SELECT 2 AS num, 'a' AS somechar; S… 69 if ($row['num'] != $res_num) 70 printf("[013 - %d] Expecting %s got %s\n", $res_num, $res_num, $row['num']);
|
/php-src/ext/gmp/tests/ |
H A D | gmp_sqrtrem.phpt | 69 gmp_sqrtrem(): Argument #1 ($num) must be greater than or equal to 0 86 gmp_sqrtrem(): Argument #1 ($num) must be greater than or equal to 0 89 gmp_sqrtrem(): Argument #1 ($num) must be of type GMP|string|int, array given
|
H A D | gmp_com.phpt | 36 gmp_com(): Argument #1 ($num) is not an integer string 43 gmp_com(): Argument #1 ($num) must be of type GMP|string|int, array given
|
H A D | gmp_neg.phpt | 39 gmp_neg(): Argument #1 ($num) is not an integer string 43 gmp_neg(): Argument #1 ($num) must be of type GMP|string|int, array given
|
H A D | gmp_pown.phpt | 78 gmp_powm(): Argument #1 ($num) must be of type GMP|string|int, array given 81 gmp_powm(): Argument #1 ($num) must be of type GMP|string|int, array given 84 ["num"]=>
|
H A D | gmp_setbit.phpt | 62 gmp_setbit(): Argument #1 ($num) must be of type GMP, string given 63 gmp_setbit(): Argument #1 ($num) must be of type GMP, array given
|
H A D | gmp_sub.phpt | 43 ["num"]=> 48 ["num"]=>
|
/php-src/ext/standard/tests/array/ |
H A D | array_rand_variation5.phpt | 67 array_rand(): Argument #2 ($num) must be between 1 and the number of elements in argument #1 ($arra… 70 array_rand(): Argument #2 ($num) must be between 1 and the number of elements in argument #1 ($arra… 73 array_rand(): Argument #2 ($num) must be between 1 and the number of elements in argument #1 ($arra… 76 array_rand(): Argument #2 ($num) must be between 1 and the number of elements in argument #1 ($arra…
|
H A D | array_fill_basic.phpt | 9 $num = 2; 33 var_dump( array_fill($start_key,$num,$val) );
|
/php-src/ext/dom/tests/ |
H A D | domattributes.phpt | 26 $chapter = new DOMAttr("num", "1"); 41 <chapter language="en-US" num="1"/>
|
/php-src/Zend/Optimizer/ |
H A D | compact_literals.c | 515 opline->op2.num = cache_size; in zend_optimizer_compact_literals() 606 opline->result.num = func_slot[opline->op2.constant]; in zend_optimizer_compact_literals() 608 opline->result.num = cache_size; in zend_optimizer_compact_literals() 610 func_slot[opline->op2.constant] = opline->result.num; in zend_optimizer_compact_literals() 620 opline->result.num = cache_size; in zend_optimizer_compact_literals() 638 opline->result.num = cache_size; in zend_optimizer_compact_literals() 646 opline->result.num = cache_size; in zend_optimizer_compact_literals() 741 opline->op2.num = class_slot[opline->op1.constant]; in zend_optimizer_compact_literals() 743 opline->op2.num = cache_size; in zend_optimizer_compact_literals() 745 class_slot[opline->op1.constant] = opline->op2.num; in zend_optimizer_compact_literals() [all …]
|
/php-src/ext/xmlreader/tests/ |
H A D | 004.phpt | 10 <books><book num="1" idx="2">book1</book></books>'; 37 Attribute Name: num
|
/php-src/Zend/tests/ |
H A D | exception_from_toString.phpt | 13 $num = 42; 23 try { $x = $num . $badStr; } 25 try { $x = $badStr . $num; } 27 try { $x = $num .= $badStr; } 29 var_dump($num);
|
/php-src/ext/bcmath/ |
H A D | bcmath.c | 135 static zend_result php_str2num(bc_num *num, const zend_string *str) in php_str2num() argument 137 if (!bc_str2num(num, ZSTR_VAL(str), ZSTR_VAL(str) + ZSTR_LEN(str), 0, true)) { in php_str2num() 614 bc_num num = NULL, result = NULL; in bcfloor_or_bcceil() local 620 if (php_str2num(&num, numstr) == FAILURE) { in bcfloor_or_bcceil() 625 result = bc_floor_or_ceil(num, is_floor); in bcfloor_or_bcceil() 629 bc_free_num(&num); in bcfloor_or_bcceil() 655 bc_num num = NULL, result; in PHP_FUNCTION() local 681 if (php_str2num(&num, numstr) == FAILURE) { in PHP_FUNCTION() 686 bc_round(num, precision, mode, &result); in PHP_FUNCTION() 690 bc_free_num(&num); in PHP_FUNCTION()
|
/php-src/ext/pdo_odbc/tests/ |
H A D | max_columns.phpt | 30 foreach ($sizes as $num) { 31 $insert->execute(array($num, str_repeat('i', $num)));
|
/php-src/ext/standard/tests/strings/ |
H A D | sprintf_f_2.phpt | 17 $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-src/ext/pgsql/tests/ |
H A D | 08escape.phpt | 47 pg_query($db, "CREATE TABLE {$table_name} (num int, str text, bin bytea)"); 51 pg_query($db, "DELETE FROM ".$table_name." WHERE num = 10000;"); 52 $sql = "INSERT INTO ".$table_name." (num, bin) VALUES (10000, CAST ('".$escaped_data."' AS BYTEA));… 57 $sql = "SELECT bin::bytea FROM ".$table_name." WHERE num = 10000";
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 3144 function sin(float $num): float {} 3147 function cos(float $num): float {} 3150 function tan(float $num): float {} 3153 function asin(float $num): float {} 3156 function acos(float $num): float {} 3159 function atan(float $num): float {} 3168 function sinh(float $num): float {} 3171 function cosh(float $num): float {} 3174 function tanh(float $num): float {} 3207 function exp(float $num): float {} [all …]
|
/php-src/ext/gmp/ |
H A D | gmp.c | 90 mpz_t num; member 108 GET_GMP_OBJECT_FROM_OBJ(Z_OBJ_P(zval))->num 131 mpz_clear(temp.num); \ 246 mpz_clear(intern->num); in gmp_free_object_storage() 258 mpz_init(intern->num); in gmp_create_object_ex() 259 *gmpnum_target = intern->num; in gmp_create_object_ex() 283 gmpnum = GET_GMP_OBJECT_FROM_OBJ(readobj)->num; in gmp_cast_object() 287 gmpnum = GET_GMP_OBJECT_FROM_OBJ(readobj)->num; in gmp_cast_object() 331 mpz_set(new_object->num, old_object->num); in gmp_clone_obj() 2106 zval *num = zend_hash_index_find(data, 0); in ZEND_METHOD() local [all …]
|