<?php
// для вопроса http://h...content-available-to-author-only...e.ru/questions/381070
$a = array( 0, 0, -1, 0, 1, 0);
$result = array_reduce( $a, function( $r, $e){ return $r || $e > 0;}, FALSE);
PD9waHAKLy8g0LTQu9GPINCy0L7Qv9GA0L7RgdCwIGh0dHA6Ly9oLi4uY29udGVudC1hdmFpbGFibGUtdG8tYXV0aG9yLW9ubHkuLi5lLnJ1L3F1ZXN0aW9ucy8zODEwNzAKJGEgPSBhcnJheSggMCwgMCwgLTEsIDAsIDEsIDApOwoKJHJlc3VsdCA9IGFycmF5X3JlZHVjZSggJGEsIGZ1bmN0aW9uKCAkciwgJGUpeyByZXR1cm4gJHIgfHwgJGUgPiAwO30sIEZBTFNFKTsKCnZhcl9kdW1wKCRyZXN1bHQpOw==