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

From: Date: Tue, 10 Apr 2001 14:01:56 +0000
Subject: PHP 4.0 Bug #9316 Updated: calling an external function in a loop
Groups: php.dev 
Request: Send a blank email to php-dev+get-51313@lists.php.net to get a copy of this message
ID: 9316 Updated by: sniper Reported By: s.marini@si2si.it Old-Status: Feedback Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: No feedback. If this happens also with soon to be released PHP 4.0.5, reopen this bug report with a short example script that can be used to reproduce this. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-03-06 08:30:20] stas@php.net Could you post short self-contained standalone script that reproduces it? --------------------------------------------------------------------------- [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 (#51313) next »