Re: [PHP-DEV] Odd reference => global bug (followup)?

2004-10-04 Thread Bob Glamm
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

[PHP-DEV] Odd reference => global bug?

2004-10-04 Thread Bob Glamm
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

Re: [PHP-DEV] what happened to that new isset() like language

2004-07-09 Thread Bob Glamm
> 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

Re: [PHP-DEV] Deprecate dl()???

2004-02-11 Thread Bob Glamm
> > 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

[PHP-DEV] ZE2/PHP5 API re: extension questions

2004-01-13 Thread Bob Glamm
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

[PHP-DEV] PHP <-> libical bindings (alpha)

2003-08-22 Thread Bob Glamm
(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

Re: [PHP-DEV] New extension; nested function calls failing

2003-08-14 Thread Bob Glamm
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

[PHP-DEV] New extension; nested function calls failing

2003-08-14 Thread Bob Glamm
(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