mirror of
https://github.com/php/php-src.git
synced 2026-04-29 11:13:36 +02:00
13 lines
279 B
PHP
13 lines
279 B
PHP
--TEST--
|
|
DomDocument::CreateEntityReference() - Creates an entity reference with the appropriate name
|
|
--CREDITS--
|
|
Clint Priest @ PhpTek09
|
|
--FILE--
|
|
<?php
|
|
$objDoc = new DomDocument();
|
|
|
|
$objRef = $objDoc->createEntityReference('Test');
|
|
echo $objRef->nodeName;
|
|
?>
|
|
--EXPECT--
|
|
Test
|