diff options
author | Marcus Boerger <helly@php.net> | 2004-09-09 07:46:19 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2004-09-09 07:46:19 +0000 |
commit | b16ae3b73ae63e232dadde049113d88cebaa3011 (patch) | |
tree | 0f9ba0fb6fed7541158b20bf68d94e3e18ad4eb2 | |
parent | 7d2302830f5608785744e440de3fe6770caa2872 (diff) | |
download | php-git-b16ae3b73ae63e232dadde049113d88cebaa3011.tar.gz |
add new test
-rwxr-xr-x | ext/spl/tests/dit_001.phpt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/spl/tests/dit_001.phpt b/ext/spl/tests/dit_001.phpt new file mode 100755 index 0000000000..62aae99c8b --- /dev/null +++ b/ext/spl/tests/dit_001.phpt @@ -0,0 +1,11 @@ +--TEST-- +SPL: Problem with casting to string +--FILE-- +<?php +$d = new DirectoryIterator('.'); +preg_match('/x/', $d); +var_dump($d); +?> +--EXPECTF-- +object(DirectoryIterator)#%d (0) { +} |