HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP Variable Handling Reference : Return the boolean value of different variables
The boolval() function returns the boolean value of a variable.
Parameter | Description |
---|---|
variable | Required. Specifies the variable to check. Must be a scalar type |
Return Value: | The boolean value of the variable |
---|---|
Return Type: | Boolean |
PHP Version: | 5.5+ |
❮ PHP Variable Handling Reference