mirror of
https://github.com/php/php-src.git
synced 2024-10-16 22:12:33 +00:00
15 lines
262 B
Plaintext
15 lines
262 B
Plaintext
|
--TEST--
|
||
|
Write non-string $value property
|
||
|
--CREDIT--
|
||
|
Eric Berg <ehberg@gmail.com>
|
||
|
# TestFest Atlanta 2009-05-14
|
||
|
--SKIPIF--
|
||
|
<?php require_once('skipif.inc'); ?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$attr = new DOMAttr('category');
|
||
|
$attr->value = 1;
|
||
|
print $attr->value;
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
1
|