Feature #29358

Enable use of @ (shut-up-operator)

Added by Ferdinand Kuhl about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Error
Target version:
-
Start date:
2011-08-30
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

The FLOW3 error and exception handler does a good job. But if you have to integrate foreign code, suppressing foreign errors (E_STRICT or similar) is the only possibility to get this code to work.

PHP suggests to check (error_reporting() === 0) in order to realize if error_handling have been temporarily disabled.

I temporarily added to lines to the ErrorHandler::handleError function:

if(error_reporting() === 0)
            return;
#1

Updated by Karsten Dambekalns about 10 years ago

  • Tracker changed from Bug to Feature
#2

Updated by Karsten Dambekalns about 10 years ago

  • Subject changed from @error-controler-operater is ignored to Enable use of @ (shut-up-operator)
  • Category set to Error
#3

Updated by Mr. Hudson about 10 years ago

  • Status changed from New to Under Review

Patch set 1 of change Id8d70b594e69e0de390b29624304de32442a74e4 has been pushed to the review server.
It is available at http://review.typo3.org/4754

#4

Updated by Ferdinand Kuhl about 10 years ago

Ah! And I do think that ignoring the @-Operator is more a bug than a feature... but thats just personal opinion.

#5

Updated by Mr. Hudson about 10 years ago

Patch set 2 of change Id8d70b594e69e0de390b29624304de32442a74e4 has been pushed to the review server.
It is available at http://review.typo3.org/4754

#6

Updated by Ferdinand Kuhl about 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF