mirror of
https://github.com/php/php-src.git
synced 2024-12-03 06:44:07 +08:00
17 lines
345 B
PHP
17 lines
345 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";
|
|
?>
|
|
--EXPECT--
|
|
Test
|
|
|