that's impossible because I have a php script that call a C function compiled as shared object Stefano Marini ______________________________ Si2Si S.p.A. Via Carlo Pesenti, 109 00156 Rome - Italy mobile: +39 329 6881989 fisso: +39 06 41210420 fax: +39 06 41205454 e-mail: [EMAIL PROTECTED] ----- Original Message ----- From: "Bug Database" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 06, 2001 2:30 PM Subject: PHP 4.0 Bug #9316 Updated: calling an external function in a loop > ID: 9316 > Updated by: stas > Reported By: [EMAIL PROTECTED] > Old-Status: Open > Status: Feedback > Bug Type: Scripting Engine problem > Assigned To: > Comments: > > Could you post short self-contained standalone script that > reproduces it? > > Previous Comments: > -------------------------------------------------------------------------- - > > [2001-02-20 10:47:55] [EMAIL PROTECTED] > 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? > > -------------------------------------------------------------------------- - > > [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 > > > > > > -------------------------------------------------------------------------- - > > > > ATTENTION! Do NOT reply to this email! > To reply, use the web interface found at http://bugs.php.net/?id=9316&edit=2 > > -- 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]