Re: [PHP-DEV] Garbage Collection!

2002-05-17 Thread Robert Cummings
now, I guess somehow I have allocation going on somewhere else. Cheers, Rob. -- .-----. | Robert Cummings | :-`. | Webdeployer - Chief PHP and Java Programmer | :--: | Mail : mailto:[EMAIL PROTECTED]

Re: [PHP-DEV] Garbage Collection!

2002-05-17 Thread Robert Cummings
Zeev Suraski wrote: > > At 09:04 PM 5/17/2002, Robert Cummings wrote: > >To be honest I'm passing the return_value into my recursion > > Not sure what you mean by that - return_value is handled by the engine as > soon as you return from your function implementat

Re: [PHP-DEV] Garbage Collection!

2002-05-17 Thread Robert Cummings
Zeev Suraski wrote: > > At 08:53 PM 5/17/2002, Robert Cummings wrote: > >Let's say I do: > > > > zval *newVar; > > MAKE_STD_ZVAL( newVar ); > > ZEND_SET_SYMBOL( &EG(symbol_table), "varKey", newVar ); > > > >and then

[PHP-DEV] Garbage Collection!

2002-05-17 Thread Robert Cummings
ewVar, however, will the original newVar be garbaged collected or is this my responsibility now that I'm out of PHP land? Also if it is auto garbage collected, is there a way I can force garbage collection to run while I'm in a deep recursion? Cheers, Rob

[PHP-DEV] Help please.

2002-05-16 Thread Robert Cummings
run while I'm in a deep recursion? Cheers, Rob. -- .-. | Robert Cummings | :-`. | Webdeployer - Chief PHP and Java Programmer | :--: | Mail : mail

[PHP-DEV] Information request.

2002-05-15 Thread Robert Cummings
lection to run while I'm in a deep recursion? Cheers, Rob. -- .-. | Robert Cummings | :-`. | Webdeployer - Chief PHP and Java Programmer | :--: | Ma

[PHP-DEV] Information request.

2002-05-15 Thread Robert Cummings
run while I'm in a deep recursion? Cheers, Rob. -- .-. | Robert Cummings | :-`. | Webdeployer - Chief PHP and Java Programmer | :--: | Mail : mail

Re: [PHP-DEV] Probably a simple answer...

2002-05-14 Thread Robert Cummings
ar as I know it runs like CGI. Cheers, Rob. -- .-. | Robert Cummings | :-`. | Webdeployer - Chief PHP and Java Programmer | :--: | Mail : mailto:[EMAIL PROTECTED] | | Phone : (613) 731-4046 x.109

Re: [PHP-DEV] Probably a simple answer...

2002-05-14 Thread Robert Cummings
e so, I'd just like to know more about what I'm doing and since there isn't much in the way of docs for doing so, then sometimes I need to clear things up here. I apologize if it appears I hijacked your thread.. Cheers, Rob. -- .--

Re: [PHP-DEV] Probably a simple answer...

2002-05-14 Thread Robert Cummings
Robert Cummings wrote: > > brad lafountain wrote: > > > > Well i do believe that the zval string SHOULD be null termiated and have the > > length stored. > > You would think so, but on further thought, if that were the case you > wouldn't be able to store

Re: [PHP-DEV] Probably a simple answer...

2002-05-14 Thread Robert Cummings
ly what I was looking for :) Cheers, Rob. -- .-----. | Robert Cummings | :-`. | Webdeployer - Chief PHP and Java Programmer | :--: | Mail : mailto:[EMAIL PROTECTED] | | Phone :

Re: [PHP-DEV] Probably a simple answer...

2002-05-14 Thread Robert Cummings
e copy flag to true. Cheers, Rob. > > But zend does provied this api function > > zend_binary_zval_strcmp(zval *, zval*); > > - Brad > > --- Robert Cummings <[EMAIL PROTECTED]> wrote: >

[PHP-DEV] Probably a simple answer...

2002-05-14 Thread Robert Cummings
ine a macro or function would already exist, and I'm quite sure that the following simple invocation is asking for trouble: strcmp( Z_STRVAL_P( target1 ), Z_STRVAL_P( target2 ) ) == 0 Thanks for any information. Cheers, Rob. -- .-. | Rober

