summaryrefslogtreecommitdiff
path: root/ext/standard/scanf.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-01-31 21:53:30 +0000
committerAndi Gutmans <andi@php.net>2001-01-31 21:53:30 +0000
commit0611acb910003f86287f0a0e0163f42bce9b1e62 (patch)
tree87335d3f9655cf576be5cdd1f7f2552ba03e0de6 /ext/standard/scanf.c
parent00b84703f8447c1d68943322038ce25030f6aa0e (diff)
downloadphp-git-0611acb910003f86287f0a0e0163f42bce9b1e62.tar.gz
- Change unset() functions to null(). unset() is legacy
Diffstat (limited to 'ext/standard/scanf.c')
-rw-r--r--ext/standard/scanf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/scanf.c b/ext/standard/scanf.c
index 38466e0007..22d6df0497 100644
--- a/ext/standard/scanf.c
+++ b/ext/standard/scanf.c
@@ -663,7 +663,7 @@ PHPAPI int php_sscanf_internal( char *string,char *format,
return FAILURE;
}
for (i = 0; i < totalVars; i++) {
- if (add_next_index_unset(*return_value) == FAILURE) {
+ if (add_next_index_null(*return_value) == FAILURE) {
scan_set_error_return(0, return_value);
return FAILURE;
}