Re: Re: Fatal error: Call to undefined function preg_match()
| From: | Jochem Maas | Date: | Mon, 20 Mar 2006 12:16:55 +0000 |
| Subject: | Re: Re: Fatal error: Call to undefined function preg_match() | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232234@lists.php.net to get a copy of this message | ||
Barry wrote:
M. Sokolewicz wrote:If the OP is capable of installing and using the runkit extension them he would never have had ask the list why 'preg_match() is not defined' - it's a fairly basic problem to solve - anyone with enough skill and experience to use runkit would know how to solve it. obviously Barry you are very experienced and use the runkit extension all the time ... because evidently you seem to think 'unsetting' function is a completely normal activity inside a php script.Since when can you "unset" functions from within php scripts?? (except with specialized modules, which we'll just ignore for now).Why ignore them for now? Doesn't make sense for me ...
given that he says 'I think' (i.e. he's too lazy to check and know for sure) ignoring the fact that he upgraded is actually quite sane. the OPs problem is an undefined function which can only really mean that an extension was not loaded (and/or not compiled in) - nothing to do with the fact that he upgraded as such (he could jsut as well have got this error if he had created a completely fresh php install)He went from 4 to 5, do you know what 4 had compiled in? no you don't. Why don't just ignore he went from 4 to 5.Recently I am getting the following error on some of my PHP-enabled websites. I think it started when I went from PHP4 -> PHP5.