/PHP-8.1/ext/pcre/pcre2lib/ |
H A D | pcre2_valid_utf.c | 96 PCRE2_SPTR p; in PRIV() local 134 for (p = string; length > 0; p++) in PRIV() 138 c = *p; in PRIV() 329 for (p = string; length > 0; p++) in PRIV() 331 c = *p; in PRIV() 343 *erroroffset = p - string; in PRIV() 346 p++; in PRIV() 357 *erroroffset = p - string; in PRIV() 374 for (p = string; length > 0; length--, p++) in PRIV() 376 c = *p; in PRIV() [all …]
|
H A D | pcre2_maketables.c | 90 uint8_t *p; local 93 p = yield; 97 for (i = 0; i < 256; i++) *p++ = tolower(i); 116 memset(p, 0, cbit_length); 119 if (isdigit(i)) p[cbit_digit + i/8] |= 1u << (i&7); 120 if (isupper(i)) p[cbit_upper + i/8] |= 1u << (i&7); 121 if (islower(i)) p[cbit_lower + i/8] |= 1u << (i&7); 122 if (isalnum(i)) p[cbit_word + i/8] |= 1u << (i&7); 123 if (i == '_') p[cbit_word + i/8] |= 1u << (i&7); 131 p += cbit_length; [all …]
|
/PHP-8.1/tests/lang/ |
H A D | engine_assignExecutionOrder_008.phpt | 33 echo $a[$i->p=f()][++$i->p]; 39 echo $a[$i->p->q=f()][++$i->p->q]; 44 echo $a[$i->p[0]=f()][++$i->p[0]]; 47 echo "\n" . '$i->p[0]->p=f(): '; 50 echo $a[$i->p[0]->p=f()][++$i->p[0]->p]; 54 static $p; 58 echo $a[C::$p=f()][++C::$p]; 62 echo $a[C::$p[0]=f()][++C::$p[0]]; 66 echo $a[C::$p->q=f()][++C::$p->q]; 74 $i->p=f(): good [all …]
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string_sjis.phpt | 26 if ('?p??\\\\?p??' !== ($tmp = mysqli_real_escape_string($link, '?p??\\?p??'))) 29 if ('?p??\"?p??' !== ($tmp = mysqli_real_escape_string($link, '?p??"?p??'))) 32 if ("?p??\'?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??'?p??"))) 35 if ("?p??\\n?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??\n?p??"))) 38 if ("?p??\\r?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??\r?p??"))) 41 if ("?p??\\0?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??" . chr(0) . "?p??"))) 42 printf("[009] Expecting %s, got %s\n", "?p??\\0?p??", $tmp); 44 var_dump(mysqli_query($link, "INSERT INTO test(id, label) VALUES (100, '?p')"));
|
/PHP-8.1/ext/simplexml/tests/ |
H A D | 034.phpt | 9 <p>Blah 1</p> 10 <p>Blah 2</p> 11 <p>Blah 3</p> 16 $p = $foo->bar->p; 17 echo count($p); 18 $p = (array)$foo->bar->p; 19 echo count($p);
|
H A D | 035.phpt | 9 <p>Blah 1</p> 10 <p>Blah 2</p> 11 <p>Blah 3</p> 16 $p = $foo->bar->p; 17 echo $p."\n"; 18 echo $p->__toString()."\n"; 19 echo $p."\n";
|
/PHP-8.1/ext/opcache/ |
H A D | shared_alloc_mmap.c | 47 void *p; in create_segments() local 77 if (p != MAP_FAILED) { in create_segments() 78 munmap(p, requested_size); in create_segments() 79 p = (void*)(ZEND_MM_ALIGNED_SIZE_EX((ptrdiff_t)p, huge_page_size)); in create_segments() 81 if (p != MAP_FAILED) { in create_segments() 85 if (p != MAP_FAILED) { in create_segments() 92 if (p != MAP_FAILED) { in create_segments() 98 if (p != MAP_FAILED) { in create_segments() 104 if (p == MAP_FAILED) { in create_segments() 113 munmap(p, requested_size); in create_segments() [all …]
|
H A D | zend_accelerator_blacklist.c | 92 p = regexp + 2; in zend_accel_blacklist_update_regexp() 108 p += 5; in zend_accel_blacklist_update_regexp() 114 p += 4; in zend_accel_blacklist_update_regexp() 123 p += 2; in zend_accel_blacklist_update_regexp() 132 p += 6; in zend_accel_blacklist_update_regexp() 139 p += 5; in zend_accel_blacklist_update_regexp() 172 *p++ = ')'; in zend_accel_blacklist_update_regexp() 202 *p++ = '|'; in zend_accel_blacklist_update_regexp() 215 while (p<end) { in zend_accel_blacklist_shutdown() 216 free(p->path); in zend_accel_blacklist_shutdown() [all …]
|
/PHP-8.1/ext/standard/ |
H A D | uuencode.c | 67 unsigned char *p; in php_uuencode() local 88 *p++ = PHP_UU_ENC(len); in php_uuencode() 92 *p++ = PHP_UU_ENC_C2(s); in php_uuencode() 100 *p++ = '\n'; in php_uuencode() 111 *p++ = PHP_UU_ENC_C2(s); in php_uuencode() 117 *p++ = '\n'; in php_uuencode() 120 *p++ = PHP_UU_ENC('\0'); in php_uuencode() 121 *p++ = '\n'; in php_uuencode() 122 *p = '\0'; in php_uuencode() 132 char *p; in php_uudecode() local [all …]
|
H A D | net.c | 190 for (p = pAddresses; p; p = p->Next) { in PHP_FUNCTION() 193 if ((IF_TYPE_ETHERNET_CSMACD != p->IfType) && (IF_TYPE_SOFTWARE_LOOPBACK != p->IfType)) { in PHP_FUNCTION() 199 if (p->Description) { in PHP_FUNCTION() 268 struct ifaddrs *addrs = NULL, *p; in PHP_FUNCTION() 278 for (p = addrs; p; p = p->ifa_next) { in PHP_FUNCTION() 279 zval *iface = zend_hash_str_find(Z_ARR_P(return_value), p->ifa_name, strlen(p->ifa_name)); in PHP_FUNCTION() 285 iface = zend_hash_str_add(Z_ARR_P(return_value), p->ifa_name, strlen(p->ifa_name), &newif); in PHP_FUNCTION() 296 p->ifa_flags, in PHP_FUNCTION() 297 p->ifa_addr, p->ifa_netmask, in PHP_FUNCTION() 298 (p->ifa_flags & IFF_BROADCAST) ? p->ifa_broadaddr : NULL, in PHP_FUNCTION() [all …]
|
H A D | mt_rand.c | 122 uint32_t *p = state; in php_mt_reload() local 126 for (i = N - M; i--; ++p) in php_mt_reload() 127 *p = twist(p[M], p[0], p[1]); in php_mt_reload() 128 for (i = M; --i; ++p) in php_mt_reload() 129 *p = twist(p[M-N], p[0], p[1]); in php_mt_reload() 130 *p = twist(p[M-N], p[0], state[0]); in php_mt_reload() 133 for (i = N - M; i--; ++p) in php_mt_reload() 134 *p = twist_php(p[M], p[0], p[1]); in php_mt_reload() 135 for (i = M; --i; ++p) in php_mt_reload() 136 *p = twist_php(p[M-N], p[0], p[1]); in php_mt_reload() [all …]
|
H A D | crc32.c | 68 crc = __crc32d(crc, *(uint64_t *)p); in crc32_aarch64() 69 p += sizeof(uint64_t); in crc32_aarch64() 73 crc = __crc32w(crc, *(uint32_t *)p); in crc32_aarch64() 74 p += sizeof(uint32_t); in crc32_aarch64() 79 p += sizeof(uint16_t); in crc32_aarch64() 83 crc = __crc32b(crc, *p); in crc32_aarch64() 96 crc = crc32_aarch64(crc, p, nr); in php_crc32_bulk_update() 104 p += nr_simd; in php_crc32_bulk_update() 108 for (; nr--; ++p) { in php_crc32_bulk_update() 139 char *p; in PHP_FUNCTION() local [all …]
|
/PHP-8.1/ext/dom/tests/ |
H A D | bug70001.phpt | 7 $element = new DOMText('<p>foo & bar</p>'); 9 $element = (new DOMDocument())->createTextNode('<p>foo & bar</p>'); 11 $element->textContent = ('<p>foo & bar</p>'); 15 string(16) "<p>foo & bar</p>" 16 string(16) "<p>foo & bar</p>" 17 string(16) "<p>foo & bar</p>"
|
H A D | gh11625.phpt | 31 $fragment->appendXML("<p>Hi $i!</p>"); 39 $fragment->appendXML("<p>Hi $i!</p>"); 54 <p>Hi 0!</p><div></div> 57 <p>Hi 0!</p><p>Hi 1!</p> 61 <p>Hi 0!</p><x></x>hello<div></div> 64 <p>Hi 0!</p><x></x>hello<p>Hi 1!</p><x></x>hello
|
/PHP-8.1/ext/opcache/jit/ |
H A D | zend_jit_gdb.c | 200 uint8_t *p = ctx->p; in zend_gdbjit_strz() local 205 ctx->p = p; in zend_gdbjit_strz() 212 uint8_t *p = ctx->p; in zend_gdbjit_uleb128() local 216 ctx->p = p; in zend_gdbjit_uleb128() 222 uint8_t *p = ctx->p; in zend_gdbjit_sleb128() local 226 ctx->p = p; in zend_gdbjit_sleb128() 309 uint8_t *p = ctx->p; in zend_gdbjit_ehframe() local 360 ctx->p = p; in zend_gdbjit_ehframe() 379 ctx->p = p; in zend_gdbjit_debuginfo() 401 ctx->p = p; in zend_gdbjit_debugabbrev() [all …]
|
/PHP-8.1/Zend/ |
H A D | zend_hash.c | 299 p++; in zend_new_pair() 424 p--; in zend_hash_discard() 728 if (p->h == h && !p->key) { in zend_hash_index_find_bucket() 1165 return (p == b) ? &p->val : NULL; in zend_hash_set_bucket_key() 1583 if ((p->h == h) && (p->key == NULL)) { in zend_hash_index_del() 1848 p--; in zend_hash_graceful_reverse_destroy() 2290 return p ? &p->val : NULL; in zend_hash_find() 2300 return p ? &p->val : NULL; in zend_hash_find_known_hash() 2312 return p ? &p->val : NULL; in zend_hash_str_find() 2332 return p ? &p->val : NULL; in zend_hash_index_find() [all …]
|
/PHP-8.1/ext/mysqlnd/ |
H A D | mysqlnd_wireprotocol.c | 218 ++p; in php_mysqlnd_read_error_from_line() 356 p++; in php_mysqlnd_greet_read() 386 p+=4; in php_mysqlnd_greet_read() 394 p++; in php_mysqlnd_greet_read() 403 p++; in php_mysqlnd_greet_read() 427 p--; in php_mysqlnd_greet_read() 541 p++; in php_mysqlnd_auth_write() 703 p++; in php_mysqlnd_auth_response_read() 867 p++; in php_mysqlnd_ok_read() 960 p++; in php_mysqlnd_eof_read() [all …]
|
/PHP-8.1/ext/session/tests/ |
H A D | bug74892.phpt | 17 <p><a href="index.php">Click This Anchor Tag!</a></p> 18 <p><a href="index.php#place">External link with anchor</a></p> 19 <p><a href="http://php.net#foo">External link with anchor 2</a></p> 20 <p><a href="#place">Internal link</a></p> 22 <p><a href="index.php?PHPSESSID=sessionidhere">Click This Anchor Tag!</a></p> 23 <p><a href="index.php?PHPSESSID=sessionidhere#place">External link with anchor</a></p> 24 <p><a href="http://php.net?PHPSESSID=sessionidhere#foo">External link with anchor 2</a></p> 25 <p><a href="#place">Internal link</a></p>
|
/PHP-8.1/ext/filter/ |
H A D | filter_private.h | 107 #define PHP_FILTER_TRIM_DEFAULT(p, len) PHP_FILTER_TRIM_DEFAULT_EX(p, len, 1); argument 109 #define PHP_FILTER_TRIM_DEFAULT_EX(p, len, return_if_empty) { \ argument 110 while ((len > 0) && (*p == ' ' || *p == '\t' || *p == '\r' || *p == '\v' || *p == '\n')) { \ 111 p++; \ 118 …while (p[len-1] == ' ' || p[len-1] == '\t' || p[len-1] == '\r' || p[len-1] == '\v' || p[len-1] == …
|
/PHP-8.1/ext/pcre/tests/ |
H A D | recursion_limit.phpt | 5 if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) { 6 die("skip no support for \p support PCRE library"); 15 var_dump(preg_match_all('/\p{Ll}(\p{L}((\p{Ll}\p{Ll})))/', 'aeiou', $dummy)); 18 var_dump(preg_match_all('/\p{Ll}\p{L}\p{Ll}\p{Ll}/', 'aeiou', $dummy));
|
/PHP-8.1/ext/spl/tests/ |
H A D | bug45622.phpt | 14 var_dump(isset($ao->p)); 15 var_dump($ao->p); 18 unset($ao->p); 19 var_dump(isset($ao->p)); 20 var_dump($ao->p); 23 unset($ao->p); 24 var_dump(isset($ao->p)); 25 var_dump($ao->p); 28 $ao->p = 'object property'; 29 var_dump(isset($ao->p)); [all …]
|
/PHP-8.1/ext/phar/tests/tar/ |
H A D | phar_begin_setstub_commit.phpt | 10 var_dump($p->isFileFormat(Phar::TAR)); 11 //var_dump($p->getStub()); 12 var_dump($p->isBuffering()); 13 $p->startBuffering(); 14 var_dump($p->isBuffering()); 15 $p['a.php'] = '<?php var_dump("Hello");'; 18 var_dump($p->getStub()); 22 var_dump($p->getStub()); 23 $p->stopBuffering(); 25 var_dump($p->isBuffering()); [all …]
|
/PHP-8.1/tests/classes/ |
H A D | property_override_private_private.phpt | 7 private $p = "A::p"; 10 echo $this->p . "\n"; 16 private $p = "B::p"; 19 echo $this->p . "\n"; 32 A::p 33 A::p 34 B::p
|
H A D | property_override_private_protected.phpt | 7 private $p = "A::p"; 10 echo $this->p . "\n"; 16 protected $p = "B::p"; 19 echo $this->p . "\n"; 32 A::p 33 A::p 34 B::p
|
H A D | property_override_private_public.phpt | 7 private $p = "A::p"; 10 echo $this->p . "\n"; 16 public $p = "B::p"; 19 echo $this->p . "\n"; 32 A::p 33 A::p 34 B::p
|