PHP Classes

File: tests/001.phpt

Recommend this page to a friend!
  Classes of Chun-Sheng, Li   PHP STMR   tests/001.phpt   Download  
File: tests/001.phpt
Role: Unit test script
Content type: text/plain
Description: PHP test script
Class: PHP STMR
PHP extension to implement the Porter stemmer
Author: By
Last change:
Date: 1 year ago
Size: 245 bytes
 

Contents

Class file image Download
--TEST--
Check if stmr is loaded
--SKIPIF--
<?php
if (!extension_loaded('stmr')) {
    echo
'skip';
}
?>
--FILE--
<?php
if (extension_loaded('stmr')) {
    echo
'The extension "stmr" is available';
}
?>
--EXPECT--
The extension "stmr" is available