/PHP-7.2/ext/standard/tests/array/ |
H A D | array_fill_variation4.phpt | 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… 15 $num = 2; 39 var_dump( array_fill($start_key,$num,array_fill($start_key,$num,$val)) );
|
H A D | array_fill_variation5.phpt | 5 /* 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.2/ext/standard/ |
H A D | math.c | 410 double num; in PHP_FUNCTION() local 423 double num; in PHP_FUNCTION() local 436 double num; in PHP_FUNCTION() local 449 double num; in PHP_FUNCTION() local 462 double num; in PHP_FUNCTION() local 475 double num; in PHP_FUNCTION() local 502 double num; in PHP_FUNCTION() local 515 double num; in PHP_FUNCTION() local 528 double num; in PHP_FUNCTION() local 832 num = num * base + digit; in _php_math_basetolong() [all …]
|
H A D | formatted_print.c | 315 register zend_ulong num; in php_sprintf_append2n() local 324 num = (zend_ulong) number; in php_sprintf_append2n() 328 numbuf[--i] = chartable[(num & andbits)]; in php_sprintf_append2n() 329 num >>= n; in php_sprintf_append2n() 331 while (num > 0); in php_sprintf_append2n() 344 register zend_long num = ZEND_STRTOL(&buffer[*pos], &endptr, 10); in php_sprintf_getnumber() local 353 if (num >= INT_MAX || num < 0) { in php_sprintf_getnumber() 356 return (int) num; in php_sprintf_getnumber()
|
H A D | html.c | 549 static inline unsigned char unimap_bsearch(const uni_to_enc *table, unsigned code_key_a, size_t num) in unimap_bsearch() argument 552 *h = &table[num-1], in unimap_bsearch()
|
H A D | crypt_sha512.c | 406 const char *num = salt + sizeof(sha512_rounds_prefix) - 1; in php_sha512_crypt_r() local 408 zend_ulong srounds = ZEND_STRTOUL(num, &endp, 10); in php_sha512_crypt_r()
|
H A D | basic_functions.c | 343 ZEND_ARG_INFO(0, num) 4521 zend_long num; local 4524 Z_PARAM_LONG(num) 4527 if (num < 0) { 4532 RETURN_LONG(php_sleep((unsigned int)num)); 4534 php_sleep((unsigned int)num); 4545 zend_long num; local 4548 Z_PARAM_LONG(num) 4551 if (num < 0) { 4555 usleep((unsigned int)num);
|
H A D | crypt_sha256.c | 373 const char *num = salt + sizeof(sha256_rounds_prefix) - 1; in php_sha256_crypt_r() local 375 zend_ulong srounds = ZEND_STRTOUL(num, &endp, 10); in php_sha256_crypt_r()
|
H A D | array.c | 2629 zend_long start_key, num; local 2633 Z_PARAM_LONG(num) 2637 if (EXPECTED(num > 0)) { 2638 if (sizeof(num) > 4 && UNEXPECTED(EXPECTED(num > 0x7fffffff))) { 2657 GC_REFCOUNT(Z_COUNTED_P(val)) += num; 2667 while (num--) { 2681 while (--num) { 2686 } else if (EXPECTED(num == 0)) { 5411 uint32_t num; local 5433 num = 0; [all …]
|
/PHP-7.2/ext/sqlite3/tests/ |
H A D | bug63921-32bit.phpt | 10 $num = PHP_INT_MAX; // 32 bits 12 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))'); 14 $stmt = $conn->prepare('insert into users (id, num) values (:id, :num)'); 16 $stmt->bindValue(':num', $num, SQLITE3_INTEGER); 19 $stmt = $conn->query('SELECT num FROM users'); 22 var_dump($num,$result[0]);
|
/PHP-7.2/ext/spl/ |
H A D | spl_fixedarray.c | 664 int num; in SPL_METHOD() local 671 num = zend_hash_num_elements(Z_ARRVAL_P(data)); in SPL_METHOD() 673 if (num > 0 && save_indexes) { in SPL_METHOD() 702 } else if (num > 0 && !save_indexes) { in SPL_METHOD() 706 spl_fixedarray_init(&array, num); in SPL_METHOD()
|
/PHP-7.2/ext/sockets/ |
H A D | sockets.c | 851 int num = 0; local 864 num++; 867 return num ? 1 : 0; 877 int num = 0; local 900 num++; 908 return num ? 1 : 0;
|
/PHP-7.2/ext/soap/tests/bugs/ |
H A D | bug36999.phpt | 12 function echoLong($num) { 13 return $num; 36 function test($num) { 39 printf("%s %0.0f\n", gettype($num), $num); 40 $ret = $soap->echoLong($num);
|
/PHP-7.2/ext/soap/ |
H A D | php_encoding.c | 3414 int num = ++SOAP_GLOBAL(cur_uniq_ns); in encode_add_ns() local 3418 smart_str_append_long(&prefix, num); in encode_add_ns() 3425 num = ++SOAP_GLOBAL(cur_uniq_ns); in encode_add_ns()
|
/PHP-7.2/ext/session/tests/ |
H A D | session_set_save_handler_class_011.phpt | 22 public $num; 24 public function __construct($num) { 25 $this->num = $num; 26 echo "(#$this->num) constructor called\n"; 29 echo "(#$this->num) destructor called\n"; 34 echo "(#$this->num) destroyed, cannot write\n"; 36 echo "(#$this->num) writing $id = $data\n"; 43 echo "(#$this->num) destroyed, cannot write\n"; 45 echo "(#$this->num) closing $id\n";
|
/PHP-7.2/ext/reflection/tests/ |
H A D | ReflectionMethod_006.phpt | 2 ReflectionMethod methods - wrong num args
|
/PHP-7.2/ext/reflection/ |
H A D | php_reflection.c | 600 || op->opcode == ZEND_RECV_VARIADIC) && op->op1.num == offset) in _get_recv_op()
|
/PHP-7.2/ext/phar/tests/zip/ |
H A D | bug48791.phpt | 14 …num-suffix="." text:bullet-char="•"><style:list-level-properties text:list-level-position-and-spac…
|
/PHP-7.2/ext/phar/tests/files/ |
H A D | pear2coverage.phar.php | 268 foreach ($source->source() as $num => $line) { 269 $coverage = $source->coverage($num); 273 $output->text(str_pad($num, 8, ' ', STR_PAD_LEFT)); 289 $output->writeAttribute('href', $this->getLineLink($source->name(), $num)); 294 $this->renderLineSummary($source->name(), $num, $source->testpath(), 295 $source->getLineLinks($num));
|
/PHP-7.2/ext/phar/ |
H A D | tar.c | 24 uint32_t num = 0; in phar_tar_number() local 32 num = num * 8 + (buf[i] - '0'); in phar_tar_number() 36 return num; in phar_tar_number()
|
/PHP-7.2/ext/pgsql/tests/ |
H A D | 08escape.phpt | 46 pg_query("DELETE FROM ".$table_name." WHERE num = -9999;"); 47 $sql = "INSERT INTO ".$table_name." (num, bin) VALUES (-9999, CAST ('".$escaped_data."' AS BYTEA));… 52 $sql = "SELECT bin::bytea FROM ".$table_name." WHERE num = -9999";
|
H A D | 17result.phpt | 29 ["num"]=> 39 ["num"]=> 59 ["num"]=>
|
H A D | 18pg_escape_bytea_before.phpt | 17 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 D | 18pg_escape_bytea_esc.phpt | 17 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 D | 18pg_escape_bytea_hex.phpt | 20 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');
|