diff options
Diffstat (limited to 'ext/dom/tests/domdocument_createentityreference_001.phpt')
-rw-r--r-- | ext/dom/tests/domdocument_createentityreference_001.phpt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ext/dom/tests/domdocument_createentityreference_001.phpt b/ext/dom/tests/domdocument_createentityreference_001.phpt new file mode 100644 index 0000000..7343e74 --- /dev/null +++ b/ext/dom/tests/domdocument_createentityreference_001.phpt @@ -0,0 +1,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=== +
\ No newline at end of file |