markTestSkipped( 'The opcache extension is not available.' ); } Autoloader::defaultAutoloader('\phpOMS\tests\TestLoad3'); Autoloader::invalidate(__DIR__ . '/TestLoad3.php'); self::assertTrue(\opcache_is_script_cached(__DIR__ . '/TestLoad3.php')); } public function testUncachedInvalidation() : void { self::assertFalse(\opcache_is_script_cached(__DIR__ . '/TestLoad4.php')); self::assertFalse(Autoloader::invalidate(__DIR__ . '/TestLoad4.php')); } }