helly           Tue Oct 31 23:22:56 2006 UTC

  Modified files:              
    /php-src/ext/spl/internal   recursiveiteratoriterator.inc 
  Log:
  - Fixed Bug #39151 Parse error in recursiveiteratoriterator.php 
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/internal/recursiveiteratoriterator.inc?r1=1.18&r2=1.19&diff_format=u
Index: php-src/ext/spl/internal/recursiveiteratoriterator.inc
diff -u php-src/ext/spl/internal/recursiveiteratoriterator.inc:1.18 
php-src/ext/spl/internal/recursiveiteratoriterator.inc:1.19
--- php-src/ext/spl/internal/recursiveiteratoriterator.inc:1.18 Tue Feb 21 
23:21:53 2006
+++ php-src/ext/spl/internal/recursiveiteratoriterator.inc      Tue Oct 31 
23:22:56 2006
@@ -233,7 +233,7 @@
                        if ($after_move)
                        {
                                if (($this->mode == self::SELF_FIRST && 
$this->callHasChildren())
-                                    $this->mode == self::LEAVES_ONLY)
+                               ||   $this->mode == self::LEAVES_ONLY)
                                $this->nextElement();
                        }
                        else
@@ -245,7 +245,9 @@
        
        /** Called when the next element is available
         */
-       function nextElement();
+       function nextElement()
+       {
+       }
 
        /** @param max_depth new maximum allowed depth or -1 for any depth
         */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to