NULL,
PHP_RSHUTDOWN(readline),
NULL,
- NO_VERSION_YET,
+ NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
PHP_MINIT_FUNCTION(readline)
{
- using_history();
- return SUCCESS;
+ using_history();
+ return SUCCESS;
}
PHP_RSHUTDOWN_FUNCTION(readline)
pval **arg;
int ac = ZEND_NUM_ARGS();
- if (ac < 1 || ac > 1 || zend_get_parameters_ex(ac, &arg) == FAILURE) {
+ if (ac != 1 || zend_get_parameters_ex(ac, &arg) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string_ex(arg);
{
int ac = ZEND_NUM_ARGS();
- if (ac < 0 || ac > 0) {
+ if (ac != 0) {
WRONG_PARAM_COUNT;
}