src/FunctionRegistry.php
public static function reset($namespace = null, array $extensions = array())
    {
        self::$functions = array();
        foreach ($extensions as $extension) {
            foreach (\get_extension_funcs($extension) as $name) {
                self::evaluate($namespace, $name);
            }
        }
    }
public static function reset($namespace = null, array $extensions = array())
    {
        self::$functions = array();
        foreach ($extensions as $extension) {
            foreach (\get_extension_funcs($extension) as $name) {
                self::evaluate($namespace, $name);
            }
        }
    }
public static function reset ( $ namespace = null , array $ extensions = array ( ) ) { self :: $ functions = array ( ) ; foreach ( $ extensions as $ extension ) { foreach ( \ get_extension_funcs ( $ extension ) as $ name ) { self :: evaluate ( $ namespace , $ name ) ; } } }
Sets all custom function properties to null.

@param string $namespace  The namespace from which the global function will be called.
@param array  $extensions Array of PHP extensions whose functions will be mocked.

@return void
Sets all custom function properties to null .