Browse Source

add new test

PHP-5.1
Marcus Boerger 22 years ago
parent
commit
b16ae3b73a
  1. 11
      ext/spl/tests/dit_001.phpt

11
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) {
}
Loading…
Cancel
Save