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]
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
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
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
run while I'm in a deep
recursion?
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail : mail
lection to run while I'm in a deep
recursion?
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Ma
run while I'm in a deep
recursion?
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail : mail
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
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.
--
.--
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
ly
what I was looking for :)
Cheers,
Rob.
--
.-----.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail : mailto:[EMAIL PROTECTED] |
| Phone :
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:
>
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
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,
>
>
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
--
.-.
satisfying.
Kudos to all the PHP contributors.
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail : mailto:[EMAIL PROTECTED] |
| Phone : (613)
$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
ot incurring the overhead most programmers would rather skip on every
object copy.
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--
h = array();
$aHash['foo'] = 'fee';
foofunction( $aHash );
---
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:-
action.
Cheers,
Rob.
--
.-.
| Robert Cummings |
:-`.
| Webdeployer - Chief PHP and Java Programmer |
:--:
| Mail : mailto:[EMAIL PROTECTED] |
| Phone :
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
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
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?
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
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
25 matches
Mail list logo