php man page for splint

Query: splint

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SPLINT(3)								 1								 SPLINT(3)

The SplInt class

INTRODUCTION
The SplInt class is used to enforce strong typing of the integer type.
CLASS SYNOPSIS
SplInt SplIntextends SplType Constants o const integer$SplInt::__default0 Inherited methods o SplType::__construct ([mixed $initial_value], [bool $strict])
PREDEFINED CONSTANTS
o SplInt::__default -
EXAMPLES
Example #1 SplInt usage example <?php $int = new SplInt(94); try { $int = 'Try to cast a string value for fun'; } catch (UnexpectedValueException $uve) { echo $uve->getMessage() . PHP_EOL; } echo $int . PHP_EOL; ?> The above example will output: Value not an integer 94 PHP Documentation Group SPLINT(3)
Related Man Pages
recursiveiteratoriterator(3) - php
apc_inc(3) - php
reflectionfunction(3) - php
solrqueryresponse(3) - php
apc_cas(3) - php
Similar Topics in the Unix Linux Community
splintgui 0.3 (Default branch)