<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">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. <br />
<br />
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. </div>
</div>
<div name="messageSignatureSection"><br />
- Patrick</div>
<div name="messageReplySection">On Jan 30, 2024 at 2:41 PM -0600, Matěj Cepl <mcepl@cepl.eu>, wrote:<br />
<blockquote type="cite" style="border-left-color: grey; border-left-width: thin; border-left-style: solid; margin: 5px 5px;padding-left: 10px;">On Tue Jan 30, 2024 at 10:33 AM CET, Aim for NaN wrote:<br />
<blockquote type="cite">This errors out, saying that std_list.i cannot be found for templates.i<br /></blockquote>
<br />
Yes, it seems to be missing in swig templates for<br />
PHP (if that’s the problem … I am one of few happy<br />
programmers who know absolutely nothing about PHP), but<br />
how difficult it would be to port those 23 LOC from Python<br />
https://github.com/swig/swig/blob/master/Lib/python/std_list.i to<br />
PHP?<br />
<br />
If you do so, please, do not forget to send it upstream.<br />
<br />
Best,<br />
<br />
Matěj<br />
--<br />
http://matej.ceplovi.cz/blog/, @mcepl@floss.social<br />
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8<br />
<br />
Experience is what you get when you don’t get what you want.<br />
-- Dan Stanford<br />
<br />
<br />
_______________________________________________<br />
sword-devel mailing list: sword-devel@crosswire.org<br />
http://crosswire.org/mailman/listinfo/sword-devel<br />
Instructions to unsubscribe/change your settings at above page<br /></blockquote>
</div>
</body>
</html>