php-src/ext/dom/tests/domdocument_createentityreference_001.phpt
2009-09-11 21:57:04 +00:00

18 lines
358 B
PHP

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