[PHP-DEV] Bug #10026 Updated: For loop always execute

2001-06-18 Thread svein
I dont know how to make another script for you as i cant reproduce the error in any 5 line of code. - Svein --- [2001-04-04 08:28:35] [EMAIL PROTECTED] I asked for 'self-containing' script. ie. one that doesn'

[PHP-DEV] PHP 4.0 Bug #10026: For loop always execute

2001-03-27 Thread svein
From: [EMAIL PROTECTED] Operating system: RH Linux 6.1 PHP version: 4.0.4pl1 PHP Bug Type: *General Issues Bug description: For loop always execute I have a strange situation; I have this code : $c = count($myarray); echo $c . ''; for ($i=0; $i<$c; $i++) { code goes h

[PHP-DEV] PHP 4.0 Bug #10026 Updated: For loop always execute

2001-03-27 Thread svein
ID: 10026 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: *General Issues Description: For loop always execute The code submitted is inside a function that is called recursively and its not exact copy of the code. I've also tried to change the for loop to a while loop with the same r

[PHP-DEV] PHP 4.0 Bug #10026 Updated: For loop always execute

2001-03-29 Thread svein
f some of you want it i can mail you the file so you can see the things in perspective. - Svein Previous Comments: --- [2001-03-29 11:55:23] [EMAIL PROTECTED] I can't reproduce this (using code below): Could

[PHP-DEV] PHP 4.0 Bug #10026 Updated: For loop always execute

2001-03-29 Thread svein
($c>0) { echo "c is greater than 0"; for (...) { ...code } } --- then IF c is 0 the echo statement doesnt execute BUT the for loop executes... I cant figure out why... If some of you want it i can mail you the file so you can see the things in persp

[PHP-DEV] PHP 4.0 Bug #10026 Updated: For loop always execute

2001-04-04 Thread svein
es INSIDE a recursively called function. I've also tried this one : --- $c = count($myarray); if ($c>0) { echo "c is greater than 0"; for (...) { ...code } } --- then IF c is 0 the echo statement doesnt execute BUT the for loop executes... I cant figure out

[PHP-DEV] PHP 4.0 Bug #10026 Updated: For loop always execute

2001-04-04 Thread svein
ID: 10026 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: *General Issues Description: For loop always execute The parameter passed to the function i prev. post is the stricture returned from imag_fetchstructure... - Svein Previous Comments

[PHP-DEV] PHP 4.0 Bug #10026 Updated: For loop always execute

2001-04-04 Thread svein
cant reproduce the error in any 5 line of code. - Svein Previous Comments: --- [2001-04-04 08:28:35] [EMAIL PROTECTED] I asked for 'self-containing' script. ie. one that doesn't need anything outside but works

[PHP-DEV] Bug #10490: xslt_process() generates fatal error

2001-04-25 Thread svein-roar . nilsen
t to lay down and die. And since it should not corrupt the PHP internals in any way, I would at least expect to be able to handle it with set_error_handler(). Svein Roar Nilsen Norwegian Hydrographic Services -- Edit Bug report at: http://bugs.php.net/?id=10490&edit=1 -- PHP Developmen