Re: [path] fixing errors, take 2
| From: | Stas Malyshev | Date: | Sun, 19 Dec 2010 09:56:47 +0000 |
| Subject: | Re: [path] fixing errors, take 2 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51084@lists.php.net to get a copy of this message | ||
Hi!
AFAICT from the patch.. if (@strpos()) {} else { var_dump(error_get_last()); } will give you the last error that happened before strpos()?Hmm... that unfortunately depends on ignore_repeated_errors, I didn't see this use case. With error_get_last() we probably can't fix it since it requires storing full error message for every error. That kind of sucks :( -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227