Implement CallbackFilterIterator
commitae30d570745427b7ad7ac03f04002160dd891030
authorStephen Cuppett <steve@cuppett.com>
Thu, 3 Apr 2014 01:42:43 +0000 (2 18:42 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 4 Apr 2014 17:04:21 +0000 (4 10:04 -0700)
tree189d2a895d736dee1bd54b9544be8d0a506875c8
parent0b23c2d93f74aaadd908ac35ccfefb664f6fb78f
Implement CallbackFilterIterator

This implements CallbackFilterIterator. It also makes the basic tests pass. Moved the test from zend/bad to zend/good.

The 002 tests in the folder diff because of the output messages from the compiler versus PHP's. However, they appear to be giving the right failures. Wasn't sure whether the group ignores those, patches up the expect file, corrects the messages from the compiler, etc.
Closes #2244
Closes #1715

Reviewed By: @fredemmott

Differential Revision: D1249528

Pulled By: @ptarjan
hphp/runtime/ext/ext_pdo.cpp
hphp/runtime/ext/ext_pdo.h
hphp/system/idl/pdo.idl.json
hphp/system/php.txt
hphp/system/php/spl/iterators/CallbackFilterIterator.php [new file with mode: 0644]
hphp/test/zend/good/ext/spl/tests/CallbackFilterIteratorTest.php [moved from hphp/test/zend/bad/ext/spl/tests/CallbackFilterIteratorTest.php with 100% similarity]
hphp/test/zend/good/ext/spl/tests/CallbackFilterIteratorTest.php.expectf [moved from hphp/test/zend/bad/ext/spl/tests/CallbackFilterIteratorTest.php.expectf with 100% similarity]