Example #1
0
function file_get_contents($url, $flags = null, $context = null, $offset = null, $maxlen = null)
{
    global $fofTest_FakeFopen_Active;
    if (!$fofTest_FakeFopen_Active) {
        return \file_get_contents($url, $flags, $context, $offset, $maxlen);
    }
    return FakeFopen::file_get_contents($url, $flags, $context, $offset, $maxlen);
}