Issues

ZF-12444: Incorrect error level in php error reporting (just fixed in 2.0 branch)

Issue Type: Bug Created: 2012-10-17T15:05:10.000+0000 Last Updated: 2012-11-16T15:29:43.000+0000 Status: Resolved Fix version(s): - 1.12.1 (18/Dec/12)

Reporter: Antonino Balsamo (antoninob) Assignee: Eddo Rotman (karnaf) Tags: - Zend_Log

Related issues: Attachments:

Description

in function

<pre class="highlight">
public static function registerErrorHandler(Logger $logger)

we have

<pre class="highlight">
if ($errorLevel && $errno) {

but should be:

<pre class="highlight">
if ($errorLevel & $errno) {

as bitwise operation.

Comments

Posted by Rob Allen (rob) on 2012-11-16T15:29:43.000+0000

Resolved on trunk (25130) and release-1.12 (25131)

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts