> As I wrote, I've looked around existing extensions which redefine function > names > (SPL and zip) and there I found those Macro-Definitions and thought this > could be > the solution. > Fair enough....I must not have read that in my review of the thread...
>>> #define string_G(v) (string_globals.v) > Actually I don't know where this come from and why it's in. > I don't have any globals. ext.skel? Copied from somewhere? Don't know. > ext_skel would have upper-cased it for you when you ran the script... but yeah, no big since you're not using extension globals anyway... Just some cruft to clean out.... > If there is any interest in OO-Representation of primitive types let me > know, > So I could release them as PECL-extension. > Ah yes, that was one thing I was also going to mention. Using primitive/common names is discouraged for non-core extensions (at least the ones we release on pecl.php.net and can exercise some amount of control over). For an answer to why: Refer to Steph's summary of the Date Wars (pear in that case, but the same concept applies). -Sara -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php