LXXXIII. muscat Functions



本扩展模块是实验性的。本模块的行为,包括其函数的名称以及其它任何关于此模块的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本扩展模块风险自担。


These functions are only available if PHP was configured with --with-muscat[=DIR].

muscat_close -- Shuts down the muscat session and releases any memory back to PHP
muscat_get -- Gets a line back from the core muscat API
muscat_give -- Sends string to the core muscat API
muscat_setup_net -- Creates a new muscat session and returns the handle
muscat_setup -- Creates a new muscat session and returns the handle

add a note add a note User Contributed Notes
olly at survex dot com
07-Sep-2005 01:31
Erik is close - this module actually provides a PHP interface to the proprietary Muscat 3.6 system which OpenMuscat was originally being written to replace.
OpenMuscat had a rather different API to Muscat 3.6.

BrightStation (the company which owned Muscat) closed down the OpenMuscat project and later ceased trading, but OpenMuscat lived on, renamed Xapian due to complaints about trademark infringement from BrightStation.  Xapian has its
own PHP bindings.

I'd be suprised if this module is used by anyone now. I don't think Muscat 3.6 has been available to buy for over 5 years, and even back then most external developers used a higher level API than the one which this module wraps.

Olly Betts (former BrightStation employee and current Xapian developer)
erikh at caravelgames dot com
03-Sep-2005 06:27
It took me some digging to figure out that this is an interface for OpenMuscat, which provides search engine functionality.  The maintainer, Sam Liddicott, has done some work on Xapian which can be thought of as a replacement for OpenMuscat. 

More about OpenMuscat and Xapian here: