CacheTool\Proxy\PhpProxyTest::testFunctions PHP Метод

testFunctions() публичный Метод

public testFunctions ( )
    public function testFunctions()
    {
        $this->assertProxyCode("return extension_loaded('ext');", 'extension_loaded', array('ext'));
        $this->assertProxyCode("return ini_get('var');", 'ini_get', array('var'));
        $this->assertProxyCode("return ini_set('var', 'value');", 'ini_set', array('var', 'value'));
        $this->assertProxyCode("return phpversion('php');", 'phpversion', array('php'));
        $this->assertProxyCode("passthru", '_eval', array('passthru'));
        $this->assertProxyCode('return realpath_cache_get();', 'stat_realpath_get', array());
        $this->assertProxyCode('return realpath_cache_size();', 'stat_realpath_size', array());
        $this->assertProxyCode('return clearstatcache(true);', 'stat_cache_clear', array());
    }