]> granicus.if.org Git - php/commit
Adjust logic in sanity checks.
authorJeff Welch <whatthejeff@gmail.com>
Sun, 8 Mar 2015 15:31:26 +0000 (11:31 -0400)
committerJeff Welch <whatthejeff@gmail.com>
Sun, 8 Mar 2015 19:27:41 +0000 (15:27 -0400)
commit1dc5bd47d8707ba805927681bc878087d6b9b5fa
tree48196540af46ef56c19cbf5c7b384d723f27cc3a
parent5aebdc98dea1f15993c21eefa25f83383b6e2389
Adjust logic in sanity checks.

The code should return false when the provided options argument is neither an
array nor a valid filter.
ext/filter/filter.c
ext/filter/tests/057.phpt [new file with mode: 0644]