I attempted to compile the bindings for PHP as well a while ago, but, if I remember correctly, these bindings were made for PHP 4 and are not compatible with modern PHP.
So I started messing around and built a mostly working PHP extension for PHP 8.x. I am not very knowledgeable about C, C++, or PHP internals, but the extension works for my use case. If you’d like, I’d be happy to send you the code and you can do whatever you want with it. - Patrick On Jan 30, 2024 at 2:41 PM -0600, Matěj Cepl <mc...@cepl.eu>, wrote: > On Tue Jan 30, 2024 at 10:33 AM CET, Aim for NaN wrote: > > This errors out, saying that std_list.i cannot be found for templates.i > > Yes, it seems to be missing in swig templates for > PHP (if that’s the problem … I am one of few happy > programmers who know absolutely nothing about PHP), but > how difficult it would be to port those 23 LOC from Python > https://github.com/swig/swig/blob/master/Lib/python/std_list.i to > PHP? > > If you do so, please, do not forget to send it upstream. > > Best, > > Matěj > -- > http://matej.ceplovi.cz/blog/, @mcepl@floss.social > GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 > > Experience is what you get when you don’t get what you want. > -- Dan Stanford > > > _______________________________________________ > sword-devel mailing list: sword-devel@crosswire.org > http://crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page