Issues

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

Description

in function


public static function registerErrorHandler(Logger $logger)

we have


if ($errorLevel && $errno) {

but should be:


if ($errorLevel & $errno) {

as bitwise operation.

Comments

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