[PHP-DEV] Bug #11562: PHP crashes everytime with little syntax error

2001-06-19 Thread wachters

From: [EMAIL PROTECTED]
Operating system: Windows 98
PHP version:  4.0.5
PHP Bug Type: Reproducible crash
Bug description:  PHP crashes everytime with little syntax error

create 3 files

test.php:


test1.php:


test2.php:



now run test.php.. PHP crashes. There's a little syntax error in test1.php: echo"a"); 
should be echo("a");



-- 
Edit Bug report at: http://bugs.php.net/?id=11562&edit=1



-- 
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] Re: Bug #11562 Updated: PHP crashes everytime with little syntax error

2001-06-20 Thread wachters

http://www.zend.com/shapshots/ : page not found

At 06:32 20-6-01 +, you wrote:
>ID: 11562
>Updated by: derick
>Reported By: [EMAIL PROTECTED]
>Old-Status: Open
>Status: Feedback
>Bug Type: Reproducible crash
>Operating system:
>PHP Version: 4.0.5
>Assigned To:
>Comments:
>
>I tried this on Linux with PHP 4.0.7dev as CGI executable and Apache 
>static module, it just gives me a parse error.
>Can you possibly try one of the snapshots from 
>http://www.zend.com/shapshots/ and see if the problem does still exists?
>
>Previous Comments:
>---
>
>[2001-06-19 11:13:48] [EMAIL PROTECTED]
>create 3 files
>
>test.php:
>include("test1.php");
>include("test2.php");
>?>
>
>test1.php:
>foreach($a as $b){
>echo"a");
>}
>?>
>
>test2.php:
>?>
>
>
>now run test.php.. PHP crashes. There's a little syntax error in 
>test1.php: echo"a"); should be echo("a");
>
>
>---
>
>
>
>ATTENTION! Do NOT reply to this email!
>To reply, use the web interface found at http://bugs.php.net/?id=11562&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] Re: Bug #11562 Updated: PHP crashes everytime with little syntax error

2001-06-21 Thread wachters

At 13:50 20-6-01 +, you wrote:
>ID: 11562
>Updated by: sniper
>Reported By: [EMAIL PROTECTED]
>Status: Feedback
>Bug Type: Reproducible crash
>Operating system:
>PHP Version: 4.0.5
>Assigned To:
>Comments:
>
>Another question: I assume it does NOT crash if you don't have errors in 
>your scripts?

YES.. when i correct the syntax error, it doesn't crash. Also when i remove 
the foreach, or when i remove the 2nd include, or when i remove the "a" 
from echo, or when i make a different syntax error, it doesn't crash. It 
only happens in this particular case. really weird. but i guess it's not so 
important, since it doesn't happen on Linux or any other OS, only windows. 
btw.. I use windows 98 with apache.


>Previous Comments:
>---
>
>[2001-06-20 02:32:26] [EMAIL PROTECTED]
>I tried this on Linux with PHP 4.0.7dev as CGI executable and Apache 
>static module, it just gives me a parse error.
>Can you possibly try one of the snapshots from 
>http://www.zend.com/shapshots/ and see if the problem does still exists?
>
>---
>
>[2001-06-19 11:13:48] [EMAIL PROTECTED]
>create 3 files
>
>test.php:
>include("test1.php");
>include("test2.php");
>?>
>
>test1.php:
>foreach($a as $b){
>echo"a");
>}
>?>
>
>test2.php:
>?>
>
>
>now run test.php.. PHP crashes. There's a little syntax error in 
>test1.php: echo"a"); should be echo("a");
>
>
>---
>
>
>
>ATTENTION! Do NOT reply to this email!
>To reply, use the web interface found at http://bugs.php.net/?id=11562&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] Bug #14561: strtotime() bug

2001-12-17 Thread wachters

From: [EMAIL PROTECTED]
Operating system: Linux ?.?
PHP version:  4.0.6
PHP Bug Type: Date/time related
Bug description:  strtotime() bug

strtotime("19:30 Dec 17"); // works okay
strtotime("Dec 17 19:30"); // returns -1

that's a bug i think. strangely enough the bug wasn't there in Php 4.0.5..
only in 4.0.6
gtx Bucky
-- 
Edit bug report at: http://bugs.php.net/?id=14561&edit=1


-- 
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]