xrogaan
public php v1 · immutable#!/usr/bin/php<?phperror_reporting(E_ALL);class test extends RecursiveDirectoryIterator { function __construct() { parent::__construct('./'); while(self::valid()) { if (self::isDot()) { self::next(); } if (self::isFile()) { if (self::isReadable()) { echo self::getFilename()."\n"; } } self::next(); } }}$x = new test();