#529 fix syntax error for PHP 5.3.x
 #529 fix build_filter test case