php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #3676 typos in error messages
Submitted: 2000-03-01 01:31 UTC Modified: 2000-03-01 12:15 UTC
From: djm at web dot us dot uu dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0 Beta 4 Patch Level 1 OS: any
Private report: No CVE-ID: None
 [2000-03-01 01:31 UTC] djm at web dot us dot uu dot net
The word "instantiate" is misspelled in the following messages:

root@corfe 39 $ grep 'instancia' Zend/*.c
Zend/zend_compile.c:                            /* This should be an object instanciation
Zend/zend_execute.c:                                            zend_error(E_ERROR, "Cannot instanciate non-existant class:  %s", class_name.value.str.val);

Too bad English isn't as logical as PHP :-)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-01 01:52 UTC] djm at web dot us dot uu dot net
Two for the price of one!  "existent" is also misspelled (think of existentialism):

root@corfe 48 $ find . -name '*.c' | xargs grep existant
./Zend/zend_execute.c:                                          zend_error(E_ERROR, "Cannot instanciate non-existant class:  %s", class_name.value.str.val);
./ext/standard/var.c:                                           php_error(E_NOTICE, "Unserializing non-existant class: %s! No methods will be available!", class_name);
./ext/wddx/wddx.c:                                                      php_error(E_NOTICE, "Deserializing non-existant class: %s! No methods will be available!",

 [2000-03-01 12:15 UTC] andi at cvs dot php dot net
Thanks. THis is fixed in the CVS.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 14 15:00:01 2026 UTC