Quoting Marcus Boerger <[EMAIL PROTECTED]>:
> In fact it may be related. As i said before it is one of the ways to get to
> a class.
>
The class is related to the object. The method is related to the class. Is the
method related to the object? It is not.
There are many indirect ways to get to a
> Quoting Josh Fuhs <[EMAIL PROTECTED]>:
> If I'm not mistaken, Java does not allow calls to static methods via
> object instances.
Sorry, I retract this. Someone just showed me an example of it.
But it still seems like a bad practice.
Josh
--
PHP Internals - PHP Runtime
Sorry, mis-click.
Quoting Josh Fuhs <[EMAIL PROTECTED]>:
> If I'm not mistaken, Java does not allow calls to static methods via object
> instances. It simply doesn't make sense to couple the unecessary object
> instance
> into a method call in which it has absolu
If I'm not mistaken, Java does not allow calls to static methods via object
instances. It simply doesn't make sense to couple the unecessary object instance
into a method call in which it has absolutely no bearing.
If the object has nothing to do with the operation, then there's no point for it
to
I've included a script which reproduces this bug.
System details include:
i386 arch
Linux-2.4.23
Apache-1.3.27
The configuration is standard with MySQL.
Using php.ini-dist with some include_path modifications.
The included script also demonstrates a workaround until this can b
Hello,
I requested some time ago that zend_parse_parameters() be altered to accept "Z"
as a parameter type in order to be able to retrieve zval**'s instead of zval*'s.
I believe I was told that this change would be applied, but I haven't yet seen
it appear in any of the recent distributions.
I
Hello,
I'm getting a problem with $this being defined where it shouldn't be. The code
that I'm writing is a little weird in order to compensate for the lack of some
OO features in PHP4.
The PHP script at the bottom should give the behavior I'm referring to.
Is PHP5 in a more-or-less stable state
gs as clearly as I understand them. If I'm
mis-understanding something, please let me know.
Josh
Quoting Andi Gutmans <[EMAIL PROTECTED]>:
> I don't have any real problem with this patch. However, I didn't quite
> understand why you need it. Can you please remind me
How will I know if this gets included in the CVS source repository?
If it doesn't, could someone please explain why not and give me an alternative
solution to my problem?
I'm currently using the patched version of PHP and I don't want to upgrade
unless I know this change is included.
Thanks
Jos
Certainly.
One cannot use the convert_to_*_ex() functions unless you have a zval**. A
couple people have suggested that I just use "z/", but this forces a separation
and I may not need that.
I want to be able to pass an array or an object to a group of functions. An
object simply gets converte
One more time. I hope it's not too obvious that I'm new at this :)
This patch would add a 'Z' flag to zend_parse_parameters*().
Example:
#typdef zvar zval**
zvar a_zvar;
zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z", &zvar);
Josh
Index: zend_API.c
=
Second time around.
This patch would add a 'Z' flag to zend_parse_parameters*().
Example:
#typdef zvar zval**
zvar a_zvar;
zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z", &zvar);
Index: zend_API.c
===
RCS file: /
7;:
---
> case 'z': case 'Z':
Josh
Quoting Marcus Börger <[EMAIL PROTECTED]>:
> Hello fuhs,
>
> Tuesday, July 8, 2003, 11:58:24 PM, you wrote:
>
> fpe> Ok, thanks.
>
> fpe> Is there a reason why this functionality is
Ok, thanks.
Is there a reason why this functionality is not supported in the new API?
Josh
Quoting Sascha Schumann <[EMAIL PROTECTED]>:
> On Tue, 8 Jul 2003 [EMAIL PROTECTED] wrote:
>
> > Hello,
> >
> > I would like to use zend_parse_parameters() to retrieve a zval** but it
> > currently does
Hello,
I would like to use zend_parse_parameters() to retrieve a zval** but it
currently does not do this. get_parameters() which does return zval**'s has been
deprecated. I don't want to use the '/' option with zend_parse_parameters()
because zval separation may not be necessary, and I would like
Quoting Marcus Börger <[EMAIL PROTECTED]>:
> Hello fuhs,
>
> Friday, June 27, 2003, 8:46:41 PM, you wrote:
>
> fpe> Quoting Andrei Zmievski <[EMAIL PROTECTED]>:
>
> >>
> >> If you want zval**'s, use zend_get_parameters().
> >>
Quoting Andrei Zmievski <[EMAIL PROTECTED]>:
>
> If you want zval**'s, use zend_get_parameters().
>
> -Andrei
>
How does one get zval**'s in a non-deprecated way?
Josh
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I propose that a new type, 'Z', be added in order to allow the extension coders
access to the zval** which was available with the now deprecated
zend_get_parameters().
I came to this conclusion after tracing some segfaults to a section of code
similar to this:
zval *zend_value;
if
Hello,
I'm new to the world of contributing code for open source projects. Please let
me know if I'm doing something incorrectly.
I propose that a new type, 'Z', be added in order to allow the extension coders
access to the zval** which was available with the now deprecated
zend_get_parameters().
19 matches
Mail list logo