cvs: php-src /ext/spl/tests fixedarray_016.phpt
| From: | Etienne Kneuss | Date: | Sun, 06 Jul 2008 23:52:44 +0000 |
| Subject: | cvs: php-src /ext/spl/tests fixedarray_016.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-50855@lists.php.net to get a copy of this message | ||
colder Sun Jul 6 23:52:44 2008 UTC
Added files:
/php-src/ext/spl/tests fixedarray_016.phpt
Log:
Add missing test
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/fixedarray_016.phpt?view=markup&rev=1.1
Index: php-src/ext/spl/tests/fixedarray_016.phpt
+++ php-src/ext/spl/tests/fixedarray_016.phpt
--TEST--
SPL: FixedArray: var_dump
--FILE--
<?php
$a = new SplFixedArray(2);
$a[0] = "foo";
var_dump(empty($a[0]), empty($a[1]), $a);
?>
--EXPECTF--
bool(false)
bool(true)
object(SplFixedArray)#1 (1) {
[u"array":u"SplFixedArray":private]=>
array(2) {
[0]=>
unicode(3) "foo"
[1]=>
NULL
}
}