/php-src/ext/opcache/jit/ir/dynasm/ |
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/ |
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/ext/opcache/tests/ |
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/dom/tests/modern/html/serializer/ |
H A D | Element_innerHTML.phpt | 8 …CTYPE html><html><head><title>Test</title></head><body><div></div><p>Hello, World!</p></body></htm… 13 var_dump($dom->getElementsByTagName('p')[0]->innerHTML); 17 string(31) "<div></div><p>Hello, World!</p>" 19 string(76) "<head><title>Test</title></head><body><div></div><p>Hello, World!</p></body>"
|
/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 …]
|
H A D | mbfilter_utf8.c | 448 unsigned char *p = *in, *e = p + *in_len; in mb_utf8_to_wchar() local 488 if (p < e && (c != 0xE0 || *p >= 0xA0) && (c != 0xED || *p < 0xA0) && (*p & 0xC0) == 0x80) { in mb_utf8_to_wchar() 490 if (p < e && (*p & 0xC0) == 0x80) { in mb_utf8_to_wchar() 522 while (p < e && (*p & 0xC0) == 0x80) { in mb_utf8_to_wchar() 734 unsigned char *p = *in, *e = p + *in_len; in mb_mobile_utf8_to_wchar() local 751 p--; in mb_mobile_utf8_to_wchar() 757 if (p < e && (c != 0xE0 || *p >= 0xA0) && (c != 0xED || *p < 0xA0) && (*p & 0xC0) == 0x80) { in mb_mobile_utf8_to_wchar() 759 if (p < e && (*p & 0xC0) == 0x80) { in mb_mobile_utf8_to_wchar() 774 p--; in mb_mobile_utf8_to_wchar() 785 while (p < e && (*p & 0xC0) == 0x80) { in mb_mobile_utf8_to_wchar() [all …]
|
/php-src/ext/phar/tests/cache_list/files/ |
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��
|
H A D | write23.phar | 2 $p = new Phar(__FILE__); 3 var_dump(isset($p["test.txt"]), isset($p["newname"])); 5 var_dump(isset($p["test.txt"]), isset($p["newname"]));
|
/php-src/Zend/tests/ |
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/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>
|
/php-src/Zend/ |
H A D | zend_types.h | 496 p += 64; \ 512 p += 64; \ 707 #define GC_REFCOUNT(p) zend_gc_refcount(&(p)->gc) argument 709 #define GC_ADDREF(p) zend_gc_addref(&(p)->gc) argument 710 #define GC_DELREF(p) zend_gc_delref(&(p)->gc) argument 713 #define GC_TRY_ADDREF(p) zend_gc_try_addref(&(p)->gc) argument 714 #define GC_TRY_DELREF(p) zend_gc_try_delref(&(p)->gc) argument 754 #define GC_TYPE_INFO(p) (p)->gc.u.type_info argument 755 #define GC_TYPE(p) zval_gc_type(GC_TYPE_INFO(p)) argument 756 #define GC_FLAGS(p) zval_gc_flags(GC_TYPE_INFO(p)) argument [all …]
|
H A D | zend_objects.c | 65 if (Z_REFCOUNTED_P(p)) { in zend_object_dtor_property() 73 i_zval_ptr_dtor(p); in zend_object_dtor_property() 79 zval *p, *end; in zend_object_std_dtor() local 91 p = object->properties_table; in zend_object_std_dtor() 96 p++; in zend_object_std_dtor() 97 } while (p != end); in zend_object_std_dtor() 102 zval_ptr_dtor_str(p); in zend_object_std_dtor() 106 guards = Z_ARRVAL_P(p); in zend_object_std_dtor() 323 ZVAL_UNDEF(p); in zend_objects_clone_obj() 324 p++; in zend_objects_clone_obj() [all …]
|
/php-src/ext/dom/tests/modern/css_selectors/ |
H A D | pseudo_classes_read_write_read_only.phpt | 20 <p contenteditable="" /> 21 <p contenteditable="false" /> 33 <p xmlns="http://www.w3.org/1999/xhtml" contenteditable=""></p> 44 <p contenteditable=""></p> 45 <p contenteditable="false"></p> 53 <p xmlns="http://www.w3.org/1999/xhtml" contenteditable="false"></p>
|
/php-src/ext/ffi/tests/ |
H A D | 030.phpt | 12 $p = $ffi->new("bool[2]"); 13 var_dump($p); 14 $p[1] = true; 15 var_dump($p[0]); 16 var_dump($p[1]);
|
/php-src/ext/opcache/ |
H A D | zend_file_cache.c | 327 p++; 341 p++; 515 p++; 592 p--; 602 p++; 617 p++; 755 p++; 768 p++; 1208 p++; 1220 p++; [all …]
|
/php-src/ext/phar/tests/tar/ |
H A D | phar_commitwrite.phpt | 10 $p = new Phar(__DIR__ . '/phar_commitwrite.phar.tar', 0, 'phar_commitwrite.phar'); 11 $p['file1.txt'] = 'hi'; 12 $p->stopBuffering(); 13 var_dump($p->getStub()); 14 $p->setStub("<?php 22 var_dump($p->getStub()); 23 var_dump($p->isFileFormat(Phar::TAR));
|
/php-src/ext/phar/tests/zip/ |
H A D | phar_commitwrite.phpt | 10 $p = new Phar(__DIR__ . '/phar_commitwrite.phar.zip', 0, 'phar_commitwrite.phar'); 11 $p['file1.txt'] = 'hi'; 12 $p->stopBuffering(); 13 var_dump($p->getStub()); 14 $p->setStub("<?php 22 var_dump($p->getStub()); 23 var_dump($p->isFileFormat(Phar::ZIP));
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | dtoa.c | 81 lxb_char_t c, *p; in lexbor_grisu2_gen() local 105 p = begin; in lexbor_grisu2_gen() 130 *p = '0' + d; in lexbor_grisu2_gen() 132 p += 1; in lexbor_grisu2_gen() 133 if (p == end) { in lexbor_grisu2_gen() 158 *p = '0' + c; in lexbor_grisu2_gen() 160 p += 1; in lexbor_grisu2_gen() 161 if (p == end) { in lexbor_grisu2_gen() 178 return p - begin; in lexbor_grisu2_gen() 240 char *p; in lexbor_write_exponent() local [all …]
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_083.phpt | 7 public ?string $p; 19 $a->p[] = "test"; 22 var_dump($a->p); // WRONG! 25 $a->p = null; 27 $a->p[] = "test"; 29 var_dump($a->p); 46 $ref = &$a->p; 63 string(71) "Cannot auto-initialize an array inside property Foo::$p of type ?string" 64 string(65) "Typed property Foo::$p must not be accessed before initialization" 65 string(71) "Cannot auto-initialize an array inside property Foo::$p of type ?string" [all …]
|
/php-src/ext/mysqli/ |
H A D | mysqli_prop.c | 37 MYSQL *p; \ 49 MYSQL_RES *p; \ 61 MYSQL_STMT *p; \ 77 ZEND_ASSERT(p);\ 92 ZEND_ASSERT(p);\ 104 ZEND_ASSERT(p);\ 245 MYSQL_RES *p; in MYSQLI_MAP_PROPERTY_FUNC_LONG() local 260 MYSQL_RES *p; in result_lengths_read() local 267 if (!p || !field_count || !(ret = mysql_fetch_lengths(p))) { in result_lengths_read() 292 MY_STMT *p; in MYSQLI_MAP_PROPERTY_FUNC_LONG() local [all …]
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_help.c | 64 for (p = text; *p; p++) { in pretty_print() 65 if (UNEXPECTED(p[0] == '*') && p[1] == '*') { in pretty_print() 67 p++; in pretty_print() 68 } else if (UNEXPECTED(p[0] == '$') && p[1] == 'P') { in pretty_print() 70 p++; in pretty_print() 72 p++; in pretty_print() 88 for (p = text, q = new; *p; p++) { in pretty_print() 104 p++; in pretty_print() 108 p++; in pretty_print() 110 p++; in pretty_print() [all …]
|