<?php
$bool = true;
$notBool='lol';
$int = 1;
$notInt='1';
$float = 1.23;
$notFloat = 'hi';
$str = 'i am a string';
$notStr= 2;
$null= null;
$ten = 10;
$two=2;
$three=3;
var_dump(is_bool($bool));
var_dump(is_bool($notBool));
var_dump(is_int($int));
var_dump(isset($null));
var_dump(empty($null));
echo "<hr>";
echo $ten+$two;
echo '<br>';
echo $ten-$two;
echo '<br>';
echo $ten*$two;
echo '<br>';
echo $ten/$two;
echo '<br>';
echo $ten%$three;
echo '<br>';
echo $ten++;
echo '<br>';
echo ++$ten;
echo '<br>';
echo $ten--;
echo '<br>';
echo --$ten;
echo '<br>';
echo $ten . $two;
echo "<hr>";
var_dump($ten>$two);
var_dump($ten>=$two);
var_dump($ten<$two);
var_dump($ten==$two);
var_dump($ten!=$two);
var_dump($ten===$ten);
echo "<hr>";
if ($ten>$two && $three>$two){
echo 'this is true';
}
echo "<br>";
if ($ten>$two || $three<$two){
echo 'this is true';
}
if (!false){
echo '<br>'.'true';
}else {
echo "<br>".'false';
}
?>