Source for file example.php
Documentation is available at example.php
require_once 'MIME/Type.php';
$type = 'application/x-test-app; foo="bar" (First argument); bar=baz (Second argument)';
$type2 = 'application/vnd.pear.test-type';
print " Checking type: $type\n";
print "Type is experimental\n";
print "Type is not experimental\n";
print " \nChecking type: $type2\n";
print "Type is vendor-specific\n";
print "Type is not vendor-specific\n";
$file = '@doc_dir@/MIME_Type/example.php';
print " \nChecking type of: $file\n";
if (PEAR ::isError ($type)) {
print 'Error: ' . $type->getMessage () . "\n";
Documentation generated on Mon, 11 Mar 2019 16:03:55 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|