summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/var.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/var.c b/ext/standard/var.c
index 1c3cb60ae8..ae5c1c4de2 100644
--- a/ext/standard/var.c
+++ b/ext/standard/var.c
@@ -228,7 +228,7 @@ void php_var_serialize(pval *buf, pval **struc)
zend_hash_get_current_data(HASH_OF(retval_ptr), (void **) (&name));
if ((*name)->type != IS_STRING) {
- php_error(E_NOTICE, "_sleep_ should return an array only containing the names of instance-variables to serialize.");
+ php_error(E_NOTICE, "__sleep should return an array only containing the names of instance-variables to serialize.");
continue;
}