/PHP-8.2/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.2/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.2/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.2/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.2/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_IEEE80211 != p->IfType) && (IF_TYPE_SOFTWAR… 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 …]
|
/PHP-8.2/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.2/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() 402 ctx->p = p; in zend_gdbjit_debugabbrev() [all …]
|
/PHP-8.2/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.2/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.2/ext/opcache/ |
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.2/ext/filter/ |
H A D | filter_private.h | 108 #define PHP_FILTER_TRIM_DEFAULT(p, len) PHP_FILTER_TRIM_DEFAULT_EX(p, len, 1); argument 110 #define PHP_FILTER_TRIM_DEFAULT_EX(p, len, return_if_empty) { \ argument 111 while ((len > 0) && (*p == ' ' || *p == '\t' || *p == '\r' || *p == '\v' || *p == '\n')) { \ 112 p++; \ 119 …while (p[len-1] == ' ' || p[len-1] == '\t' || p[len-1] == '\r' || p[len-1] == '\v' || p[len-1] == …
|
/PHP-8.2/Zend/ |
H A D | zend_hash.c | 436 p--; in zend_hash_discard() 741 if (p->h == h && !p->key) { in zend_hash_index_find_bucket() 1184 return (p == b) ? &p->val : NULL; in zend_hash_set_bucket_key() 1283 p++; in zend_hash_rehash() 1341 p++; in zend_hash_rehash() 1655 if ((p->h == h) && (p->key == NULL)) { in zend_hash_index_del() 2566 return p ? &p->val : NULL; in zend_hash_find() 2576 return p ? &p->val : NULL; in zend_hash_find_known_hash() 2588 return p ? &p->val : NULL; in zend_hash_str_find() 2609 return p ? &p->val : NULL; in zend_hash_index_find() [all …]
|
/PHP-8.2/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.2/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.2/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.2/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
|
H A D | property_override_protected_protected.phpt | 7 protected $p = "A::p"; 10 echo $this->p . "\n"; 16 protected $p = "B::p"; 19 echo $this->p . "\n"; 32 A::p 33 B::p 34 B::p
|
H A D | property_override_protected_public.phpt | 7 protected $p = "A::p"; 10 echo $this->p . "\n"; 16 public $p = "B::p"; 19 echo $this->p . "\n"; 32 A::p 33 B::p 34 B::p
|
H A D | property_override_public_public.phpt | 7 public $p = "A::p"; 10 echo $this->p . "\n"; 16 public $p = "B::p"; 19 echo $this->p . "\n"; 32 A::p 33 B::p 34 B::p
|