Sujet : Re: VMS x86-64 database server
De : arne (at) *nospam* vajhoej.dk (Arne Vajhøj)
Groupes : comp.os.vmsDate : 10. Jul 2025, 00:51:30
Autres entêtes
Organisation : SunSITE.dk - Supporting Open source
Message-ID : <686f0082$0$686$14726298@news.sunsite.dk>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
User-Agent : Mozilla Thunderbird
On 7/9/2025 7:07 PM, Lawrence D'Oliveiro wrote:
On Wed, 9 Jul 2025 15:33:50 -0400, Arne Vajhøj wrote:
Reporting of SQL errors is not optional in PHP.
If it wasn’t “optional”, why would you need to enable it via the
“error_reporting()” function?
I wrote:
# error_reporting(E_ERROR) is not to enable errors but to disable
# warnings. I have a PHP old enough to still have mysql extension,
# but I do not have a PHP old enough not to give warnings about
# use of mysql extension.
Is that unclear?
error_reporting(E_ERROR) is not need to get SQL errors - it
is to avoid getting warnings about mysql extension being obsolete.
Arne