Re: PHP 4.0 Bug #9316 Updated: calling an external function in a loop

From: Date: Fri, 09 Mar 2001 06:07:54 +0000
Subject: Re: PHP 4.0 Bug #9316 Updated: calling an external function in a loop
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-48385@lists.php.net to get a copy of this message
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: s.marini@si2si.it ----- Original Message ----- From: "Bug Database" <php-dev@lists.php.net> To: <s.marini@si2si.it> 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: s.marini@si2si.it > 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] s.marini@si2si.it > 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] andre@php.net > 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] s.marini@si2si.it > 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 > >

« previous php.dev (#48385) next »