Re: [PHP-DEV] feature request for __LINE__, __FILE__ and trigger_error

2002-04-26 Thread Robert Cummings
king (80% done) on an extension for this. It should be finished in > > a few days. It doesn't feature the __C*__ things yet, but I can add a > > function for that too. > > > > I'll keep you posted, > >

Re: [PHP-DEV] The PHP Platform

2002-04-16 Thread Robert Cummings
ke Pepsi. > > But i'm a Pepsi agent that is trying to sell Pepsi to the Coca-cola factory! > > Dave Mertens > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php -- .-.

Re: [PHP-DEV] The PHP Platform

2002-04-15 Thread Robert Cummings
satisfying. Kudos to all the PHP contributors. Cheers, Rob. -- .-. | Robert Cummings | :-`. | Webdeployer - Chief PHP and Java Programmer | :--: | Mail : mailto:[EMAIL PROTECTED] | | Phone : (613)

Re: [PHP-DEV] object refrences (POSSIBLE MAJOR BUG)

2002-04-11 Thread Robert Cummings
$foo2->bar->tmp = "foo"; > var_dump($foo); > var_dump($foo2); > > // now > $foo->bar->do_nothing(); > $foo3 = $foo; > $foo3->bar->tmp = "bug"; > var_dump($foo); > var_dump($foo3); > ?> > > as soon as a function is ca

Re: [PHP-DEV] object refrences (POSSIBLE MAJOR BUG)

2002-04-11 Thread Robert Cummings
ot incurring the overhead most programmers would rather skip on every object copy. Cheers, Rob. -- .-. | Robert Cummings | :-`. | Webdeployer - Chief PHP and Java Programmer | :--

[PHP-DEV] Finding key in a hash...

2002-04-11 Thread Robert Cummings
h = array(); $aHash['foo'] = 'fee'; foofunction( $aHash ); --- Cheers, Rob. -- .-. | Robert Cummings | :-`. | Webdeployer - Chief PHP and Java Programmer | :-

[PHP-DEV] Re-entrant PHP

2002-04-05 Thread Robert Cummings
action. Cheers, Rob. -- .-. | Robert Cummings | :-`. | Webdeployer - Chief PHP and Java Programmer | :--: | Mail : mailto:[EMAIL PROTECTED] | | Phone :

[PHP-DEV] Bug #15156 Updated: apache segmentation fault (11) with php4

2002-02-01 Thread cummings
ID: 15156 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Reproducible crash Operating System: RedHat Linux, 2.4.2 kernel PHP Version: 4.1.1 New Comment: I did as you suggested. New apache and apache-devel rpms. Then installed PHP 4.1.1

[PHP-DEV] Bug #15156 Updated: apache segmentation fault (11) with php4

2002-01-31 Thread cummings
ID: 15156 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: RedHat Linux, 2.4.2 kernel PHP Version: 4.1.1 New Comment: In spite of my prior 'make clean' commands, I found that copies of libphp3.so and libphp4.so were pres

[PHP-DEV] Bug #15156 Updated: apache segmentation fault (11) with php4

2002-01-30 Thread cummings
ID: 15156 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Reproducible crash Operating System: RedHat Linux, 2.4.2 kernel PHP Version: 4.1.1 New Comment: Sorry if this is a stupid question but how do I turn off the xbit hack directive?

[PHP-DEV] Bug #15156 Updated: apache segmentation fault (11) with php4

2002-01-24 Thread cummings
ID: 15156 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: RedHat Linux, 2.4.2 kernel PHP Version: 4.1.1 New Comment: I've tried versions of PHP all the way back to 3.0.18 and I still get the same problems. Previous Co

[PHP-DEV] Bug #15156: apache segmentation fault (11) with php4

2002-01-21 Thread cummings
From: [EMAIL PROTECTED] Operating system: RedHat Linux, 2.4.2 kernel PHP version: 4.1.1 PHP Bug Type: Reproducible crash Bug description: apache segmentation fault (11) with php4 I recently installed PHP4 from the tarball distribution as a dynamically loaded module for Apach