This example needs MING extension which is not loaded in your PHP environment!
Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: http://pecl.php.net/package/ming.
This extension has been moved to the PECL repository and is no longer bundled with PHP as of PHP 5.3.0