Mantis - Quercus
Viewing Issue Advanced Details
6215 trivial always 02-13-19 07:22 11-08-23 00:12
vahodof  
 
normal  
new  
open  
none    
none  
0006215: 'RecursiveArrayIterator' is an unknown class name
For my hobbies project I try to execute some php code from(https://github.com/jstar88/opbe) [^] and it's always throw com.caucho.quercus.QuercusErrorException: 'RecursiveArrayIterator' is an unknown class name.


Did i mist some thing or is it unsupported iterator type?


runing code:
public class Application {
    public static void main(String[] ars) throws IOException {
        QuercusEngine engine = new QuercusEngine();
        engine.setOutputStream(System.out);
        engine.executeFile("D:\\java_project\\feet-optimize\\engine\\opbe-master\\tests\\runnable\\MyTest.php");
    }
}
gradle inclide: compile group: 'com.caucho', name: 'quercus', version: '4.0.60'
custom includer.php:
 <?php
/**
 https://github.com/jstar88/opbe [^]
 */

define('OPBEPATH', "engine".DIRECTORY_SEPARATOR."opbe-master".DIRECTORY_SEPARATOR);
require (OPBEPATH.'utils'.DIRECTORY_SEPARATOR.'GeometricDistribution.php');
require (OPBEPATH.'utils'.DIRECTORY_SEPARATOR.'Gauss.php');
require (OPBEPATH.'utils'.DIRECTORY_SEPARATOR.'DebugManager.php');
require (OPBEPATH.'utils'.DIRECTORY_SEPARATOR.'IterableUtil.php');
require (OPBEPATH.'utils'.DIRECTORY_SEPARATOR.'Math.php');
require (OPBEPATH.'utils'.DIRECTORY_SEPARATOR.'Number.php');
require (OPBEPATH.'utils'.DIRECTORY_SEPARATOR.'Events.php');
require (OPBEPATH.'utils'.DIRECTORY_SEPARATOR.'Lang.php');
require (OPBEPATH.'utils'.DIRECTORY_SEPARATOR.'LangManager.php');
require (OPBEPATH.'models'.DIRECTORY_SEPARATOR.'Type.php');
require (OPBEPATH.'models'.DIRECTORY_SEPARATOR.'ShipType.php');
require (OPBEPATH.'models'.DIRECTORY_SEPARATOR.'Fleet.php');
require (OPBEPATH.'models'.DIRECTORY_SEPARATOR.'HomeFleet.php');
require (OPBEPATH.'models'.DIRECTORY_SEPARATOR.'Defense.php');
require (OPBEPATH.'models'.DIRECTORY_SEPARATOR.'Ship.php');
require (OPBEPATH.'models'.DIRECTORY_SEPARATOR.'Player.php');
require (OPBEPATH.'models'.DIRECTORY_SEPARATOR.'PlayerGroup.php');
require (OPBEPATH.'combatObject'.DIRECTORY_SEPARATOR.'Fire.php');
require (OPBEPATH.'combatObject'.DIRECTORY_SEPARATOR.'PhysicShot.php');
require (OPBEPATH.'combatObject'.DIRECTORY_SEPARATOR.'ShipsCleaner.php');
require (OPBEPATH.'combatObject'.DIRECTORY_SEPARATOR.'FireManager.php');
require (OPBEPATH.'core'.DIRECTORY_SEPARATOR.'Battle.php');
require (OPBEPATH.'core'.DIRECTORY_SEPARATOR.'BattleReport.php');
require (OPBEPATH.'core'.DIRECTORY_SEPARATOR.'Round.php');
require (OPBEPATH.'constants'.DIRECTORY_SEPARATOR.'battle_constants.php');
?>
 MyTest.php [^] (3,169 bytes) 02-13-19 07:22

There are no notes attached to this issue.