Re: [PHP-DEV] in latest CVS, Parser Drops out at 1000+ lines... From: john singleton (jsinglet <email protected>)
Date: 08/28/00

Oh i am sorry about that. i should have been more clear.

the problem with exit() and the hanging is something that i can
reproduce....
but only on very long scripts that involve classes and such. if you would
really like to see the bug ( is it??) in action
i can set it up for you.

the SESSION problem is something entirely different. if you want - prehaps
you could forward this on to someone that might know a bit more.(as you say
you are not familiar with it)

here it is again for possible reference.

>--
> >
> >session_start();
> >
> >
> >
> >session_register('sessionID');
> >
> >$sessionID = session_id();
> >
> >
> >
> >header("Location: http://www.yahoo.com");
> >
> >--
> >
> >what will happen here - is that it will redirect you to yahoo.com BUT not
> >set the sessionid.
> >
> >however if you do
> >
> >--
> >
> >session_start();
> >
> >
> >
> >session_register('sessionID');
> >
> >$sessionID = session_id();
> >
> >echo "test";
> >
> >
> >header("Location: http://www.yahoo.com");
> >
> >
> >
> >--
> >
> >it will set the session id. this is bizare to me --- as the first example
> >again worked under linux and IIS+ISAPI.
> >
> >i have been looking at the raw headers - and the issue seems to be a
missing
> >'\n' but i am not sure..

JLS

----- Original Message -----
From: Zeev Suraski <zeev <email protected>>
To: john singleton <jsinglet <email protected>>
Cc: <php-dev <email protected>>
Sent: Monday, August 28, 2000 2:18 PM
Subject: Re: [PHP-DEV] in latest CVS, Parser Drops out at 1000+ lines...

> Because I'm not too familiar with the session module, I'm not sure I
> understand your example. I don't understand how it relates to the exit()
> issue you're describing, or to the 1000+ lines issue...
>
> Can you help me arrange things in my mind? :)
>
> 1. Were you able to reproduce the lockup problem in a small script, or do
> you still think it's related to a huge 1000+ lines script?
> 2. What's exactly this exit() issue? Can you reproduce it in a very
small
> script (preferably, without using sessions?)
>
> Zeev
>
> At 20:53 28-08-00, john singleton wrote:
> >Zeev -
> >actually - it does. however i found the problem. apperently calling exit
> >after
> >sending a header to the browser does not work. that hangs the browser.
> >this is not the way the ISAPI module behaves oddly.
> >
> >do you know if this is also the way the CGI is soposed to be behaving?
> >
> >example...
> >
> >--
> >
> >session_start();
> >
> >
> >
> >session_register('sessionID');
> >
> >$sessionID = session_id();
> >
> >
> >
> >header("Location: http://www.yahoo.com");
> >
> >--
> >
> >what will happen here - is that it will redirect you to yahoo.com BUT not
> >set the sessionid.
> >
> >however if you do
> >
> >--
> >
> >session_start();
> >
> >
> >
> >session_register('sessionID');
> >
> >$sessionID = session_id();
> >
> >echo "test";
> >
> >
> >header("Location: http://www.yahoo.com");
> >
> >
> >
> >--
> >
> >it will set the session id. this is bizare to me --- as the first example
> >again worked under linux and IIS+ISAPI.
> >
> >i have been looking at the raw headers - and the issue seems to be a
missing
> >'\n' but i am not sure..
> >
> >JLS
> >
> >
> >
> >
> >
> >
> >
> >
> >----- Original Message -----
> >From: Zeev Suraski <zeev <email protected>>
> >To: jsinglet <jsinglet <email protected>>; <php-dev <email protected>>
> >Sent: Monday, August 28, 2000 3:18 AM
> >Subject: Re: [PHP-DEV] in latest CVS, Parser Drops out at 1000+ lines...
> >
> >
> > > Can you test if it works well from the command line? Or does it hang
as
> >well?
> > > Currently, Windows builds do not have memory_limit enabled. We may
change
> > > this in the future.
> > >
> > > Zeev
> > >
> > > At 07:33 28/08/2000, jsinglet wrote:
> > > >The Configuration:
> > > >winntserver 4.0
> > > >CGI(ts) + IIS4
> > > >
> > > >I am having an issue with the Latest Cvs of php (last night) - and
for
> >that
> > > >matter for the last few weeks.
> > > >
> > > >The script i am tring to execute is much larger than 1000 lines of
code -
> > > >and PHP is exibiting some odd behavior.
> > > >When ever i try execute a script that is around 1000 or so lines long
PHP
> > > >just hangs for a very long time. the process
> > > >never times out and it never stops. I should note that the ISAPI
module
> > > >executes the exact same code without problem
> > > >- although the ISAPI module is unusable for other reasons.
> > > > it requires a complete reboot to resolve the problem. i dont know
if
> >this
> > > >is a memory issue,
> > > >or what - but it might help to note that PHP is completely ignoring
the
> > > >memor_limit directive. is this a known issue? can i resolve it?
> > > >
> > > >
> > > >any help is appericated.
> > > >JLS
> > > >
> > > >
> > > >
> > > >--
> > > >PHP Development Mailing List <http://www.php.net/>
> > > >To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> > > >For additional commands, e-mail: php-dev-help <email protected>
> > > >To contact the list administrators, e-mail:
php-list-admin <email protected>
> > >
> > > --
> > > Zeev Suraski <zeev <email protected>>
> > > http://www.zend.com/
> > >
> > >
> > > --
> > > PHP Development Mailing List <http://www.php.net/>
> > > To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> > > For additional commands, e-mail: php-dev-help <email protected>
> > > To contact the list administrators, e-mail:
php-list-admin <email protected>
> > >
> > >
>
> --
> Zeev Suraski <zeev <email protected>>
> http://www.zend.com/
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>