<table cellpadding="4" border="1">
<tr>
<th>syntax</th>
<th>value</th>
<th>type</th>
<th>empty</th>
<th>boolean</th>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
<tr style="color: #006600;">
<td><code>if((boolean)true)</code></td>
<td>true</td>
<td>boolean</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
<tr style="color: #880000;">
<td><code>if((boolean)false)</code></td>
<td>false</td>
<td>boolean</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
<tr style="color: #880000;">
<td><code>if((boolean)null)</code></td>
<td>null</td>
<td>NULL</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)23)</code></td>
<td>23</td>
<td>integer</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)0)</code></td>
<td>0</td>
<td>integer</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)-26)</code></td>
<td>-26</td>
<td>integer</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)4.21)</code></td>
<td>4.21</td>
<td>double</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
<tr style="color: #880000;">
<td><code>if((boolean)0.0)</code></td>
<td>0.0</td>
<td>double</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)-3.76)</code></td>
<td>-3.76</td>
<td>double</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)'hello')</code></td>
<td>'hello'</td>
<td>string</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)'')</code></td>
<td>''</td>
<td>string</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
Notice: Array to string conversion in /in/JN5UK on line 66
<tr style="color: #006600;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
Notice: Array to string conversion in /in/JN5UK on line 66
<tr style="color: #006600;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
Notice: Array to string conversion in /in/JN5UK on line 66
<tr style="color: #880000;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$stdclass)</code></td>
<td>stdClass</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$point)</code></td>
<td>Point</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$dimension)</code></td>
<td>Dimension</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$rectangle)</code></td>
<td>Rectangle</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
</table>
Output for 7.3.32 - 7.3.33, 7.4.26
<table cellpadding="4" border="1">
<tr>
<th>syntax</th>
<th>value</th>
<th>type</th>
<th>empty</th>
<th>boolean</th>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
<tr style="color: #006600;">
<td><code>if((boolean)true)</code></td>
<td>true</td>
<td>boolean</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
<tr style="color: #880000;">
<td><code>if((boolean)false)</code></td>
<td>false</td>
<td>boolean</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
<tr style="color: #880000;">
<td><code>if((boolean)null)</code></td>
<td>null</td>
<td>NULL</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)23)</code></td>
<td>23</td>
<td>integer</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)0)</code></td>
<td>0</td>
<td>integer</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)-26)</code></td>
<td>-26</td>
<td>integer</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)4.21)</code></td>
<td>4.21</td>
<td>double</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
<tr style="color: #880000;">
<td><code>if((boolean)0.0)</code></td>
<td>0.0</td>
<td>double</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)-3.76)</code></td>
<td>-3.76</td>
<td>double</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)'hello')</code></td>
<td>'hello'</td>
<td>string</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)'')</code></td>
<td>''</td>
<td>string</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$stdclass)</code></td>
<td>stdClass</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$point)</code></td>
<td>Point</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$dimension)</code></td>
<td>Dimension</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Warning: Use of undefined constant boolean - assumed 'boolean' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 28
Warning: Use of undefined constant double - assumed 'double' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 38
Warning: Use of undefined constant string - assumed 'string' (this will throw an Error in a future version of PHP) in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$rectangle)</code></td>
<td>Rectangle</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
</table>
<table cellpadding="4" border="1">
<tr>
<th>syntax</th>
<th>value</th>
<th>type</th>
<th>empty</th>
<th>boolean</th>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
<tr style="color: #006600;">
<td><code>if((boolean)true)</code></td>
<td>true</td>
<td>boolean</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
<tr style="color: #880000;">
<td><code>if((boolean)false)</code></td>
<td>false</td>
<td>boolean</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
<tr style="color: #880000;">
<td><code>if((boolean)null)</code></td>
<td>null</td>
<td>NULL</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)23)</code></td>
<td>23</td>
<td>integer</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)0)</code></td>
<td>0</td>
<td>integer</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)-26)</code></td>
<td>-26</td>
<td>integer</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)4.21)</code></td>
<td>4.21</td>
<td>double</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
<tr style="color: #880000;">
<td><code>if((boolean)0.0)</code></td>
<td>0.0</td>
<td>double</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)-3.76)</code></td>
<td>-3.76</td>
<td>double</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)'hello')</code></td>
<td>'hello'</td>
<td>string</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)'')</code></td>
<td>''</td>
<td>string</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
Notice: Array to string conversion in /in/JN5UK on line 66
<tr style="color: #006600;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
Notice: Array to string conversion in /in/JN5UK on line 66
<tr style="color: #006600;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
Notice: Array to string conversion in /in/JN5UK on line 66
<tr style="color: #880000;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$stdclass)</code></td>
<td>stdClass</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$point)</code></td>
<td>Point</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$dimension)</code></td>
<td>Dimension</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$rectangle)</code></td>
<td>Rectangle</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
</table>
<table cellpadding="4" border="1">
<tr>
<th>syntax</th>
<th>value</th>
<th>type</th>
<th>empty</th>
<th>boolean</th>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
<tr style="color: #006600;">
<td><code>if((boolean)true)</code></td>
<td>true</td>
<td>boolean</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
<tr style="color: #880000;">
<td><code>if((boolean)false)</code></td>
<td>false</td>
<td>boolean</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
<tr style="color: #880000;">
<td><code>if((boolean)null)</code></td>
<td>null</td>
<td>NULL</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)23)</code></td>
<td>23</td>
<td>integer</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)0)</code></td>
<td>0</td>
<td>integer</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)-26)</code></td>
<td>-26</td>
<td>integer</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)4.21)</code></td>
<td>4.21</td>
<td>double</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
<tr style="color: #880000;">
<td><code>if((boolean)0.0)</code></td>
<td>0.0</td>
<td>double</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)-3.76)</code></td>
<td>-3.76</td>
<td>double</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)'hello')</code></td>
<td>'hello'</td>
<td>string</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)'')</code></td>
<td>''</td>
<td>string</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$stdclass)</code></td>
<td>stdClass</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$point)</code></td>
<td>Point</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$dimension)</code></td>
<td>Dimension</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$rectangle)</code></td>
<td>Rectangle</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
</table>
Output for 5.0.4 - 5.0.5
<table cellpadding="4" border="1">
<tr>
<th>syntax</th>
<th>value</th>
<th>type</th>
<th>empty</th>
<th>boolean</th>
</tr>
Notice: Undefined variable: val in /in/JN5UK on line 26
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
<tr style="color: #006600;">
<td><code>if((boolean)true)</code></td>
<td>true</td>
<td>boolean</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
<tr style="color: #880000;">
<td><code>if((boolean)false)</code></td>
<td>false</td>
<td>boolean</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
<tr style="color: #880000;">
<td><code>if((boolean)null)</code></td>
<td>null</td>
<td>NULL</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)23)</code></td>
<td>23</td>
<td>integer</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)0)</code></td>
<td>0</td>
<td>integer</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)-26)</code></td>
<td>-26</td>
<td>integer</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)4.21)</code></td>
<td>4.21</td>
<td>double</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
<tr style="color: #880000;">
<td><code>if((boolean)0.0)</code></td>
<td>0.0</td>
<td>double</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)-3.76)</code></td>
<td>-3.76</td>
<td>double</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)'hello')</code></td>
<td>'hello'</td>
<td>string</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)'')</code></td>
<td>''</td>
<td>string</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$stdclass)</code></td>
<td>stdClass</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$point)</code></td>
<td>Point</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$dimension)</code></td>
<td>Dimension</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$rectangle)</code></td>
<td>Rectangle</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
</table>
Output for 5.0.0 - 5.0.3
<table cellpadding="4" border="1">
<tr>
<th>syntax</th>
<th>value</th>
<th>type</th>
<th>empty</th>
<th>boolean</th>
</tr>
Notice: Undefined variable: val in /in/JN5UK on line 26
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
<tr style="color: #006600;">
<td><code>if((boolean)true)</code></td>
<td>true</td>
<td>boolean</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
<tr style="color: #880000;">
<td><code>if((boolean)false)</code></td>
<td>false</td>
<td>boolean</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
<tr style="color: #880000;">
<td><code>if((boolean)null)</code></td>
<td>null</td>
<td>NULL</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)23)</code></td>
<td>23</td>
<td>integer</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)0)</code></td>
<td>0</td>
<td>integer</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)-26)</code></td>
<td>-26</td>
<td>integer</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)4.21)</code></td>
<td>4.21</td>
<td>double</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
<tr style="color: #880000;">
<td><code>if((boolean)0.0)</code></td>
<td>0.0</td>
<td>double</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)-3.76)</code></td>
<td>-3.76</td>
<td>double</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)'hello')</code></td>
<td>'hello'</td>
<td>string</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)'')</code></td>
<td>''</td>
<td>string</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$stdclass)</code></td>
<td>stdClass</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$point)</code></td>
<td>Point</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$dimension)</code></td>
<td>Dimension</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$rectangle)</code></td>
<td>Rectangle</td>
<td>object</td>
<td> </td>
<td>TRUE</td>
</tr>
</table>
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9
<table cellpadding="4" border="1">
<tr>
<th>syntax</th>
<th>value</th>
<th>type</th>
<th>empty</th>
<th>boolean</th>
</tr>
Notice: Undefined variable: val in /in/JN5UK on line 26
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
<tr style="color: #006600;">
<td><code>if((boolean)true)</code></td>
<td>true</td>
<td>boolean</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
<tr style="color: #880000;">
<td><code>if((boolean)false)</code></td>
<td>false</td>
<td>boolean</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
<tr style="color: #880000;">
<td><code>if((boolean)null)</code></td>
<td>null</td>
<td>NULL</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)23)</code></td>
<td>23</td>
<td>integer</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)0)</code></td>
<td>0</td>
<td>integer</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)-26)</code></td>
<td>-26</td>
<td>integer</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)4.21)</code></td>
<td>4.21</td>
<td>double</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
<tr style="color: #880000;">
<td><code>if((boolean)0.0)</code></td>
<td>0.0</td>
<td>double</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)-3.76)</code></td>
<td>-3.76</td>
<td>double</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)'hello')</code></td>
<td>'hello'</td>
<td>string</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)'')</code></td>
<td>''</td>
<td>string</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #006600;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td> </td>
<td>TRUE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)$array)</code></td>
<td>Array</td>
<td>array</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)$stdclass)</code></td>
<td>stdClass</td>
<td>object</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)$point)</code></td>
<td>point</td>
<td>object</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)$dimension)</code></td>
<td>dimension</td>
<td>object</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
Notice: Use of undefined constant boolean - assumed 'boolean' in /in/JN5UK on line 28
Notice: Use of undefined constant double - assumed 'double' in /in/JN5UK on line 38
Notice: Use of undefined constant string - assumed 'string' in /in/JN5UK on line 43
<tr style="color: #880000;">
<td><code>if((boolean)$rectangle)</code></td>
<td>rectangle</td>
<td>object</td>
<td>EMPTY</td>
<td>FALSE</td>
</tr>
</table>