ID: 13376 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Unknown/Other Function Operating System: Linux 2.4.4-ac9 Debian viariant PHP Version: 4.0.5 New Comment: I managed to get snap php4-200109202235 compiled and installed on the test system. With a very simple test script it seems to have worked -- the indexing looks like it works. However, now the "real" web-pages don't run to completion. I tried commenting out all the rest of the PHP code (just neaving enough native HTML to end out the tables, etc.) and it still didn't work. By throwing in copious amounts (~2-3k) of extra text (<pre>blah blah blah...</pre>) -- especially near the end of the file -- I managed to get the page to fully display. Different bug? Was the indexing a "simple" patch? Given that the latest snap chokes, I would love to try it on our "in production" code that ... mostly works. <g> Previous Comments: ------------------------------------------------------------------------ [2001-09-21 12:24:10] [EMAIL PROTECTED] Sure. It may take a bit (production environment <sigh>), but I should be able to get it at least on my test machine. ------------------------------------------------------------------------ [2001-09-21 12:08:23] [EMAIL PROTECTED] I think this may be fixed. Could you try a current snapshot from http://snaps.php.net and let us know? ------------------------------------------------------------------------ [2001-09-21 12:03:02] [EMAIL PROTECTED] I'm getting hidden garbage at the end of string values returned from Interbase; I'm using these strings as keys to arrays and getting back nothing. It appears there is junk at the end of the string (on the stack) that the array-index routine is picking up, but the string routines don't: $row = ibase_fetch_row($queryRv); $STATE = $row[0]; // this line prints "foo[RAW] = []" echo "foo[$STATE] = [".$foo[$STATE]."]"; // this line prints "foo[RAW] = [1]" echo "foo[$STATE] = [".$foo[trim($STATE)]."]"; For more detail see: http://www.shalos.com/trent/phpbug.tgz Any idea what might be wrong here? t. Trent W. Snyder P.S. from phpinfo(): './configure' '--with-apxs' '--with-mysql' '--with-interbase=/usr/local/interbase' '--enable-trans-sid' '--enable-trackvars' Apache/1.3.19 (Unix) PHP/4.0.5 mod_perl/1.25 mod_ssl/2.8.1 OpenSSL/0.9.6a ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13376&edit=1 -- 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]