ParagonIE_Sodium_File::ftell

Advertisement

Private Access Private Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Syntax Syntax

ParagonIE_Sodium_File::ftell( resource $resource )

Parameters Parameters

$resource

(Required)

Return Return

(int)

Source Source

File: wp-includes/sodium_compat/src/File.php

    private static function ftell($resource)
    {
        $return = ftell($resource);
        if (!is_int($return)) {
            throw new SodiumException('ftell() returned false');
        }
        return (int) $return;
    }

Advertisement

Advertisement

Leave a Reply