ru_php/ext/dom/tests/domdocument_createentityreference_001.phpt

16 lines
314 B
Plaintext
Raw Permalink Normal View History

--TEST--
DomDocument::CreateEntityReference() - Creates an entity reference with the appropriate name
--CREDITS--
Clint Priest @ PhpTek09
--EXTENSIONS--
dom
--FILE--
<?php
$objDoc = new DomDocument();
$objRef = $objDoc->createEntityReference('Test');
echo $objRef->nodeName . "\n";
?>
--EXPECT--
Test