colder Sun Jul 6 23:54:36 2008 UTC
Added files: (Branch: PHP_5_3)
/php-src/ext/spl/tests fixedarray_016.phpt
Log:
MFH: 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
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php