<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Introduction</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="book.spl-types.html">SPL Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="spl-types.setup.html">Installing/Configuring</a></div> <div class="up"><a href="book.spl-types.html">SPL Types</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="intro.spl-types" class="preface"> <h1 class="title">Introduction</h1> <p class="para"> This extension aims at helping people making PHP a stronger typed language and can be a good alternative to scalar type hinting. It provides different typehandling classes as such as <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>, <span class="type"><a href="language.types.float.html" class="type float">float</a></span>, <span class="type"><a href="language.types.boolean.html" class="type bool">bool</a></span>, <span class="type"><span class="type enum">enum</span></span> and <span class="type"><a href="language.types.string.html" class="type string">string</a></span> </p> <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This extension is <em class="emphasis">EXPERIMENTAL</em>. The behaviour of this extension including the names of its functions and any other documentation surrounding this extension may change without notice in a future release of PHP. This extension should be used at your own risk.</p></div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="book.spl-types.html">SPL Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="spl-types.setup.html">Installing/Configuring</a></div> <div class="up"><a href="book.spl-types.html">SPL Types</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>