/php-src/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_serialize_text_01.phpt | 8 $dom = Dom\HTMLDocument::createFromString("<p></p>", LIBXML_NOERROR); 9 $p = $dom->documentElement->firstChild->nextSibling->firstChild; 10 $p->textContent = "this is <some> &text! \"\""; 15 <html><head></head><body><p>this is <some> &text! ""</p></body></html>
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | dasm_ppc.lua | 318 p[4] = "0"; p[5] = "31" 321 p[3] = "32-("..p[3]..")"; p[4] = "0"; p[5] = "31" 324 p[4] = "0"; p[5] = "31" 327 p[5] = "31-("..p[3]..")"; p[4] = "0" 330 p[4] = p[3]; p[3] = "32-("..p[3]..")"; p[5] = "31" 333 p[4] = p[3]; p[3] = "0"; p[5] = "31" 336 p[5] = "31-("..p[3]..")"; p[3] = "0"; p[4] = "0" 834 p[3] = "64-("..p[3]..")"; p[4] = "0" 843 p[4] = p[3]; p[3] = "64-("..p[3]..")" 846 p[4] = p[3]; p[3] = "0" [all …]
|
H A D | dasm_x86.h | 189 action = *p++; in dasm_put() 208 if (*p < 0x40 && p[1] == DASM_DISP) mrm = n; in dasm_put() 313 int action = *p++; in dasm_link() 316 action = *p++; in dasm_link() 416 action = *p++; in dasm_encode() 422 n = *p++; in dasm_encode() 425 case DASM_EXTERN: n = DASM_EXTERN(Dst, cp, p[1], *p); p += 2; goto wd; in dasm_encode() 435 if (*p != DASM_IMM_DB && *p != DASM_IMM_WB) mark = NULL; in dasm_encode() 451 int t = *p++; in dasm_encode() 485 p++; in dasm_encode() [all …]
|
/php-src/ext/dom/tests/modern/html/interactions/ |
H A D | noscript.phpt | 10 $dom = Dom\HTMLDocument::createFromString("<!doctype html><html><body><noscript><p>hi</p></noscript… 20 $noscript->textContent = "<p>bye</p>"; 35 <!DOCTYPE html><html><head></head><body><noscript><p>hi</p></noscript></body></html> 38 <html><head/><body><noscript><p>hi</p></noscript></body></html> 40 <!DOCTYPE html><html><head></head><body><noscript><p>bye</p></noscript></body></html> 43 <html><head/><body><noscript><p>bye</p></noscript></body></html>
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 88 Bucket *p, *end; in zend_accel_move_user_functions() local 104 p = end - count; in zend_accel_move_user_functions() 105 for (; p != end; p++) { in zend_accel_move_user_functions() 119 Bucket *p, *end; in zend_accel_move_user_classes() local 135 p = end - count; in zend_accel_move_user_classes() 136 for (; p != end; p++) { in zend_accel_move_user_classes() 151 Bucket *p, *end; in _zend_accel_function_hash_copy() local 157 for (; p != end; p++) { in _zend_accel_function_hash_copy() 164 _zend_hash_append_ptr_ex(target, p->key, Z_PTR(p->val), 1); in _zend_accel_function_hash_copy() 208 for (; p != end; p++) { in _zend_accel_class_hash_copy() [all …]
|
/php-src/ext/phar/tests/tar/ |
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->copy('b', 'c'); 28 $p->stopBuffering(); 29 echo file_get_contents($p['c']->getPathName()); 31 var_dump($p->isFileFormat(Phar::TAR)); 32 $p->copy('a', $ename);
|
/php-src/ext/phar/tests/zip/ |
H A D | phar_copy.phpt | 18 $p = new Phar($fname); 22 $p['a'] = 'hi'; 23 $p->startBuffering(); 24 $p->copy('a', 'b'); 25 echo file_get_contents($p['b']->getPathName()); 26 $p->copy('b', 'c'); 27 $p->stopBuffering(); 28 echo file_get_contents($p['c']->getPathName()); 30 var_dump($p->isFileFormat(Phar::ZIP)); 31 $p->copy('a', $ename);
|
/php-src/ext/opcache/tests/ |
H A D | issue0115.phpt | 18 $p = new Phar(__DIR__ . '/issue0115_1.phar.php', 0, 'this'); 19 $p['index.php'] = '<?php 23 $p['hello.php'] = "Hello World 1!\n"; 24 $p->setStub($stub); 25 unset($p); 26 $p = new Phar(__DIR__ . '/issue0115_2.phar.php', 0, 'this'); 27 $p['index.php'] = '<?php 31 $p['hello.php'] = "Hello World 2!\n"; 32 $p->setStub($stub); 33 unset($p);
|
H A D | bug67215.phpt | 13 $file_p = __DIR__ . "/bug67215.p.php"; 14 file_put_contents($file_c, "<?php require '$file_p'; class c extends p {} ?>"); 15 file_put_contents($file_p, '<?php class p { protected $var = ""; } ?>'); 23 $file_p = __DIR__ . "/bug67215.p.php"; 28 Fatal error: Cannot redeclare class p (previously declared in %sbug67215.p.php:%d) in %sbug67215.p.…
|
/php-src/ext/reflection/tests/ |
H A D | parameters_001.phpt | 16 $p = new ReflectionParameter(array('Test', 'func'), 'x'); 17 var_dump($p->isOptional()); 19 $p = new ReflectionParameter(array('Test', 'func'), 'y'); 20 var_dump($p->isOptional()); 23 $p = new ReflectionParameter(array('Test', 'func'), 'z'); 24 var_dump($p->isOptional()); 29 $p = new ReflectionParameter(array('Test', 'func'), -1); 30 var_dump($p->isOptional());
|
/php-src/ext/dom/tests/ |
H A D | bug80268_2.phpt | 12 $doc->loadHTML("<p>foo\0bar</p>"); 14 var_dump(strpos($html, '<p>foo</p>') !== false); 16 file_put_contents(__DIR__ . '/80268.html', "<p>foo\0bar</p>"); 20 var_dump(strpos($html, '<p>foo</p>') !== false);
|
H A D | DOMDocument_length_cache_invalidation.phpt | 9 $doc->loadHTML('<p>hello</p><p>world</p><p>!</p>'); 11 $elements = $doc->getElementsByTagName('p');
|
H A D | reconcile_reused_namespace.phpt | 22 $element = $dom->createElementNS('http://example.com/B', 'p', 'Hello World'); 26 $element = $dom->createElementNS('http://example.com/A', 'p', 'Hello World'); 30 $element = $dom->createElementNS('http://example.com/A', 'p', 'Hello World'); 41 …ple.com/A" xmlns:b="http://example.com/B"><b:p>Hello World</b:p><a:p>Hello World</a:p><a:p>Hello W…
|
/php-src/Zend/tests/ |
H A D | bug32799.phpt | 8 if (!isset($GLOBALS['p'])) { 11 $GLOBALS['p']->c++; // no warning 12 print $GLOBALS['p']->c."\n"; // segfault 13 var_dump($GLOBALS['p']); 17 $p=new test; 18 $p=null; //destroy the object by a new assignment (segfault)
|
H A D | bug68262.phpt | 7 public $p; 11 $first->p = 'init'; 14 $ref =& $first->p; 18 $clone->p = 'foo'; 20 var_dump($first->p);
|
/php-src/ext/calendar/ |
H A D | calendar.c | 378 p++; in heb_number_to_chars() 382 p++; in heb_number_to_chars() 397 p++; in heb_number_to_chars() 404 p++; in heb_number_to_chars() 411 p++; in heb_number_to_chars() 413 p++; in heb_number_to_chars() 418 p++; in heb_number_to_chars() 425 p++; in heb_number_to_chars() 435 p++; in heb_number_to_chars() 438 *(p) = *(p - 1); in heb_number_to_chars() [all …]
|
/php-src/ext/pdo_firebird/ |
H A D | firebird_driver.c | 221 if (p < end && *p == '*') in php_firebird_get_token() 224 p++; in php_firebird_get_token() 227 if (*p++ == '*' && p < end && *p == '/') in php_firebird_get_token() 241 if (p < end && *p == '-') in php_firebird_get_token() 248 if (p < end && *p == '\n') in php_firebird_get_token() 266 p++; in php_firebird_get_token() 272 p++; in php_firebird_get_token() 278 p++; in php_firebird_get_token() 284 (*p != '/') && (*p != '-') && (*p != ':') && (*p != '?') && in php_firebird_get_token() 285 (*p != '\'') && (*p != '"')) in php_firebird_get_token() [all …]
|
/php-src/Zend/ |
H A D | zend_ini.c | 206 zend_ini_entry *p; in zend_register_ini_entries_ex() local 233 p->value = NULL; in zend_register_ini_entries_ex() 239 p->modified = 0; in zend_register_ini_entries_ex() 242 if (zend_hash_add_ptr(directives, p->name, (void*)p) == NULL) { in zend_register_ini_entries_ex() 243 if (p->name) { in zend_register_ini_entries_ex() 250 …(!p->on_modify || p->on_modify(p, Z_STR_P(default_value), p->mh_arg1, p->mh_arg2, p->mh_arg3, ZEND… in zend_register_ini_entries_ex() 258 p->on_modify(p, p->value, p->mh_arg1, p->mh_arg2, p->mh_arg3, ZEND_INI_STAGE_STARTUP); in zend_register_ini_entries_ex() 317 p->on_modify(p, p->value, p->mh_arg1, p->mh_arg2, p->mh_arg3, stage); in zend_ini_refresh_caches() 1003 *p = tmp; in ZEND_INI_MH() 1040 *p = new_value; in ZEND_INI_MH() [all …]
|
/php-src/ext/phar/tests/cache_list/files/ |
H A D | write22.phar | 2 $p = new Phar(__FILE__); 3 var_dump($p["test.txt"]->isCompressed()); 4 $p["test.txt"]->decompress(); 5 var_dump($p["test.txt"]->isCompressed()); 8 6test.txt���H���E���/�(P���p� �w��
|
H A D | write14.phar | 2 $p = new Phar(__FILE__); 3 var_dump($p["test.txt"]->isCompressed()); 5 $p->decompressFiles(); 6 var_dump($p["test.txt"]->isCompressed()); 9 6test.txt���H���E���/�(P���p� �w��
|
/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_ucs4.c | 330 uint32_t c1 = *p++; in mb_ucs4_to_wchar() 331 uint32_t c2 = *p++; in mb_ucs4_to_wchar() 332 uint32_t c3 = *p++; in mb_ucs4_to_wchar() 338 *in = p; in mb_ucs4_to_wchar() 344 *in = p; in mb_ucs4_to_wchar() 355 unsigned char *p = *in, *e = p + (*in_len & ~3); in mb_ucs4be_to_wchar() local 370 p = *in + *in_len; in mb_ucs4be_to_wchar() 374 *in = p; in mb_ucs4be_to_wchar() 399 unsigned char *p = *in, *e = p + (*in_len & ~3); in mb_ucs4le_to_wchar() local 414 p = *in + *in_len; in mb_ucs4le_to_wchar() [all …]
|
H A D | mbfilter_utf7imap.c | 518 unsigned char *p = *in, *e = p + *in_len; in mb_utf7imap_to_wchar() local 552 if (p == e) { in mb_utf7imap_to_wchar() 579 if (p == e) { in mb_utf7imap_to_wchar() 603 if (p < e && *p == '-') { in mb_utf7imap_to_wchar() 605 p++; in mb_utf7imap_to_wchar() 626 *in = p; in mb_utf7imap_to_wchar() 752 unsigned char *p = in, *e = p + in_len; in mb_check_utf7imap() local 756 while (p < e) { in mb_check_utf7imap() 782 if (p == e) { in mb_check_utf7imap() 809 if (p == e) { in mb_check_utf7imap() [all …]
|
H A D | mbfilter_ucs2.c | 248 unsigned char *p = *in; in mb_ucs2_to_wchar() local 255 *in = p; in mb_ucs2_to_wchar() 261 *in = p; in mb_ucs2_to_wchar() 272 unsigned char *p = *in, *e = p + (*in_len & ~1); in mb_ucs2be_to_wchar() local 285 p++; in mb_ucs2be_to_wchar() 288 *in_len -= (p - *in); in mb_ucs2be_to_wchar() 289 *in = p; in mb_ucs2be_to_wchar() 314 unsigned char *p = *in, *e = p + (*in_len & ~1); in mb_ucs2le_to_wchar() local 327 p++; in mb_ucs2le_to_wchar() 330 *in_len -= (p - *in); in mb_ucs2le_to_wchar() [all …]
|
/php-src/ext/pcre/tests/ |
H A D | bug41148.phpt | 22 /* 12 */ "/<p>([\n]*(<br[[:space:]]*\/?".">)*)*/S", 33 /* 6 */ "<p>", 38 /* 11 */ "<p>", 39 /* 12 */ "<p>", 40 /* 13 */ "<blockquote class=\"spip\"><p>", 41 /* 14 */ "</blockquote><p>" 50 <p>
|
/php-src/ext/dom/tests/modern/html/parser/ |
H A D | HTMLDocument_fromString_normal_no_error.phpt | 8 // The closing p tag breaks libxml2's HTML parser, but doesn't break the HTML5 parser due to the sc… 18 var foo = "</p>"; 20 <p test="<script>">bar <!-- hi --></p> 35 var foo = "</p>"; 37 <p test="<script>">bar <!-- hi --></p>
|