FWIW, after a bit more investigating, changing the call in q() to the
factory method getY() from:
$v =& $x->getY("here");
to
$GLOBALS['v'] =& $x->getY("here");
the var_dump($v) in the global section of code works as expected.
-Bob
> I saw this behavior this morning and was curious if I'd
I saw this behavior this morning and was curious if I'd tripped a bug
in PHP (running version 4.3.7 at the moment). I scanned through the
bug list for this particular bug but didn't find it. I'm running it
by you all because I'm not intimately familiar with the reference
system to really be sure
> To be honest I am kinda hot and cold about how close it is to the
> ternary operator. On the one hand the two could be easily confused, but
> on the other hand they are in fact very similar in function in which
> case we could "market" (meaning document) them as being related.
>
> Ternary op
> > zeevWed Feb 11 06:46:21 2004 EDT
> >
> > Modified files:
> > /php-src/ext/standard dl.c
> > Log:
> > Finally add a notice to hint people that using dl() is a bad idea...
>
> > + zend_error(E_STRICT, "dl() is deprecated - use > extension= in
I'm looking to update the libical extension I wrote awhile back to
use the new features of ZE2 in PHP5 (libical has been written in
such a manner that the features of ZE2 are an excellent match to
libical's interface). I've been looking over the
default exception class in Zend/zend_default_classes
(I'm sending this to the internals list partly in the hope that
an experienced Zend/extension developer will take a quick
look over my code and point out any obvious mistakes I've
made ;)
This is a prelimiary release of a PHP interface to libical.
Libical is a C library that can read/modify/write
Please disregard this, I found the problem - namely,
zend_register_internal_class should be called once on module
initialization per internal class, not once per class instantiation.
-Bob
> I'm trying to get a libical binding going for PHP (v4.3.2, with plans to
> port to 5.0 as soon as it works
(Apologies if this is the wrong list or if the answer to this has
escaped my searches, but I'm at my wit's end at the moment).
I'm trying to get a libical binding going for PHP (v4.3.2, with plans to
port to 5.0 as soon as it works with v4.3.x). At the moment,
this PHP code works:
$x = icalcom