Re: Suggest similar names for undefined function/method/class errors

From: Date: Thu, 06 Aug 2026 15:48:24 +0000
Subject: Re: Suggest similar names for undefined function/method/class errors
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-132184@lists.php.net to get a copy of this message
Thank you both for the opinions. I think it will be reasonable to not rush for PHP 8.6. I found few nuances that I would like to consider properly. I will finish it after feature freeze. > I do agree here there's a bit too much punctuation. Perhaps something > similar to what Python does (according to the posted link)? > Call to undefined function defined(). Did you mean: define? I have hard time choosing best option. Python and Ruby don't have file and line number at the end of error message and question mark looks good in such setup. I don't want change the error structure to put the suggestion part at the end of error message. But otherwise in all cases I think of, it looks ugly. Kind regards, Jorg

« previous php.internals (#132184) next »