Closed thekid closed 6 years ago
Fails with HHVM
F unittest.TestWarning(test= lang.ast.unittest.loader.CompilingClassLoaderTest::load_class, time= 0.152 seconds) {
unittest.Warnings(1)@{
"include(src://ns5b6eef267af9a/Tests.php): File not found" in lang\ast\CompilingClassLoader::loadClass0() (CompilingClassloader.class.php, line 167, occured once)
}
}
See https://travis-ci.org/xp-framework/compiler/jobs/414875435
Reason is a different implementation of stream wrappers there - url_stat()
needs to be implemented, too.
No measurable performance or memory usage impact, good to merge 👍
So e.g. "src/main/php/com/example/Service.php" instead of "CompilingClassLoader, eval()`ed code"