$base = 5;

$height = 10;

echo "area with base $base and height $height= " . ($base * $height) / 2;

?>

Output:

area with base 5 and height 10= 25

$base = 5;

$height = 10;

echo "area with base $base and height $height= " . ($base * $height) / 2;

?>

Output:

area with base 5 and height 10= 25