Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
forks
symfony
debug
Commits
726b85e6
Commit
726b85e6
authored
4 years ago
by
Fabien Potencier
Browse files
Options
Download
Patches
Plain Diff
Remove some leftover for HHVM support
parent
4bbe6b72
4.4
bv4.4.14
bv4.4.15
bv4.4.16
bv4.4.17
bv4.4.18
bv4.4.19
bv4.4.20
bv4.4.22
bv4.4.25
bv4.4.27
bv4.4.31
bv4.4.36
bv4.4.37
v4.4.37
v4.4.36
v4.4.31
v4.4.27
v4.4.25
v4.4.22
v4.4.20
v4.4.19
v4.4.18
v4.4.17
v4.4.16
v4.4.15
v4.4.14
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ErrorHandler.php
+2
-2
ErrorHandler.php
with
2 additions
and
2 deletions
+2
-2
ErrorHandler.php
+
2
−
2
View file @
726b85e6
...
...
@@ -489,7 +489,7 @@ class ErrorHandler
if
(
$this
->
isRecursive
)
{
$log
=
0
;
}
else
{
if
(
\
PHP_VERSION_ID
<
(
\
PHP_VERSION_ID
<
70400
?
70316
:
70404
)
&&
!
\
defined
(
'HHVM_VERSION'
)
)
{
if
(
\
PHP_VERSION_ID
<
(
\
PHP_VERSION_ID
<
70400
?
70316
:
70404
))
{
$currentErrorHandler
=
set_error_handler
(
'var_dump'
);
restore_error_handler
();
}
...
...
@@ -501,7 +501,7 @@ class ErrorHandler
}
finally
{
$this
->
isRecursive
=
false
;
if
(
\
PHP_VERSION_ID
<
(
\
PHP_VERSION_ID
<
70400
?
70316
:
70404
)
&&
!
\
defined
(
'HHVM_VERSION'
)
)
{
if
(
\
PHP_VERSION_ID
<
(
\
PHP_VERSION_ID
<
70400
?
70316
:
70404
))
{
set_error_handler
(
$currentErrorHandler
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets