Re: Proposed Extension: Flite (a small, fast run time synthesis engine)

From: Date: Sat, 28 Jan 2006 07:02:20 +0000
Subject: Re: Proposed Extension: Flite (a small, fast run time synthesis engine)
References: 1 2 3 4 5 6 7 8 9  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3456@lists.php.net to get a copy of this message
On 1/24/06, Sara Golemon <pollita@php.net> wrote: > > Sure, not only is it a more tried-and-tested (and familiar) method, but > it's > the only PHP4 compatable one. Which brings up one thing... Seems like > this > implementation could be made ZE1 compatable with a few conditional defines > (though that'd preclude going the overloaded zend_object route of course).. > PHP4 is pretty crusty and probably not worth supporting, but it's a > thought.... > > Anyway, on the subject of zend_object overloading.... I wouldn't call it a > simple example, but Runkit_Sandbox does this (and then some), when I've > got > a minute I'll see if I can cobble a simpler one together. > No need for the simpler code sample. The code in Runkit_Sandbox was enough for me to figure out what I was supposed to be doing. Thanks for the tip! I like that so much better than the old method as it was technically possible to correct corrupt the object member which stored the pointer. It seems either impossible, or much much harder to do using this new method. -Jeremy -- --------------------------- Jeremy Johnstone http://www.jeremyjohnstone.com jsjohnst@php.net

« previous php.pecl.dev (#3456) next »