           :

  :

boolean(false/true)
integer()
float(   )
string()
  :

array()
object()
  :
resource()
NULL(  )

    :

mixed()
Number()
callback( )

   :

Boolean

  :

<?php
$q=false;
if($q)
{
print "hello world";
}
elseif($q=true)
{
print " !";
}
exit;
?>

    $q  false,   , 
    -   $q ,   hello world, 
 $q   false,    !.  .

integer

<?php
$q=2;
$w=3;
$e=$q+$w;
print $e;
exit;
?>

   ,     , 
  : " $q  2,  $w  3,  $e   
 $q  $w,   5,      $e,      
  5". , integer   ,        -  
( ).

float

<?php
$q="1.5";
$w="1.5";
$e=$q+$w;
print $e;
exit;
?>

    ,   ,      , 
 ,      3. float   6   .