]> granicus.if.org Git - php/commitdiff
Typo.
authorAndrei Zmievski <andrei@php.net>
Fri, 16 Jun 2000 18:36:30 +0000 (18:36 +0000)
committerAndrei Zmievski <andrei@php.net>
Fri, 16 Jun 2000 18:36:30 +0000 (18:36 +0000)
ext/standard/var.c

index 1c3cb60ae8942423682cd3b61bb396b5577933cb..ae5c1c4de27566830f7e513e2b7486b46c3f6602 100644 (file)
@@ -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;
                                                                }