summaryrefslogtreecommitdiff
path: root/ext/aspell/aspell.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/aspell/aspell.c')
-rw-r--r--ext/aspell/aspell.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/aspell/aspell.c b/ext/aspell/aspell.c
index 93a9642281..fcfb33cbce 100644
--- a/ext/aspell/aspell.c
+++ b/ext/aspell/aspell.c
@@ -115,7 +115,7 @@ PHP_FUNCTION(aspell_suggest)
sc= (aspell *) php3_list_find(scin->value.lval, &type);
if(!sc)
{
- php3_error(E_WARNING, "%d is not a ASPELL result index", scin->value.lval);
+ php_error(E_WARNING, "%d is not a ASPELL result index", scin->value.lval);
RETURN_FALSE;
}
@@ -149,7 +149,7 @@ PHP_FUNCTION(aspell_check)
sc= (aspell *) php3_list_find(scin->value.lval, &type);
if(!sc)
{
- php3_error(E_WARNING, "%d is not a ASPELL result index", scin->value.lval);
+ php_error(E_WARNING, "%d is not a ASPELL result index", scin->value.lval);
RETURN_FALSE;
}
if (aspell_check(sc, word->value.str.val))
@@ -181,7 +181,7 @@ PHP_FUNCTION(aspell_check_raw)
sc= (aspell *) php3_list_find(scin->value.lval, &type);
if(!sc)
{
- php3_error(E_WARNING, "%d is not a ASPELL result index", scin->value.lval);
+ php_error(E_WARNING, "%d is not a ASPELL result index", scin->value.lval);
RETURN_FALSE;
}
if (aspell_check_raw(sc, word->value.str.val))
@@ -197,7 +197,7 @@ PHP_FUNCTION(aspell_check_raw)
PHP_MINFO_FUNCTION(aspell)
{
- php3_printf("ASpell support enabled");
+ php_printf("ASpell support enabled");
}