/PHP-7.4/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-7.4/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-7.4/tests/lang/ |
H A D | engine_assignExecutionOrder_008.phpt | 32 echo $a[$i->p=f()][++$i->p]; 36 echo $a[$i->p->q=f()][++$i->p->q]; 40 echo $a[$i->p[0]=f()][++$i->p[0]]; 43 echo "\n" . '$i->p[0]->p=f(): '; 44 echo $a[$i->p[0]->p=f()][++$i->p[0]->p]; 48 static $p; 52 echo $a[C::$p=f()][++C::$p]; 56 echo $a[C::$p[0]=f()][++C::$p[0]]; 60 echo $a[C::$p->q=f()][++C::$p->q]; 68 $i->p=f(): [all …]
|
/PHP-7.4/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-7.4/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>"
|
/PHP-7.4/ext/standard/ |
H A D | uuencode.c | 89 *p++ = PHP_UU_ENC(len); in php_uuencode() 93 *p++ = PHP_UU_ENC_C2(s); in php_uuencode() 94 *p++ = PHP_UU_ENC_C3(s); in php_uuencode() 101 *p++ = '\n'; in php_uuencode() 112 *p++ = PHP_UU_ENC_C2(s); in php_uuencode() 118 *p++ = '\n'; in php_uuencode() 121 *p++ = PHP_UU_ENC('\0'); in php_uuencode() 122 *p++ = '\n'; in php_uuencode() 123 *p = '\0'; in php_uuencode() 133 char *s, *e, *p, *ee; in php_uudecode() local [all …]
|
H A D | crc32.c | 51 crc = __crc32d(crc, *(uint64_t *)p); in crc32_aarch64() 52 p += sizeof(uint64_t); in crc32_aarch64() 56 crc = __crc32w(crc, *(uint32_t *)p); in crc32_aarch64() 57 p += sizeof(uint32_t); in crc32_aarch64() 61 crc = __crc32h(crc, *(uint16_t *)p); in crc32_aarch64() 62 p += sizeof(uint16_t); in crc32_aarch64() 66 crc = __crc32b(crc, *p); in crc32_aarch64() 77 char *p; in PHP_NAMED_FUNCTION() local 83 Z_PARAM_STRING(p, nr) in PHP_NAMED_FUNCTION() 90 crc = crc32_aarch64(crc, p, nr); in PHP_NAMED_FUNCTION() [all …]
|
H A D | net.c | 188 for (p = pAddresses; p; p = p->Next) { in PHP_FUNCTION() 191 if ((IF_TYPE_ETHERNET_CSMACD != p->IfType) && (IF_TYPE_SOFTWARE_LOOPBACK != p->IfType)) { in PHP_FUNCTION() 197 if (p->Description) { in PHP_FUNCTION() 266 struct ifaddrs *addrs = NULL, *p; in PHP_FUNCTION() 276 for (p = addrs; p; p = p->ifa_next) { in PHP_FUNCTION() 277 zval *iface = zend_hash_str_find(Z_ARR_P(return_value), p->ifa_name, strlen(p->ifa_name)); in PHP_FUNCTION() 283 iface = zend_hash_str_add(Z_ARR_P(return_value), p->ifa_name, strlen(p->ifa_name), &newif); in PHP_FUNCTION() 294 p->ifa_flags, in PHP_FUNCTION() 295 p->ifa_addr, p->ifa_netmask, in PHP_FUNCTION() 296 (p->ifa_flags & IFF_BROADCAST) ? p->ifa_broadaddr : NULL, in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/session/tests/ |
H A D | bug74892.phpt | 15 <p><a href="index.php">Click This Anchor Tag!</a></p> 16 <p><a href="index.php#place">External link with anchor</a></p> 17 <p><a href="http://php.net#foo">External link with anchor 2</a></p> 18 <p><a href="#place">Internal link</a></p> 21 <p><a href="index.php?PHPSESSID=sessionidhere">Click This Anchor Tag!</a></p> 22 <p><a href="index.php?PHPSESSID=sessionidhere#place">External link with anchor</a></p> 23 <p><a href="http://php.net?PHPSESSID=sessionidhere#foo">External link with anchor 2</a></p> 24 <p><a href="#place">Internal link</a></p>
|
/PHP-7.4/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-7.4/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() 212 while (p<end) { in zend_accel_blacklist_shutdown() 213 free(p->path); in zend_accel_blacklist_shutdown() [all …]
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_wireprotocol.c | 219 ++p; in php_mysqlnd_read_error_from_line() 356 p++; in php_mysqlnd_greet_read() 380 p+=4; in php_mysqlnd_greet_read() 388 p++; in php_mysqlnd_greet_read() 397 p++; in php_mysqlnd_greet_read() 421 p--; in php_mysqlnd_greet_read() 512 p++; in php_mysqlnd_auth_write() 537 ++p; in php_mysqlnd_auth_write() 674 p++; in php_mysqlnd_auth_response_read() 831 p++; in php_mysqlnd_ok_read() [all …]
|
/PHP-7.4/Zend/ |
H A D | zend_hash.c | 274 p++; in zend_new_pair() 390 p--; in zend_hash_discard() 693 if (p->h == h && !p->key) { in zend_hash_index_find_bucket() 1098 return (p == b) ? &p->val : NULL; in zend_hash_set_bucket_key() 1515 if ((p->h == h) && (p->key == NULL)) { in zend_hash_index_del() 1780 p--; in zend_hash_graceful_reverse_destroy() 2222 return p ? &p->val : NULL; in zend_hash_find() 2232 return p ? &p->val : NULL; in _zend_hash_find_known_hash() 2244 return p ? &p->val : NULL; in zend_hash_str_find() 2264 return p ? &p->val : NULL; in zend_hash_index_find() [all …]
|
/PHP-7.4/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-7.4/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_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_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
|
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_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_privateStatic_private.phpt | 7 private static $p = "A::p (static)"; 10 echo self::$p . "\n"; 16 private $p = "B::p"; 19 echo $this->p . "\n"; 31 A::p (static) 32 A::p (static) 33 B::p
|
H A D | property_override_privateStatic_privateStatic.phpt | 7 private static $p = "A::p (static)"; 10 echo self::$p . "\n"; 16 private static $p = "B::p (static)"; 19 echo self::$p . "\n"; 30 A::p (static) 31 A::p (static) 32 B::p (static)
|
H A D | property_override_privateStatic_protected.phpt | 7 private static $p = "A::p (static)"; 10 echo self::$p . "\n"; 16 protected $p = "B::p"; 19 echo $this->p . "\n"; 31 A::p (static) 32 A::p (static) 33 B::p
|