Re: Directoryiterator / preg_match behavior
| From: | Curt Zirzow | Date: | Thu, 09 Sep 2004 02:35:18 +0000 |
| Subject: | Re: Directoryiterator / preg_match behavior | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12656@lists.php.net to get a copy of this message | ||
* Thus wrote Andi Gutmans:
> Can you please try again (HEAD)?
> Let me know if it's OK and I'll merge to PHP_5_0
Works good now. Passes the attached test now.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!
--TEST-- Internal classes were getting lost. --FILE-- <?php $d = new DirectoryIterator('.'); preg_match('/x/', $d); var_dump($d); --EXPECTF-- object(DirectoryIterator)#%d (0) { }
--TEST-- Internal classes were getting lost. --FILE-- <?php $d = new DirectoryIterator('.'); preg_match('/x/', $d); var_dump($d); --EXPECTF-- object(DirectoryIterator)#%d (0) { }