Pure C code has access to PHP5's low level object API, so it can produce a really intuitive interface (object persistence), that you can't do from PHP code. C code uses a bit less memory and a lot less CPU time
Just curious - which access do you need that PHP API doesn't give?
And one more point. In C you can implement complex object oriented structures (lot of classes with fancy virtual functions) with small
What do you mean by virtual functions? If you mean C++ meaning, all class methods in PHP are "virtual".
overhead, while in PHP this structure could mean a lot of overhead. For example separate class for every column type, and separate object for every persistent value is unimaginable in PHP, but sounds OK in C. This
Why would it be that different in C - you'd still have to define the same classes and same objects and play by the engine rules?
-- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php