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
I don't quite understand how this is of added value over the existing "z".
Can you please explain in more detail?
Thanks,
Andi
At 07:05 PM 8/7/2003 -0500, [EMAIL PROTECTED] wrote:
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_param
Hi iliaa,
You made a change to this file rev 1.48 with the comment
Fixed a crash when text is added before a font is specified
This fix makes the module compile with warnings and crash on Win32 (when compiled with
ming-cvs).
This fix is not needed at the ming functions do check for a valid fon
On Tue, Jul 08, 2003 at 07:05:18PM -0500, [EMAIL PROTECTED] wrote:
> 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_
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: /
make it a unified diff (see the README.SUBMITTING-PATCH doc in the php
source).
You probably want to CC the revised patch to [EMAIL PROTECTED] as well as the
list.
--Wez.
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Marcus Börger" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: T
I had asked about this before, but I ran into some kind of confirmation thing
and the discussion stopped.
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);
Zend/zend
Hello fuhs,
Tuesday, July 8, 2003, 11:58:24 PM, you wrote:
fpe> Ok, thanks.
fpe> Is there a reason why this functionality is not supported in the new API?
Lazyness?
Provide a patch and maybe someone adds it. I guess you're not the own who ran
into this :-)
--
Best regards,
Marcus
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
On Tue, 8 Jul 2003 23:35:14 +0200
[EMAIL PROTECTED] (Marcus Börger) wrote:
[snip]
> - the method is defined in class a so pre is correct
> - backtrace @[0] sees the top caller class that's b that's correct
> - get_class($var) sees the class of the variable. In you static case that is
> NULL whic
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 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()
> becaus
Hi, I'm not sure of the correct submission procedures, but I have just
completed a compatiblity patch on the gd extension to allow it to use GD
2.0.12's gdImageCopyRotated function.
Based on what I have read on the newsgroups, I have not incorporated the
function from Boutell's library but rath
Hello Phil,
Tuesday, July 8, 2003, 11:11:49 PM, you wrote:
PD> Is there a function that can be used to retrieve the name of a statically
PD> called child class from within an inherited method? debug_backtrace() works
PD> for this purpose, but I've seen people say that it is slow. Consider the
PD>
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
Is there a function that can be used to retrieve the name of a statically
called child class from within an inherited method? debug_backtrace() works
for this purpose, but I've seen people say that it is slow. Consider the
example code below. Is this a planned feature for PHP 5, or could this
possi
OCI_SHARED mode was used as in initilizaiton param to OCIInit() in php
4.3.2. This caused problems in cgi mode or cli mode (and some other
conditions w/the apache module) because the OCI libs seg fault while
attempting to use the same shared memory areas between processes. They
must use a static
That's not the way exceptions work in any language I know.
On Tuesday, July 8, 2003, at 01:29 PM, Greg Beaver wrote:
Hi,
In experimenting with exceptions, I notice that throw() always jumps
to the first catch() (as expected), and there is no way to return to
the line after the throw(). Are w
> In experimenting with exceptions, I notice that throw() always jumps to
> the first catch() (as expected), and there is no way to return to the
> line after the throw().
That is precisely how exceptions are supposed to work.
> Are we forced to use trigger_error() or some
> custom function for
Hi,
In experimenting with exceptions, I notice that throw() always jumps to
the first catch() (as expected), and there is no way to return to the
line after the throw(). Are we forced to use trigger_error() or some
custom function for this kind of exception, or is there a way to tell
PHP 5 "g
Hi Zeev,
Casting offset to long should be enough.
- Frank
> C:\Projects\php5\Zend\zend_alloc.c(231) : warning C4018: '<' :
> signed/unsigned mismatch
>
> It appears that VC doesn't like the comparison:
> lval < LONG_MAX - offset
>
> because offset is unsigned, it turns LONG_MAX-offset to unsi
Hi,
could I have cvs karma for the PEAR module in order to add and maintain
the PHP_Parser package?
My username is CelloG
Thanks,
Greg
--
phpDocumentor
http://www.phpdoc.org
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
C:\Projects\php5\Zend\zend_alloc.c(231) : warning C4018: '<' :
signed/unsigned mismatch
It appears that VC doesn't like the comparison:
lval < LONG_MAX - offset
because offset is unsigned, it turns LONG_MAX-offset to unsigned as well,
and ends up comparing an signed with unsigned. Maybe we shou
On Tue, 8 Jul 2003 01:09:00 +0200
"Edin Kadribasic" <[EMAIL PROTECTED]> wrote:
> Tried latest stable snap from http://snaps.php.net/ ?
Yep, I discovered this bug too.
It seems that this bug exists only in 4.3.2, but 4.3.1 & 4.3.3rc1 seem to be working
almost ok.
As I understand this problem is co
At 02:37 08/07/2003, l0t3k wrote:
Zeev,
i know we're in beta, but has the API version number been bumped
subsequent to these changes ?
Not yet, but it should before beta 2. There are a few other API-breaking
changes still to be committed...
Zeev
--
PHP Internals - PHP Runtime Development Mai
25 matches
Mail list logo