3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $options = [ 'options' => [ 'min_range' => PHP_INT_MIN, 'max_range' => PHP_INT_MAX, ], ]; $value = filter_var('1asdfaa', FILTER_VALIDATE_INT, $options); var_dump($value);
based on WkskA
Output for hhvm-3.18.5 - 3.22.0, 7.0.30 - 7.3.0rc2
bool(false)
Output for 5.6.30
Notice: Use of undefined constant PHP_INT_MIN - assumed 'PHP_INT_MIN' in /in/LOHpG on line 5 bool(false)