mirror of
https://github.com/php/php-src.git
synced 2024-11-26 19:33:55 +08:00
new API for var_dump
This commit is contained in:
parent
4dcb388c0c
commit
22d6f64f54
@ -130,12 +130,12 @@ void php3api_var_dump(pval **struc, int level)
|
||||
|
||||
PHP_FUNCTION(var_dump)
|
||||
{
|
||||
pval *struc;
|
||||
pval **struc;
|
||||
|
||||
if (ARG_COUNT(ht) != 1 || getParameters(ht, 1, &struc) == FAILURE) {
|
||||
if (ARG_COUNT(ht) != 1 || getParametersEx(1, &struc) == FAILURE) {
|
||||
WRONG_PARAM_COUNT;
|
||||
}
|
||||
php3api_var_dump(&struc, 1);
|
||||
php3api_var_dump(struc, 1);
|
||||
}
|
||||
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user