public static function rmdir($path, $cb = null, $pri = EIO_PRI_DEFAULT) { $cb = CallbackWrapper::forceWrap($cb); if (!FileSystem::$supported) { $r = rmdir($path); if ($cb) { $cb($path, $r); } return $r; } return eio_rmdir($path, $pri, $cb, $path); }