[PHP-DEV] PHP 4.0 Bug #9971 Updated: Crash

2001-03-26 Thread lyric

ID: 9971
Updated by: lyric
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: Scripting Engine problem
Assigned To: 
Comments:

Closing

Previous Comments:
---

[2001-03-26 16:38:21] [EMAIL PROTECTED]
Two things.

1) You should use "$i == 10" for a comparison. By using a single equals, you're 
assigning 10 to $i, which is always "true".

2) What do you expect it to do?  If you want to loop to iterate 10 times, you should 
use "$i<10" (the loop continues while the second term is TRUE)


---

[2001-03-24 12:39:35] [EMAIL PROTECTED]
I use PHP4.0.5dev on NT4.0
the code is simple 










---

[2001-03-24 12:07:35] [EMAIL PROTECTED]
Can you post the whole source of a script that crashes on the web somewhere? (Or if 
it's small, put it into this bug report). Can you also tell which version of PHP4 you 
are using?

---

[2001-03-24 12:04:20] [EMAIL PROTECTED]
I get a crash, my whole system stops and I have to restart usually.

---

[2001-03-24 11:57:10] [EMAIL PROTECTED]
I get a crash, my whole system stops and I have to restart usually.

---

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9971&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9971 Updated: Crash

2001-03-26 Thread lyric

ID: 9971
Updated by: lyric
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Scripting Engine problem
Assigned To: 
Comments:

Two things.

1) You should use "$i == 10" for a comparison. By using a single equals, you're 
assigning 10 to $i, which is always "true".

2) What do you expect it to do?  If you want to loop to iterate 10 times, you should 
use "$i<10" (the loop continues while the second term is TRUE)


Previous Comments:
---

[2001-03-24 12:39:35] [EMAIL PROTECTED]
I use PHP4.0.5dev on NT4.0
the code is simple 










---

[2001-03-24 12:07:35] [EMAIL PROTECTED]
Can you post the whole source of a script that crashes on the web somewhere? (Or if 
it's small, put it into this bug report). Can you also tell which version of PHP4 you 
are using?

---

[2001-03-24 12:04:20] [EMAIL PROTECTED]
I get a crash, my whole system stops and I have to restart usually.

---

[2001-03-24 11:57:10] [EMAIL PROTECTED]
I get a crash, my whole system stops and I have to restart usually.

---

[2001-03-24 11:31:00] [EMAIL PROTECTED]
Do you get a crash or a parse error?

---

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9971&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9971 Updated: Crash

2001-03-24 Thread ufuk . kocolu

ID: 9971
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Scripting Engine problem
Description: Crash

I use PHP4.0.5dev on NT4.0
the code is simple 










Previous Comments:
---

[2001-03-24 12:07:35] [EMAIL PROTECTED]
Can you post the whole source of a script that crashes on the web somewhere? (Or if 
it's small, put it into this bug report). Can you also tell which version of PHP4 you 
are using?

---

[2001-03-24 12:04:20] [EMAIL PROTECTED]
I get a crash, my whole system stops and I have to restart usually.

---

[2001-03-24 11:57:10] [EMAIL PROTECTED]
I get a crash, my whole system stops and I have to restart usually.

---

[2001-03-24 11:31:00] [EMAIL PROTECTED]
Do you get a crash or a parse error?

---

[2001-03-24 11:26:02] [EMAIL PROTECTED]
When I tried to create a for loop like (for $i = 0; $i = 10; $i++) ... it crashes out. 
After I changed the code like 
for ($i = 0; $i < 10; $i++) it is ok. Sometimes I have problem with $i++ too in for 
loops so I change them to $i+=$x.

---

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.

Full Bug description available at: http://bugs.php.net/?id=9971


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9971 Updated: Crash

2001-03-24 Thread derick

ID: 9971
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Scripting Engine problem
Assigned To: 
Comments:

Can you post the whole source of a script that crashes on the web somewhere? (Or if 
it's small, put it into this bug report). Can you also tell which version of PHP4 you 
are using?

Previous Comments:
---

[2001-03-24 12:04:20] [EMAIL PROTECTED]
I get a crash, my whole system stops and I have to restart usually.

---

[2001-03-24 11:57:10] [EMAIL PROTECTED]
I get a crash, my whole system stops and I have to restart usually.

---

[2001-03-24 11:31:00] [EMAIL PROTECTED]
Do you get a crash or a parse error?

---

[2001-03-24 11:26:02] [EMAIL PROTECTED]
When I tried to create a for loop like (for $i = 0; $i = 10; $i++) ... it crashes out. 
After I changed the code like 
for ($i = 0; $i < 10; $i++) it is ok. Sometimes I have problem with $i++ too in for 
loops so I change them to $i+=$x.

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9971&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9971 Updated: Crash

2001-03-24 Thread ufuk . kocolu

ID: 9971
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Scripting Engine problem
Description: Crash

I get a crash, my whole system stops and I have to restart usually.

Previous Comments:
---

[2001-03-24 11:57:10] [EMAIL PROTECTED]
I get a crash, my whole system stops and I have to restart usually.

---

[2001-03-24 11:31:00] [EMAIL PROTECTED]
Do you get a crash or a parse error?

---

[2001-03-24 11:26:02] [EMAIL PROTECTED]
When I tried to create a for loop like (for $i = 0; $i = 10; $i++) ... it crashes out. 
After I changed the code like 
for ($i = 0; $i < 10; $i++) it is ok. Sometimes I have problem with $i++ too in for 
loops so I change them to $i+=$x.

---


Full Bug description available at: http://bugs.php.net/?id=9971


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9971 Updated: Crash

2001-03-24 Thread ufuk . kocolu

ID: 9971
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Scripting Engine problem
Description: Crash

I get a crash, my whole system stops and I have to restart usually.

Previous Comments:
---

[2001-03-24 11:31:00] [EMAIL PROTECTED]
Do you get a crash or a parse error?

---

[2001-03-24 11:26:02] [EMAIL PROTECTED]
When I tried to create a for loop like (for $i = 0; $i = 10; $i++) ... it crashes out. 
After I changed the code like 
for ($i = 0; $i < 10; $i++) it is ok. Sometimes I have problem with $i++ too in for 
loops so I change them to $i+=$x.

---


Full Bug description available at: http://bugs.php.net/?id=9971


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9971 Updated: Crash

2001-03-24 Thread derick

ID: 9971
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Scripting Engine problem
Assigned To: 
Comments:

Do you get a crash or a parse error?

Previous Comments:
---

[2001-03-24 11:26:02] [EMAIL PROTECTED]
When I tried to create a for loop like (for $i = 0; $i = 10; $i++) ... it crashes out. 
After I changed the code like 
for ($i = 0; $i < 10; $i++) it is ok. Sometimes I have problem with $i++ too in for 
loops so I change them to $i+=$x.

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9971&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]