/php-src/ext/standard/ |
H A D | http_fopen_wrapper.c | 268 while (*p != 0 && *p != ':' && *p != '\r' && *p !='\n') p++; in php_stream_url_wrap_http_ex() 274 while (*p != 0 && *p != '\r' && *p !='\n') p++; in php_stream_url_wrap_http_ex() 279 while (*p != 0 && *p != '\r' && *p !='\n') p++; in php_stream_url_wrap_http_ex() 291 p = s; in php_stream_url_wrap_http_ex() 292 while (*p != 0 && *p != ':' && *p != '\r' && *p !='\n') p++; in php_stream_url_wrap_http_ex() 294 p++; in php_stream_url_wrap_http_ex() 298 while (*p != 0 && *p != '\r' && *p !='\n') p++; in php_stream_url_wrap_http_ex() 303 while (*p != 0 && *p != '\r' && *p !='\n') p++; in php_stream_url_wrap_http_ex() 306 s = p; in php_stream_url_wrap_http_ex() 498 while (*p != 0 && *p != '\r' && *p != '\n') p++; in php_stream_url_wrap_http_ex() [all …]
|
H A D | versioning.c | 32 const char *p; in php_canonicalize_version() local 39 p = version; in php_canonicalize_version() 41 *q++ = lp = *p++; in php_canonicalize_version() 43 while (*p) { in php_canonicalize_version() 53 if (isspecialver(*p)) { in php_canonicalize_version() 57 } else if ((isndig(lp) && isdig(*p)) || (isdig(lp) && isndig(*p))) { in php_canonicalize_version() 61 *q++ = *p; in php_canonicalize_version() 62 } else if (!isalnum(*p)) { in php_canonicalize_version() 67 *q++ = *p; in php_canonicalize_version() 69 lp = *p++; in php_canonicalize_version()
|
/php-src/ext/phar/tests/cache_list/files/ |
H A D | write19.phar | 2 $p = new Phar(__FILE__); 3 var_dump($p["test.txt"]->getMetadata()); 4 $p["test.txt"]->setMetadata("hi2"); 5 var_dump($p["test.txt"]->getMetadata());
|
H A D | write20.phar | 2 $p = new Phar(__FILE__); 3 var_dump($p["test.txt"]->getMetadata()); 4 $p["test.txt"]->delMetadata(); 5 var_dump($p["test.txt"]->getMetadata());
|
H A D | write13.phar | 2 $p = new Phar(__FILE__); 3 var_dump($p["test.txt"]->isCompressed()); 5 $p->compressFiles(Phar::GZ); 6 var_dump($p["test.txt"]->isCompressed());
|
H A D | write17.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump($p->getMetadata()); 10 $p->setMetadata("hi"); 11 var_dump($p->getMetadata());
|
H A D | write25.phar | 2 $p = new Phar(__FILE__); 3 var_dump(isset($p["mounted"])); 5 var_dump(isset($p["mounted"])); 6 echo $p["mounted"]->getContent(),"\nok\n";
|
H A D | write16.phar | 2 $p = new Phar(__FILE__); 3 var_dump(isset($p["test.txt"])); 4 unset($p["test.txt"]); 5 var_dump(isset($p["test.txt"]));
|
H A D | write24.phar | 2 $p = new Phar(__FILE__); 3 var_dump(isset($p["newname"])); 7 var_dump(isset($p["newname"])); 10 6test.txtqUX���E�<?php __HALT_COMPILER();��@�p��b�PZ��_…
|
H A D | write12.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump($p->getSignature()); 11 $p->setSignatureAlgorithm(Phar::MD5); 12 var_dump($p->getSignature());
|
H A D | write15.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump(isset($p["copied"])); 10 $p->copy("test.txt","copied"); 11 var_dump(isset($p["copied"]));
|
/php-src/ext/phar/tests/tar/ |
H A D | phar_magic.phpt | 11 $p = new Phar($fname); 12 var_dump($p->isFileFormat(Phar::TAR)); 13 $p['a'] = '<?php include "b/c.php";' . "\n"; 14 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("a", "r", true);echo stream_get_contents($a);fclose… 15 $p['d'] = "in d\n"; 16 $p->setStub('<?php
|
/php-src/ext/dom/tests/ |
H A D | xpath_evaluate_basic_types.phpt | 9 $dom->loadHTML('<p align="center">foo</p>'); 11 var_dump($xpath->evaluate("count(//p) > 0")); 12 var_dump($xpath->evaluate("string(//p/@align)"));
|
H A D | gh9142.phpt | 13 $var->replaceWith($dom->createElement('p', $var->nodeValue)); 21 <html><body><p>One</p><p>Two</p></body></html>
|
H A D | DOMNode_DOMNameSpaceNode_parentElement.phpt | 33 $p = $fragment->appendChild($dom->createElement('p')); 35 var_dump(get_class($p->parentNode)); 36 var_dump($p->parentElement); 40 var_dump($p->parentNode->localName); 41 var_dump($p->parentElement->localName);
|
/php-src/ext/dom/tests/modern/html/parser/ |
H A D | HTMLDocument_fromString_without_body.phpt | 8 $dom = Dom\HTMLDocument::createFromString('<!doctype html><p align="\'">foo '</p>'); 13 <!DOCTYPE html><html><head></head><body><p align="'">foo '</p></body></html>
|
/php-src/ext/phar/tests/ |
H A D | phar_copy.phpt | 19 $p = new Phar($fname); 23 $p['a'] = 'hi'; 24 $p->startBuffering(); 25 $p->copy('a', 'b'); 26 echo file_get_contents($p['b']->getPathName()); 27 $p['a']->compress(Phar::GZ); 28 $p['b']->setMetadata('a'); 29 $p->copy('b', 'c'); 30 $p->stopBuffering(); 31 echo file_get_contents($p['c']->getPathName()); [all …]
|
/php-src/ext/filter/ |
H A D | logical_filters.c | 206 char *p; in php_filter_int() local 234 p++; len--; in php_filter_int() 235 if (allow_hex && (*p == 'x' || *p == 'X')) { in php_filter_int() 236 p++; len--; in php_filter_int() 245 if (*p == 'o' || *p == 'O') { in php_filter_int() 246 p++; len--; in php_filter_int() 443 *p = 0; in php_filter_float() 572 if (isalpha(*p) || isdigit(*p) || strchr(valid, *p)) { in is_userinfo_valid() 573 p++; in is_userinfo_valid() 574 …} else if (*p == '%' && p - ZSTR_VAL(str) <= ZSTR_LEN(str) - 3 && isdigit(*(p+1)) && isxdigit(*(p+… in is_userinfo_valid() [all …]
|
/php-src/Zend/tests/ |
H A D | exception_014.phpt | 6 private $p = 0; 11 var_dump($x->p); 16 var_dump($x->p); 19 Exception: Cannot access private property C::$p in %sexception_014.php on line %d 21 Fatal error: Uncaught Error: Cannot access private property C::$p in %sexception_014.php:%d
|
/php-src/win32/ |
H A D | glob.c | 348 const Char *p; in globtilde() local 357 h < (char *)eb && *p && *p != SLASH; *h++ = (char) *p++) in globtilde() 532 Char *p, *q; in glob2() local 561 p = pattern; in glob2() 562 while (*p != EOS && !IS_SLASH(*p)) { in glob2() 567 *q++ = *p++; in glob2() 572 pattern = p; in glob2() 703 for (p = path; *p++;) in globextend() 857 for (p = s; *p; p++) in qprintf() 860 for (p = s; *p; p++) in qprintf() [all …]
|
/php-src/ext/tidy/tests/ |
H A D | 026.phpt | 15 echo '<p>xpto</p>'; 26 <p>xpto</p>
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_dump.c | 30 for (j = 1, p = insn->ops + 1; j <= 3; j++, p++) { in ir_dump() 31 ref = *p; in ir_dump() 43 ref = *p; in ir_dump() 104 for (j = 1, p = insn->ops + 1; j <= n; j++, p++) { in ir_dump_dot() 105 ref = *p; in ir_dump_dot() 154 p++; in ir_dump_use_lists() 397 p = p->next; in ir_dump_live_ranges() 402 p = p->next; in ir_dump_live_ranges() 464 p = p->next; in ir_dump_live_ranges() 469 p = p->next; in ir_dump_live_ranges() [all …]
|
/php-src/sapi/litespeed/ |
H A D | lsapilib.c | 261 p += snprintf(p, 1024, "%02d:%02d:%02d ", in LSAPI_Log() 570 if ( !p ) in allocateIovec() 583 if ( !p ) in allocateRespHeaderBuf() 687 b = p[0]; in swapIntEndian() 688 p[0] = p[3]; in swapIntEndian() 689 p[3] = b; in swapIntEndian() 691 p[1] = p[2]; in swapIntEndian() 722 p[0] = p[1]; in fixHeaderIndexEndian() 3858 if (( !p )||( readSecret(p) == -1 )) in lsapi_initSuEXEC() 3968 if (p) in LSAPI_Init_Env_Parameters() [all …]
|
/php-src/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_serialize_ns_imported_02.phpt | 14 $html = Dom\HTMLDocument::createFromString('<p>foo</p>', LIBXML_NOERROR); 16 $p = $html->documentElement->firstChild->nextSibling->firstChild; 17 $p->appendChild($html->importNode($xml->documentElement, true)); 38 <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><p>foo<container xmlns="some:ns" xmln… 48 <child xmlns="some:ns2"/></container></p></body></html> 49 <html><head></head><body><p>foo<container xmlns="some:ns" xmlns:bar="another:ns"> 59 <child></child></container></p></body></html>
|
H A D | HTMLDocument_serialize_ns_imported_05.phpt | 14 $html = Dom\HTMLDocument::createFromString('<p>foo</p>', LIBXML_NOERROR); 16 $p = $html->documentElement->firstChild->nextSibling->firstChild; 17 $p->appendChild($html->adoptNode($xml->documentElement)); 38 <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><p>foo<container xmlns="some:ns" xmln… 48 <child xmlns="some:ns2"/></container></p></body></html> 49 <html><head></head><body><p>foo<container xmlns="some:ns" xmlns:bar="another:ns"> 59 <child></child></container></p></body></html>
|