Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store


Zend_Filter_Int allows you to transform a sclar value which contains into an integer.

Supported options for Zend_Filter_Int

There are no additional options for Zend_Filter_Int.

Basic usage

A basic example of usage is below:

= new Zend_Filter_Int();

$filter->filter('-4 is less than 0');

This will return '-4'.

Zend Framework