summaryrefslogtreecommitdiff
path: root/ext/dom/tests/domdocument_createentityreference_001.phpt
blob: 481b47225b4af64891d838c6010b613ec169547a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--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===