facebook/hiphop-php — Issue #475: filter_input() supported?
Author: Goldy-husky
Created: 2012-01-21 22:49:40+00:00
State: open

Hi,

I'm trying to run a compiled php script using filter_input to test input values. But I get this following error when I load the page:

HipHop Fatal error: (1) call the function without enough arguments OR (2) Unable to find function "filter_input" OR (3) function was not in invoke table OR (4) function was renamed to something else. in form.php on line 7

In the code :
$type = filter_input(INPUT_POST, 'type', FILTER_VALIDATE_INT, array('options' => array('min_range' => 1, 'max_range' => 4))) ;

Thanks for your help