Index: smoketest.php =================================================================== --- smoketest.php (revision 7002) +++ smoketest.php (working copy) @@ -108,17 +108,7 @@ exit(1); } -# Check PHP4 handling of Xapian::DocNotFoundError -$old_error_reporting = error_reporting(); -if ($old_error_reporting & E_WARNING) - error_reporting($old_error_reporting ^ E_WARNING); -$doc2 = Database_get_document($db, 2); -if ($doc2 != null) { - print "Retrieved non-existent document\n"; - exit(1); -} -if ($old_error_reporting & E_WARNING) - error_reporting($old_error_reporting); +include "smoketest".substr(PHP_VERSION, 0, 1).".php"; # Regression test - overload resolution involving boolean types failed. Enquire_set_sort_by_value($enq, 1, TRUE); Index: smoketest4.php =================================================================== --- smoketest4.php (revision 0) +++ smoketest4.php (revision 0) @@ -0,0 +1,33 @@ + Index: smoketest5.php =================================================================== --- smoketest5.php (revision 0) +++ smoketest5.php (revision 0) @@ -0,0 +1,31 @@ +