Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3443488
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3443488
Commits
496b3b8c
Commit
496b3b8c
authored
15 years ago
by
Angie Byron
Browse files
Options
Downloads
Patches
Plain Diff
#524664
by codecowboy and mfb: drupal_error_handler() does not support PHP 5.3.0 error constants.
parent
271fbd6b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/common.inc
+5
-0
5 additions, 0 deletions
includes/common.inc
with
5 additions
and
0 deletions
includes/common.inc
+
5
−
0
View file @
496b3b8c
...
...
@@ -1067,6 +1067,11 @@ function _drupal_error_handler($error_level, $message, $filename, $line, $contex
E_STRICT
=>
'Strict warning'
,
E_RECOVERABLE_ERROR
=>
'Recoverable fatal error'
);
// E_DEPRECATED and E_USER_DEPRECATED were added in PHP 5.3.0.
if
(
defined
(
'E_DEPRECATED'
))
{
$types
[
E_DEPRECATED
]
=
'Deprecated function'
;
$types
[
E_USER_DEPRECATED
]
=
'User deprecated function'
;
}
$caller
=
_drupal_get_last_caller
(
debug_backtrace
());
// We treat recoverable errors as fatal.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment