Zend Framework  3.0
Public Member Functions | List of all members
Int Class Reference

Stub class for backwards compatibility. More...

Public Member Functions

 __construct ()
 
- Public Member Functions inherited from ToInt
 filter ($value)
 Defined by Zend.
 
- Public Member Functions inherited from AbstractFilter
 setOptions ($options)
 
 getOptions ()
 Retrieve options representing object state.
 
 __invoke ($value)
 Invoke filter as a command.
 

Additional Inherited Members

- Static Public Member Functions inherited from AbstractFilter
static hasPcreUnicodeSupport ()
 
- Static Protected Member Functions inherited from AbstractFilter
static isOptions ($options)
 
- Protected Attributes inherited from AbstractFilter
 $options = []
 

Detailed Description

Stub class for backwards compatibility.

Since PHP 7 adds "int" as a reserved keyword, we can no longer have a class named that and retain PHP 7 compatibility. The original class has been renamed to "ToInt", and this class is now an extension of it. It raises an E_USER_DEPRECATED to warn users to migrate.

Deprecated:

Constructor & Destructor Documentation

__construct ( )