A BUGNOTE has been added to this bug.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000083
======================================================================
Reporter:                   mathieu
Handler:                    
======================================================================
Project:                    Xdebug
Bug ID:                     83
Category:                   Usage problems
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Operating System:           Linux
PHP Version:                4.3.7
Xdebug Version:             1.3.2
======================================================================
Date Submitted:             2004-08-02 12:15 CEST
Last Modified:              2004-08-02 13:46 CEST
======================================================================
Summary:                    More than 20 parameters functions make xdebug crashes
Description: 
-------------- Script 1 ----------------
<?
   function a()
   {
      return true ;
   }
   a(  1,  2,  3,  4,  5,  6,  7,  8,  9, 10,
      11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 ) ;
   echo "This message won't be printed\n" ;
?>
No apache response :
[mathieu[@]localhost test]$ netcat 192.168.0.4 80
GET http://192.168.0.4/ubi/test.php
[mathieu[@]localhost test]$
-------------- Script 2 ----------------
<?
   function a()
   {
      return true ;
   }
   a(  1,  2,  3,  4,  5,  6,  7,  8,  9, 10,
      11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ) ;
   echo "This message will be printed\n" ;
?>
Apache output :
[mathieu[@]localhost test]$ netcat 192.168.0.4 80
GET http://192.168.0.4/ubi/test.php
This message will be printed
[mathieu[@]localhost test]$
Both of these tests work well when xdebug is not activated in php.ini. It
makes me think you allocate statically something with a 20 value. Or you
talked about a limit and I didn't see it. 
Hope it can help you
Mathieu
======================================================================
----------------------------------------------------------------------
 derick - 2004-08-02 13:46 CEST 
----------------------------------------------------------------------
There is indeed a static limit of 20 in Xdebug 1.3, and a limit of 32 in
Xdebug 2.0. I will definitely fix this in 2.0, but not sure about 1.3 yet
as there might be too many different things to be done and I don't really
want to re-do it for 1.3. If you can compile Xdebug yourself, just change
the "20" in line 156 of php_xdebug.h to something higher and recompile.
Bug History
Date Modified  Username       Field                    Change              
======================================================================
2004-08-02 12:15mathieu        New Bug                                      
2004-08-02 13:46derick         Bugnote Added: 0000163                       
======================================================================
Received on Mon Aug 02 2004 - 13:46:31 BST
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:02 BST