Hi all,

What about creating a "livedocs bug" category at http://bugs.php.net/ (I want to brake it again :)) ?

I just discovered a recursion bug. Apply the attached patch to your cvs checkout, clear the cache and then ask for unset() manual page.

The little notice in [1] warned me about it.

didou

[1] - http://php.kennyt.com/newdocs/index.php?l=en&q=function.unset

Index: style_mapping.php
===================================================================
RCS file: /repository/livedocs/style_mapping.php,v
retrieving revision 1.2
diff -u -r1.2 style_mapping.php
--- style_mapping.php   17 Jan 2004 11:34:07 -0000      1.2
+++ style_mapping.php   23 Jan 2004 12:59:40 -0000
@@ -317,6 +317,10 @@
     $fname = $node->children[1]->content;
     $params = "";
     $optclose = "";
+
+    echo '<pre>';
+    var_dump($node);
+    die();
     
     for ($i = 2; $i < count($node->children); $i++) {
         $k = $node->children[$i];

Reply via email to