php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #3578 error handling last_error() feature request
Submitted: 2000-02-23 04:15 UTC Modified: 2000-07-18 07:55 UTC
From: billgr at sunoptics dot caltech dot edu Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0.12 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: billgr at sunoptics dot caltech dot edu
New email:
PHP Version: OS:

 

 [2000-02-23 04:15 UTC] billgr at sunoptics dot caltech dot edu
It would be nice to have a function like mysql_error() or error() that would
return a string with the last error generated by the php error handling code.
This would allow error messages to be presented or parsed and presented
in a more organized way.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-18 07:55 UTC] hholzgra at cvs dot php dot net
this is what the $php_errormsg variable does
when track_errors is activated in php.ini

; Store the last error/warning message in $php_errormsg (boolean)
track_errors	=	On

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Jun 18 03:00:02 2026 UTC