/php-src/ext/hash/murmur/ |
H A D | endianness.h | 65 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/phar/tests/cache_list/files/ |
H A D | write15.phar | 2 $p = new Phar(__FILE__); 3 var_dump(isset($p["copied"])); 4 $p->copy("test.txt","copied"); 5 var_dump(isset($p["copied"]));
|
H A D | write12.phar | 2 $p = new Phar(__FILE__); 3 var_dump($p->getSignature()); 5 $p->setSignatureAlgorithm(Phar::MD5); 6 var_dump($p->getSignature());
|
H A D | write21.phar | 2 $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());
|
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��_…
|
/php-src/Zend/tests/ |
H A D | bug34893.phpt | 6 private $p; 25 $a->p = $b; 28 echo $a->p->t; 29 $a->p->t = "bar"; 30 echo $a->p->t;
|
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/ext/spl/tests/ |
H A D | arrayObject_clone_basic3.phpt | 8 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/tests/classes/ |
H A D | property_recreate_protected.phpt | 6 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/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_serialize_ns_imported_06.phpt | 14 $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 D | HTMLDocument_serialize_ns_imported_01.phpt | 15 $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 D | Document_getElementsByTagNameNS.phpt | 17 <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 ---
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_io.c | 85 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/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/opcache/ |
H A D | zend_persist_calc.c | 129 Bucket *p; in zend_persist_zval_calc() local 132 if (p->key) { in zend_persist_zval_calc() 231 Bucket *p; in zend_persist_op_array_calc_ex() local 245 zval *p = op_array->literals; in zend_persist_op_array_calc_ex() local 248 while (p < end) { in zend_persist_op_array_calc_ex() 249 zend_persist_zval_calc(p); in zend_persist_op_array_calc_ex() 250 p++; in zend_persist_op_array_calc_ex() 421 Bucket *p; in zend_persist_class_entry_calc() local 573 Bucket *p; in zend_accel_persist_class_table_calc() local 577 ZEND_ASSERT(p->key != NULL); in zend_accel_persist_class_table_calc() [all …]
|
/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)"));
|
/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/standard/ |
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()
|