Home
last modified time | relevance | path

Searched refs:p (Results 176 – 200 of 906) sorted by relevance

12345678910>>...37

/php-src/ext/standard/
H A Dphp_fopen_wrapper.c151 char *p, *token = NULL; in php_stream_apply_filter_list() local
155 while (p) { in php_stream_apply_filter_list()
156 php_url_decode(p, strlen(p)); in php_stream_apply_filter_list()
171 p = php_strtok_r(NULL, "|", &token); in php_stream_apply_filter_list()
182 char *p, *token = NULL, *pathdup; in php_stream_url_wrap_php() local
348 p = strstr(pathdup, "/resource="); in php_stream_url_wrap_php()
349 if (!p) { in php_stream_url_wrap_php()
360 *p = '\0'; in php_stream_url_wrap_php()
363 while (p) { in php_stream_url_wrap_php()
364 if (!strncasecmp(p, "read=", 5)) { in php_stream_url_wrap_php()
[all …]
H A Dvar_unserializer.re341 if (**p >= '0' && **p <= '9') {
343 } else if (**p >= 'a' && **p <= 'f') {
345 } else if (**p >= 'A' && **p <= 'F') {
402 p++;
404 p++;
408 p++;
413 while (*p >= '0' && *p <= '9') {
415 p++;
727 if (*p >= max || **p != '}') {
739 datalen = parse_iv2((*p) + 2, p);
[all …]
/php-src/ext/dom/tests/
H A Dbug28721.phpt55 $p = $xml->createElement("p");
63 print_node_r($p);
65 echo "\nAppend t1 to p:\n";
68 print_node_r($p);
100 print_node_r($p);
105 $p->appendChild($frag);
107 print_node_r($p);
118 print_node_r($p);
152 Append t1 to p:
251 p:
[all …]
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_arm64.lua637 p[4] = "#("..p[3]:sub(2)..")+("..p[4]:sub(2)..")-1"
643 p[3] = "#(32-("..p[3]:sub(2).."))%32"
644 p[4] = "#("..p[4]:sub(2)..")-1"
646 p[3] = "#(64-("..p[3]:sub(2).."))%64"
647 p[4] = "#("..p[4]:sub(2)..")-1"
653 local sh = p[3]:sub(2)
918 if p == "D" then
920 elseif p == "N" then
922 elseif p == "M" then
945 elseif p == "x" or p == "w" or p == "d" or p == "s" or p == "q" then
[all …]
H A Ddasm_proto.h29 #define DASM_M_GROW(ctx, t, p, sz, need) \ argument
35 (p) = (t *)realloc((p), _sz); \
36 if ((p) == NULL) exit(1); \
43 #define DASM_M_FREE(ctx, p, sz) free(p) argument
/php-src/ext/phar/tests/cache_list/files/
H A Dwrite17.phar2 $p = new Phar(__FILE__);
3 var_dump($p->getMetadata());
4 $p->setMetadata("hi");
5 var_dump($p->getMetadata());
H A Dwrite15.phar2 $p = new Phar(__FILE__);
3 var_dump(isset($p["copied"]));
4 $p->copy("test.txt","copied");
5 var_dump(isset($p["copied"]));
H A Dwrite12.phar2 $p = new Phar(__FILE__);
3 var_dump($p->getSignature());
5 $p->setSignatureAlgorithm(Phar::MD5);
6 var_dump($p->getSignature());
H A Dwrite21.phar2 $p = new Phar(__FILE__);
3 var_dump($p["test.txt"]->isCompressed());
4 $p["test.txt"]->compress(Phar::GZ);
5 var_dump($p["test.txt"]->isCompressed());
/php-src/ext/standard/tests/strings/
H A Dstrip_tags_array.phpt6 $string = '<p>foo <b>bar</b> <a href="#">foobar</a></p>';
9 var_dump(strip_tags($string, ['p', 'a']));
11 var_dump(strip_tags($string, ['p' => true, 'a' => false]));
12 var_dump(strip_tags($string, ['p' => 'a']));
24 string(37) "<p>foo bar <a href="#">foobar</a></p>"
/php-src/ext/reflection/tests/
H A DReflectionProperty_constructor_variation1.phpt7 private $p = 1;
11 $rp = new ReflectionProperty("D", "p");
22 $rp = new ReflectionProperty("D", "p");
32 $rp = new ReflectionProperty("D", "p");
49 Property D::$p does not exist
52 Property D::$p does not exist
55 Property D::$p does not exist
58 Property D::$p does not exist
/php-src/ext/dom/tests/modern/html/parser/
H A DHTMLDocument_fromString_LIBXML_HTML_NOIMPLIED_namespace.phpt15 $dom = Dom\HTMLDocument::createFromString("<p>foo</p>", LIBXML_HTML_NOIMPLIED | LIBXML_NOERROR);
22 $dom = Dom\HTMLDocument::createFromString("<p>foo</p><strong>bar</strong>", LIBXML_HTML_NOIMPLIED |…
36 <p xmlns="http://www.w3.org/1999/xhtml">foo</p>
41 <p xmlns="http://www.w3.org/1999/xhtml">foo</p><strong xmlns="http://www.w3.org/1999/xhtml">bar</st…
/php-src/tests/classes/
H A Dproperty_recreate_private.phpt6 private $p = 'test';
8 unset($this->p);
11 $this->p = 'changed';
18 $this->p = 'changed in D';
37 $d->p = 'this will create a public property';
50 $c->p = 'this will fail';
57 ["p":"C":private]=>
63 ["p"]=>
69 ["p"]=>
76 ["p":"C":private]=>
[all …]
H A Dproperty_recreate_protected.phpt6 protected $p = 'test';
8 unset($this->p);
11 $this->p = 'changed';
17 $this->p = 'changed in D';
35 $d->p = 'this will fail';
41 ["p":protected]=>
47 ["p":protected]=>
53 Fatal error: Uncaught Error: Cannot access protected property %s::$p in %s:32
/php-src/ext/tidy/tests/
H A D018.phpt7 $x = tidy_repair_string("<p>abra\0cadabra</p>",
15 string(19) "<p>abracadabra</p>
/php-src/TSRM/
H A DTSRM.c200 while (p) { in tsrm_shutdown()
208 free(p); in tsrm_shutdown()
209 p = next_p; in tsrm_shutdown()
253 while (p) { in tsrm_update_active_threads()
270 p = p->next; in tsrm_update_active_threads()
556 while (p) { in ts_free_id()
557 if (p->count > rsrc_id && p->storage[rsrc_id]) { in ts_free_id()
568 p = p->next; in ts_free_id()
589 while (p) { in ts_apply_for_id()
590 if (p->count > rsrc_id && p->storage[rsrc_id]) { in ts_apply_for_id()
[all …]
/php-src/ext/standard/tests/file/
H A Dbug39538.phpt5 …", \"next data\", \"p\narsed\"","\"\r\nthis is an test\", \"next data\", \"p\r\narsed\"","\"\n\rth…
21 [2] => p
29 [2] => p
38 [2] => p
/php-src/ext/hash/murmur/
H A Dendianness.h65 FORCE_INLINE uint32_t getblock32 ( const uint32_t * const p, const int i) in getblock32() argument
68 return BSWAP32(p[i]); in getblock32()
70 return p[i]; in getblock32()
75 FORCE_INLINE uint64_t getblock64 ( const uint64_t * const p, const int i) in getblock64() argument
78 return BSWAP64(p[i]); in getblock64()
80 return p[i]; in getblock64()
/php-src/ext/dom/tests/compareDocumentPosition/
H A Dequal.phpt12 <p>foo</p>
13 <p>foo</p>
18 $nodes = $xpath->query('//p');
/php-src/ext/spl/tests/
H A DarrayObject_clone_basic3.phpt8 public $p = 'C::p.orig';
28 ["p"]=>
29 string(9) "C::p.orig"
42 ["p"]=>
43 string(9) "C::p.orig"
59 ["p"]=>
60 string(9) "C::p.orig"
75 ["p"]=>
76 string(9) "C::p.orig"
/php-src/Zend/tests/
H A Dbug34893.phpt6 private $p;
25 $a->p = $b;
28 echo $a->p->t;
29 $a->p->t = "bar";
30 echo $a->p->t;
/php-src/sapi/phpdbg/
H A Dphpdbg_io.c85 const char *p = ptr, *endp = ptr + len; in phpdbg_output_pager() local
87 while ((p = memchr(p, '\n', endp - p))) { in phpdbg_output_pager()
89 p++; in phpdbg_output_pager()
92 bytes += write(fd, ptr + bytes, (p - ptr) - bytes); in phpdbg_output_pager()
94 if (memchr(p, '\n', endp - p)) { in phpdbg_output_pager()
/php-src/ext/dom/tests/modern/html/serializer/
H A DHTMLDocument_serialize_ns_imported_06.phpt14 $html = Dom\HTMLDocument::createFromString('<p>foo</p>', LIBXML_NOERROR);
16 $p = $html->documentElement->firstElementChild->nextElementSibling->firstElementChild;
17 $p->appendChild($html->adoptNode($xml->documentElement->firstElementChild->cloneNode(true)));
38 <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><p>foo<x xmlns="some:ns">
46 <child xmlns="some:ns2"/></x></p></body></html>
47 <html><head></head><body><p>foo<x>
55 <child></child></x></p></body></html>
H A DHTMLDocument_serialize_ns_imported_01.phpt15 $html = Dom\HTMLDocument::createFromString('<p>foo</p>', LIBXML_NOERROR);
17 $p = $html->documentElement->firstChild->nextSibling->firstChild;
18 $p->appendChild($html->importNode($xml->documentElement, true));
29 …d><body><p>foo<container xmlns="some:ns" xmlns:bar="another:ns" xmlns:foo="http://foo/" foo:bar="v…
30 <html><head></head><body><p>foo<container xmlns="some:ns" xmlns:bar="another:ns" foo:bar="value"><c…
/php-src/ext/dom/tests/modern/spec/
H A DDocument_getElementsByTagNameNS.phpt17 <p>Hello World</p>
23 $body->appendChild(createElementNS($dom, NULL, "p", "content 1"));
24 $body->appendChild(createElementNS($dom, "", "p", "content 2"));
39 dump($dom, 'http://www.w3.org/1999/xhtml', 'p');
40 dump($dom, '*', 'p');
49 --- ("http://www.w3.org/1999/xhtml", "p"): 1 ---
52 --- ("*", "p"): 3 ---

Completed in 50 milliseconds

12345678910>>...37