/PHP-8.2/Zend/tests/ |
H A D | bug40833.phpt | 5 class entity 26 private $entity; 28 function __construct($entity) 30 $this->entity = $entity; 35 $this->entity->whatever = null; 41 // $this->entity->{$this->name} = null; 58 $entity = new entity(); 59 echo($entity->whatever[0]); 62 // $entity->whatever->clear(); 63 unset($entity->whatever[0]); [all …]
|
/PHP-8.2/ext/mbstring/tests/ |
H A D | mb_decode_numericentity.phpt | 99 // An entity can come right after a preceding &# 105 // The starting & of an entity can terminate a preceding entity 109 // An entity can come right after an entity which is invalid because of being too long 118 test("Starting entity immediately after invalid decimal entity", "�A", "�A", [0x1, 0xFFFF, … 119 test("Starting entity immediately after invalid hex entity", "�A", "
", [0x1, 0xFFFF, 0,… 125 // that the entity could not be successfully decoded, so if the entity decoded successfully to 203 Starting entity immediately after decimal entity which is too long: string(18) "�A"… 204 Starting entity immediately after hex entity which is too long: string(17) "�A" => s… 207 Starting entity immediately after invalid decimal entity: string(8) "�A" => string(4) "�A" … 208 Starting entity immediately after invalid hex entity: string(9) "�A" => string(5) "
" (G… [all …]
|
H A D | mb_substitute_character_variation_weak_types.phpt | 126 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo… 128 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo… 154 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo… 156 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo… 158 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo… 160 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo… 162 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo… 164 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo… 166 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
|
H A D | mb_substitute_character.phpt | 22 var_dump(mb_substitute_character('entity')); 43 string(6) "entity" 45 mb_substitute_character(): Argument #1 ($substitute_character) must be "none", "long", "entity" or …
|
H A D | mb_substitute_character_variation_strict_types.phpt | 150 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo… 152 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo… 154 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo… 156 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo… 158 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo… 160 …haracter(): Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepo…
|
/PHP-8.2/ext/dom/ |
H A D | entityreference.c | 76 xmlEntityPtr entity = xmlGetDocEntity(reference->doc, reference->name); in dom_entity_reference_fetch_and_sync_declaration() local 77 reference->children = (xmlNodePtr) entity; in dom_entity_reference_fetch_and_sync_declaration() 78 reference->last = (xmlNodePtr) entity; in dom_entity_reference_fetch_and_sync_declaration() 79 reference->content = entity ? entity->content : NULL; in dom_entity_reference_fetch_and_sync_declaration() 80 return entity; in dom_entity_reference_fetch_and_sync_declaration() 92 xmlEntityPtr entity = dom_entity_reference_fetch_and_sync_declaration(nodep); in dom_entity_reference_child_read() local 93 if (entity == NULL) { in dom_entity_reference_child_read() 98 php_dom_create_object((xmlNodePtr) entity, retval, obj); in dom_entity_reference_child_read()
|
/PHP-8.2/ext/simplexml/tests/ |
H A D | 003.phpt | 11 <!ENTITY included-entity "This is text included from an entity"> 19 &included-entity; 53 ["included-entity"]=> 55 ["included-entity"]=> 56 string(36) "This is text included from an entity"
|
/PHP-8.2/ext/dom/tests/ |
H A D | DOMEntity_fields.phpt | 10 <!ENTITY sampleInternalEntity "This is a sample entity value."> 28 foreach ($entities as $entity) { 29 echo "Entity name: {$entity->nodeName}\n"; 31 var_dump($entity->publicId); 33 var_dump($entity->systemId); 35 var_dump($entity->notationName); 37 var_dump($entity->actualEncoding); 39 var_dump($entity->encoding); 41 var_dump($entity->version);
|
H A D | property_write_errors.phpt | 29 $entity = new DOMEntity(); 32 $entity->actualEncoding = null; 38 $entity->encoding = null; 44 $entity->version = null;
|
H A D | DOMDocumentType_basic_001.phpt | 36 $entity = $entities->item(0); 37 print 'entity: '.$entity->nodeName."\n"; 47 entity: logo
|
H A D | DOMDocument_loadXML_variation4.phpt | 25 <!ENTITY entitest "entity is only for test purposes"> 32 …uthor>John Steinbeck</author></book><book><title default="default title">entity is only for test p…
|
H A D | domdocument_createentityreference_001.phpt | 2 DomDocument::CreateEntityReference() - Creates an entity reference with the appropriate name
|
H A D | DOMDocument_createEntityReference_basic.phpt | 2 DOMDocument::createEntityReference() should create a new entity reference node
|
H A D | bug70001.phpt | 2 Bug #70001 (Assigning to DOMNode::textContent does additional entity encoding)
|
H A D | entity_reference_stale_01.phpt | 2 Entity references with stale entity declaration 01
|
H A D | entity_reference_stale_02.phpt | 2 Entity references with stale entity declaration 02
|
/PHP-8.2/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_htmlent.c | 183 mbfl_html_entity_entry *entity; in mbfl_filt_conv_html_dec() local 250 while (entity->name) { in mbfl_filt_conv_html_dec() 252 ent = entity->code; in mbfl_filt_conv_html_dec() 255 entity++; in mbfl_filt_conv_html_dec() 401 while (entity->name) { in mb_htmlent_to_wchar() 402 … if (!strncmp((char*)p, entity->name, terminator - p) && strlen(entity->name) == terminator - p) { in mb_htmlent_to_wchar() 403 *out++ = entity->code; in mb_htmlent_to_wchar() 407 entity++; in mb_htmlent_to_wchar() 449 while (entity->name) { in mb_wchar_to_htmlent() 450 if (w == entity->code) { in mb_wchar_to_htmlent() [all …]
|
/PHP-8.2/ext/standard/tests/strings/ |
H A D | bug73817.phpt | 6 foreach ($entities as $entity) { 7 if (substr($entity, -1) !== ';') { 8 var_dump($entity);
|
/PHP-8.2/ext/standard/ |
H A D | html.c | 745 while (s->entity) { in resolve_named_entity_html() 1036 *entity = NULL; in find_entity_for_char() 1044 *entity = (const unsigned char *)c->data.ent.entity; in find_entity_for_char() 1069 *entity = (const unsigned char *) s->normal_entry.entity; in find_entity_for_char() 1092 *entity = NULL; in find_entity_for_char_basic() 1097 *entity = (const unsigned char *) table[k].data.ent.entity; in find_entity_for_char_basic() 1427 memcpy(&entity[1], r->data.ent.entity, l); in write_s3row_data() 1428 entity[l + 1] = ';'; in write_s3row_data() 1438 entity[l + 1] = ';'; in write_s3row_data() 1459 memcpy(&entity[1], mcpr[i].normal_entry.entity, l); in write_s3row_data() [all …]
|
/PHP-8.2/ext/libxml/tests/ |
H A D | libxml_set_external_entity_loader_variation1.phpt | 21 $entity = <<<ENT 26 function ($public, $system, $context) use($dtd,$entity){ 32 fwrite($f, $first ? $dtd : $entity);
|
H A D | libxml_disable_entity_loader.phpt | 43 Warning: DOMDocument::loadXML(): I/O warning : failed to load external entity "%s" in %s on line %d 45 Warning: DOMDocument::loadXML(): Failure to process entity xxe in Entity, line: %d in %s on line %d
|
H A D | bug61367-read.phpt | 60 Warning: DOMDocument::loadXML(): I/O warning : failed to load external entity "file:///%s/test_bug_… 62 Warning: DOMDocument::loadXML(): Failure to process entity file in Entity, line: 4 in %s on line %d
|
/PHP-8.2/ext/standard/libavifinfo/ |
H A D | PATENTS | 36 participates in a lawsuit against another entity or any person asserting 41 brought against an initiating entity, or 2) that suit was brought to 60 2.1. Affiliate. "Affiliate" means an entity that directly or indirectly 65 entity, the power to direct management of such entity. 84 2.8. Licensee. "Licensee" means any person or entity who exercises patent 89 or entity that has a licensing obligation to the Implementation as a
|
/PHP-8.2/ext/xml/ |
H A D | compat.c | 342 _build_entity(const xmlChar *name, int len, xmlChar **entity, int *entity_len) in _build_entity() argument 345 *entity = xmlMalloc(*entity_len + 1); in _build_entity() 346 (*entity)[0] = '&'; in _build_entity() 347 memcpy(*entity+1, name, len); in _build_entity() 348 (*entity)[len+1] = ';'; in _build_entity() 349 (*entity)[*entity_len] = '\0'; in _build_entity() 382 xmlChar *entity; in _get_entity() local 385 _build_entity(name, xmlStrlen(name), &entity, &len); in _get_entity() 386 parser->h_default(parser->user, (const xmlChar *) entity, len); in _get_entity() 387 xmlFree(entity); in _get_entity()
|
/PHP-8.2/ext/dom/tests/manually_call_constructor/ |
H A D | entityreference.phpt | 2 Manually call __construct() - entity reference variation
|