From: <php...@li...> - 2023-02-09 16:49:33
|
I'm not sure if it still works, but at a certain point I moved to https://github.com/belgattitude/soluble-japha as the client but it comes with some refactoring. Good luck On Wed, Feb 8, 2023 at 8:59 PM php-java-bridge-users--- via php-java-bridge-users <php...@li...> wrote: > Good day - > I'm upgrading an application that uses JavaBridge to PHP 8.1. When I do, > the java.inc file errors on "Return type of java_objectIterator::current() > should either be compatible with Iterator::current() ...." basically > indicating that JavaBridge is overriding a PHP built-in class/interface > (Iterator). But in PHP 8, return types of built-in classes/interfaces are > declared, and therefore return types of their implementations/extensions > also have to be declared. Is there a version of the java.inc file that > takes this into account for PHP 8.1 compatibility, or do you recommend that > the file be manually changed, or another course of action? Thank you! > > > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |