Title: POMO_CachedIntFileReader
Published: April 25, 2014
Last modified: May 20, 2026

---

# class POMO_CachedIntFileReader {}

## In this article

 * [Methods](https://developer.wordpress.org/reference/classes/pomo_cachedintfilereader/?output_format=md#methods)
 * [Source](https://developer.wordpress.org/reference/classes/pomo_cachedintfilereader/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/classes/pomo_cachedintfilereader/?output_format=md#related)

[ Back to top](https://developer.wordpress.org/reference/classes/pomo_cachedintfilereader/?output_format=md#wp--skip-link--target)

Reads the contents of the file in the beginning.

## 󠀁[Methods](https://developer.wordpress.org/reference/classes/pomo_cachedintfilereader/?output_format=md#methods)󠁿

| Name | Description | 
| [POMO_CachedIntFileReader::__construct](https://developer.wordpress.org/reference/classes/pomo_cachedintfilereader/__construct/) | PHP5 constructor. | 
| [POMO_CachedIntFileReader::POMO_CachedIntFileReader](https://developer.wordpress.org/reference/classes/pomo_cachedintfilereader/pomo_cachedintfilereader/) | PHP4 constructor. — deprecated |

## 󠀁[Source](https://developer.wordpress.org/reference/classes/pomo_cachedintfilereader/?output_format=md#source)󠁿

    ```php
    class POMO_CachedIntFileReader extends POMO_CachedFileReader {
    	/**
    	 * PHP5 constructor.
    	 */
    	public function __construct( $filename ) {
    		parent::__construct( $filename );
    	}

    	/**
    	 * PHP4 constructor.
    	 *
    	 * @deprecated 5.4.0 Use __construct() instead.
    	 *
    	 * @see POMO_CachedIntFileReader::__construct()
    	 */
    	public function POMO_CachedIntFileReader( $filename ) {
    		_deprecated_constructor( self::class, '5.4.0', static::class );
    		self::__construct( $filename );
    	}
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/pomo/streams.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/pomo/streams.php#L340)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/pomo/streams.php#L340-L359)

## 󠀁[Related](https://developer.wordpress.org/reference/classes/pomo_cachedintfilereader/?output_format=md#related)󠁿

| Uses | Description | 
| [POMO_CachedFileReader](https://developer.wordpress.org/reference/classes/pomo_cachedfilereader/)`wp-includes/pomo/streams.php` |

Reads the contents of the file in the beginning.

  |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fpomo_cachedintfilereader%2F)
before being able to contribute a note or feedback.