mirror of
https://github.com/php/php-src.git
synced 2024-10-19 07:22:40 +00:00
30cdf25f22
New test: DOMAttr read $ownerElement with null parent. New test: DOMAttr write non-string $value property New test: DOMCDATASection __construct() with no arguments. New test: DOMCharacterData - Invalid State Error when getting data out of content.
14 lines
263 B
PHP
14 lines
263 B
PHP
--TEST--
|
|
DOMAttr read $name property.
|
|
--CREDITS--
|
|
Nic Rosental <nicrosental@gmail.com>
|
|
# TestFest Atlanta 2009-05-14
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
$attr = new DOMAttr('category', 'books');
|
|
print $attr->name;
|
|
?>
|
|
--EXPECT--
|
|
category
|