Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed test ext/readline/tests/readline_read_history_error_001.phpt
This commit is contained in:
Xinchen Hui 2016-02-29 15:08:11 +08:00
commit bb4d2f6577

View File

@ -410,7 +410,7 @@ PHP_FUNCTION(readline_read_history)
return;
}
if (arg && php_check_open_basedir(arg)) {
if (!arg || php_check_open_basedir(arg) != 0) {
RETURN_FALSE;
}