Community Wiki

Edit

Pobbin

class Pobbin
{
    public function test()
    {
        return $this->get('https://pobb.in/DnMUUU1cBi5x');
    }

    public function get($url)
    {
        $content = file_get_contents($url.'/raw');
        return $this->decode($content);
    }

    public function decode($content)
    {
        return zlib_decode(base64_decode(str_replace(['-', '_'], ['+', '/'], $content)));
    }
}

Wikis Content is available under CC BY-NC-SA 3.0 unless otherwise noted.