6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#15086] deprecated $php_errormsg in lib/Horde/String.php
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__ .__.. .___ [__)| \| || [__ | \|__/|__||___[___
Comment
> From the PHP 8.0 migration guide > (https://www.php.net/manual/de/migration80.incompatible.php): > > The track_errors ini directive has been removed. This means that > php_errormsg is no longer available. The error_get_last() function > may be used instead. > > > Also the documentation on $php_errormsg > (https://www.php.net/manual/en/reserved.variables.phperrormsg.php) > says: > > This feature has been DEPRECATED as of PHP 7.2.0. Relying on this > feature is highly discouraged. Use error_get_last() instead. > > > > FILE: lib/Horde/String.php > -------------------------------------------------------------------------------------------------------- > FOUND 0 ERRORS AND 11 WARNINGS AFFECTING 11 LINES > -------------------------------------------------------------------------------------------------------- > 148 | WARNING | The variable '$php_errormsg' is deprecated since PHP > 7.2; Use error_get_last() instead > 149 | WARNING | INI directive 'track_errors' is deprecated since PHP 7.2 > 151 | WARNING | The variable '$php_errormsg' is deprecated since PHP > 7.2; Use error_get_last() instead > 487 | WARNING | The variable '$php_errormsg' is deprecated since PHP > 7.2; Use error_get_last() instead > 488 | WARNING | INI directive 'track_errors' is deprecated since PHP 7.2 > 490 | WARNING | INI directive 'track_errors' is deprecated since PHP 7.2 > 491 | WARNING | The variable '$php_errormsg' is deprecated since PHP > 7.2; Use error_get_last() instead > 497 | WARNING | The variable '$php_errormsg' is deprecated since PHP > 7.2; Use error_get_last() instead > 498 | WARNING | INI directive 'track_errors' is deprecated since PHP 7.2 > 509 | WARNING | INI directive 'track_errors' is deprecated since PHP 7.2 > 510 | WARNING | The variable '$php_errormsg' is deprecated since PHP > 7.2; Use error_get_last() instead > -------------------------------------------------------------------------------------------------------- > > > See my PR here: https://github.com/horde/Util/pull/7 >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers