public function phpversion($extension = null)
    {
        $code = new Code();
        $code->addStatement(sprintf(
            "return phpversion(%s);",
            var_export($extension, true)
        ));

        return $this->adapter->run($code);
    }