ID: 9316 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Scripting Engine problem Description: calling an external function in a loop I need to send you a little tar file 12Kb that has the makefile to compile the shared object, the php page that we use to see the problem and the external file read by the shared object libraries. How I can do? Previous Comments: --------------------------------------------------------------------------- [2001-02-17 10:27:15] [EMAIL PROTECTED] Please provide a reduced code fragment (<15 lines) producing this behaviour. Put no database queries etc. in it and rely on no external files/functions to ensure that we can reproduce it easily unless the problem is not directly related to some db (or similar) function. --------------------------------------------------------------------------- [2001-02-17 07:23:55] [EMAIL PROTECTED] I have a shared object the works fine with PHP4.0.0 I recompile it for PHP 4.0.4pl1. Each function of this shared object works fine. The problem succeed when I use a function that return a STRING in a loop. A loop greater than 4 hang present an empty page. Ex: for ($i=0; $i<6; $i++) { $aa=callc_get_stringa("12345"); } The wrapper code used to return the string it's the same used in the older version of PHP I compile PHP with mysql,apxs,ldap,ftp --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=9316 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]