configure.ac: Fix SWIG version check to not fail on 3.* by making the
pattern match all older versions rather than some newer ones, and
update the minimum checked for to be what we actually currently want
- it was 1.3.40 which is 5 years old!

git-svn-id: file:///home/xapian-svn/xapian/trunk@18248 6b2f1b92-a4f3-0310-943f-de3cbe41748b
php/smoketest.php: Add regression test for throwing an exception from
a PHP implementation of FieldProcessor::apply(), fixed by newer SWIG.

git-svn-id: file:///home/xapian-svn/xapian/trunk@18249 6b2f1b92-a4f3-0310-943f-de3cbe41748b