(0003628)
|
koreth
|
12-14-08 15:21
|
|
Okay, if you're talking changes to "import", it would be kind of neat if there were a function-based equivalent, e.g.,
resin_import('com.mycompany.MyClass');
Then you could do
if (function_exists('resin_import')) {
resin_import('com.mycompany.MyClass');
} else {
include_once 'myclass-php-implementation.php';
}
to support running the same code both in and out of Quercus. Right now I have to put "import" statements in separate PHP files that get conditionally included, because the "import" keyword is a syntax error in Zend PHP. |
|