What's the rationale behind writing PHP as if it was JS? Unless I am mistaken it's like someone just did a transliteration from JS to PHP without even converting the JSDoc to PHPDoc.
>>stefan+(OP)
I actually based it on an existing PHP adapter for MySQL. Together with the AI, I went over all the features that needed refactoring, and what would work in Postgres and Sqlite the same way, etc. There were a ton of nuances.