<?PHP include_once("typification.class.php");
// Example: // Options of types specifing are similar Regular Expressions: // type_of_value{left_limit,right_limit}[posible_value1|posible_value2]; ..
class Sample { function Sample() { // Validate parameters types and values new FuncParams("string{0,3}(abc|bbc); integer; array{2}; ArrayOfStrings"); print "PASS"; } }
$r = new Sample('abc', 2, array(1,2), array("123","ABC")); ?>
|