[Xapian-discuss] Another PHP 5 wrapper...

Sam Liddicott sam at liddicott.com
Thu Apr 6 19:59:48 BST 2006

Daniel Ménard wrote:
> In my opinion, OO programming is really useable in PHP 5, not in PHP 4...
> Having a compatible (php 4 *and* php 5) OO binding will require somme 
> additional work (different constructors and destructors styles, for 
> example), and I'm afraid we won't be able to use recent interfaces 
> like iterators.
> Personnally, I would keep PHP 5 as the target for OO binding. If I was 
> to develop a PHP 4 project, I would use the actual (flat) swig 
> bindings : they work very well and are consistent with usual php 
> functions.
You know that the php swig bindings are object bindings too?
Subclassing works to a degree but C methods don't call php methods as 
this was dependant on better callback support in swig which didn't 
materialise before i had no time left.


More information about the Xapian-discuss mailing list