/php-src/Zend/ |
H A D | zend_types.h | 496 p += 64; \ 512 p += 64; \ 705 #define GC_REFCOUNT(p) zend_gc_refcount(&(p)->gc) argument 707 #define GC_ADDREF(p) zend_gc_addref(&(p)->gc) argument 708 #define GC_DELREF(p) zend_gc_delref(&(p)->gc) argument 711 #define GC_TRY_ADDREF(p) zend_gc_try_addref(&(p)->gc) argument 712 #define GC_TRY_DELREF(p) zend_gc_try_delref(&(p)->gc) argument 752 #define GC_TYPE_INFO(p) (p)->gc.u.type_info argument 753 #define GC_TYPE(p) zval_gc_type(GC_TYPE_INFO(p)) argument 754 #define GC_FLAGS(p) zval_gc_flags(GC_TYPE_INFO(p)) argument [all …]
|
H A D | zend_objects.c | 51 zval *p, *end; in zend_object_std_dtor() local 65 p = object->properties_table; in zend_object_std_dtor() 69 if (Z_REFCOUNTED_P(p)) { in zend_object_std_dtor() 77 i_zval_ptr_dtor(p); in zend_object_std_dtor() 79 p++; in zend_object_std_dtor() 80 } while (p != end); in zend_object_std_dtor() 85 zval_ptr_dtor_str(p); in zend_object_std_dtor() 89 guards = Z_ARRVAL_P(p); in zend_object_std_dtor() 298 ZVAL_UNDEF(p); in zend_objects_clone_obj() 299 p++; in zend_objects_clone_obj() [all …]
|
/php-src/ext/mbstring/libmbfl/filters/ |
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 | 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"]));
|
H A D | write23.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump(isset($p["test.txt"]), isset($p["newname"])); 11 var_dump(isset($p["test.txt"]), isset($p["newname"]));
|
/php-src/ext/opcache/ |
H A D | zend_file_cache.c | 324 p++; 338 p++; 511 p++; 588 p--; 598 p++; 613 p++; 736 p++; 749 p++; 1184 p++; 1196 p++; [all …]
|
H A D | zend_persist_calc.c | 128 Bucket *p; in zend_persist_zval_calc() local 131 if (p->key) { in zend_persist_zval_calc() 230 Bucket *p; in zend_persist_op_array_calc_ex() local 244 zval *p = op_array->literals; in zend_persist_op_array_calc_ex() local 247 while (p < end) { in zend_persist_op_array_calc_ex() 248 zend_persist_zval_calc(p); in zend_persist_op_array_calc_ex() 249 p++; in zend_persist_op_array_calc_ex() 408 Bucket *p; in zend_persist_class_entry_calc() local 560 Bucket *p; in zend_accel_persist_class_table_calc() local 564 ZEND_ASSERT(p->key != NULL); in zend_accel_persist_class_table_calc() [all …]
|
/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/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/ext/mysqli/ |
H A D | mysqli_prop.c | 39 MYSQL *p; \ 51 MYSQL_RES *p; \ 63 MYSQL_STMT *p; \ 79 ZEND_ASSERT(p);\ 94 ZEND_ASSERT(p);\ 106 ZEND_ASSERT(p);\ 247 MYSQL_RES *p; in MYSQLI_MAP_PROPERTY_FUNC_LONG() local 262 MYSQL_RES *p; in result_lengths_read() local 269 if (!p || !field_count || !(ret = mysql_fetch_lengths(p))) { in result_lengths_read() 294 MY_STMT *p; in MYSQLI_MAP_PROPERTY_FUNC_LONG() local [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));
|
H A D | links.phpt | 12 $p = new PharData($fname); 16 var_dump($p['testit/link']->getContent()); 17 var_dump($p['testit/hard']->getContent()); 18 var_dump($p['testit/file']->getContent()); 19 $p['testit/link'] = 'overwriting'; 20 var_dump($p['testit/link']->getContent());
|
/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/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/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 …]
|
/php-src/ext/mbstring/ |
H A D | mbstring.c | 282 while ((p = memchr(p, ',', end - p))) { in count_commas() 328 while (p > p1 && (*p == ' ' || *p == '\t')) { in php_mb_parse_encoding_list() 1678 p += mbtab[*p]; in PHP_FUNCTION() 2430 for (p = (const unsigned char*)string.val, q = p + from; p < q; p += (m = mbtab[*p])); in PHP_FUNCTION() 2439 for (q = p + len; p < q; p += (m = mbtab[*p])); in PHP_FUNCTION() 6206 while (p < e && *p == ' ' && (p - word_start) <= 74) { in mb_mime_header_encode() 6518 if (p >= e || *p++ != '?') { in mime_header_decode_encoded_word() 6632 if (p < e && (*p == '\n' || *p == '\r')) { in mb_mime_header_decode() 6635 } while (p < e && (*p == '\n' || *p == '\r' || *p == '\t' || *p == ' ')); in mb_mime_header_decode() 6666 if (p < e && (*p == '\n' || *p == '\r')) { in mb_mime_header_decode() [all …]
|
/php-src/ext/dom/tests/delayed_freeing/ |
H A D | dom_character_data.phpt | 10 <container><![CDATA[This is a CDATA section<p>test</p>]]></container> 18 string(34) "This is a CDATA section<p>test</p>" 22 string(34) "This is a CDATA section<p>test</p>"
|
/php-src/sapi/litespeed/ |
H A D | lsapi_main.c | 91 char *p; in init_sapi_from_env() local 93 if (p) in init_sapi_from_env() 649 char *p; in lsapi_execute_script() local 1170 while (( p < argend )&&(**p == '-' )) { in parse_opt() 1172 ++p; in parse_opt() 1255 while (( p < argend )&&(**p == '-' )) { in cli_main() 1433 while(( p > argv[0] )&&( p[-1] != '/')) in setArgv0() 1434 --p; in setArgv0() 1437 memmove( argv[0], p, argv0 - p ); in setArgv0() 1610 if (p && 0 == strcasecmp(p, "on")) in PHP_MINIT_FUNCTION() [all …]
|
/php-src/main/ |
H A D | fastcgi.c | 279 p = p->next; in fcgi_hash_destroy() 314 p->pos = p->data; in fcgi_hash_strndup() 315 p->end = p->pos + seg_size; in fcgi_hash_strndup() 340 p = p->next; in fcgi_hash_set() 375 *p = (*p)->next; in fcgi_hash_del() 378 p = &(*p)->next; in fcgi_hash_del() 394 p = p->next; in fcgi_hash_get() 405 func(p->var, p->var_len, p->val, p->val_len, arg); in fcgi_hash_apply() 407 p = p->list_next; in fcgi_hash_apply() 1186 p = zend_mempcpy(p, q->var, q->var_len); in fcgi_read_request() [all …]
|
/php-src/Zend/tests/ |
H A D | bug55445.phpt | 6 <?php $u = "chris"; ?><p>Welcome <?= $u ?></p> 8 <p>Welcome chris</p>
|
/php-src/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_serialize_ns_imported_03.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, false)); 38 …p://www.w3.org/1999/xhtml"><head></head><body><p>foo<container xmlns="some:ns" xmlns:bar="another:… 39 <html><head></head><body><p>foo<container xmlns="some:ns" xmlns:bar="another:ns"></container></p></…
|
H A D | HTMLDocument_serialize_ns_imported_04.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, false)); 38 …p://www.w3.org/1999/xhtml"><head></head><body><p>foo<container xmlns="some:ns" xmlns:bar="another:… 39 <html><head></head><body><p>foo<container xmlns="some:ns" xmlns:bar="another:ns"></container></p></…
|
/php-src/ext/dom/tests/ |
H A D | DOMDocument_adoptNode.phpt | 67 $doc3->loadXML('<p align="center">hi</p>'); 87 <!ENTITY my_entity '<p>hi</p>'> ]> 88 <p/> 124 <p>world</p> 138 <p/> 149 <p>hi</p> 156 <!ENTITY my_entity "<p>hi</p>"> 158 <p>&my_entity;</p> 162 <!ENTITY my_entity "<p>hi</p>"> 164 <p/> [all …]
|
/php-src/ext/phar/tests/ |
H A D | phar_commitwrite.phpt | 10 $p = new Phar(__DIR__ . '/phar_commitwrite.phar', 0, 'phar_commitwrite.phar'); 11 $p['file1.txt'] = 'hi'; 12 $p->stopBuffering(); 13 var_dump(strlen($p->getStub())); 14 $p->setStub("<?php 22 var_dump($p->getStub());
|
/php-src/ext/standard/tests/array/ |
H A D | bug71837.phpt | 6 $p = array(array()); 7 array_push($p[0], array(100)); 9 $c = array_merge($p, array()); 12 print_r($p);
|