<?php
$string = 'hello';
echo $string;
echo 'hello';
echo('hello');
echo($hello);
echo ('hello');
echo ($hello);
echo($y) ;
echo ($loan_device->returndate == 0) ? 'Not returned' : date('d/m/Y', $loan_device->returndate);
?>
<p><?php echo ($foo) ?  'true' : 'false' ?></p>
<p><?php echo ($foo) ?></p>
