PHP settype function always returns true
<p>The return type of <code>settype()</code> function in PHP is <code>BOOLEAN</code> but i always find the return type as <code>TRUE</code> i.e <code>1</code> no matter how weird and incomprehensible a conversion i try to perform.</p>

<p>How to have an unsuccessful typecasting thereby showing <code>0</code> as the return of the conversion. </p>
