title: Doxygen: how to describe class member variables in php?
body: <p>I'm trying to use doxygen to parse php code into xml output.
  Doxygen does not parse description of class member variables.</p>
  
  <p>Here is my sample php file:</p>
  
  <pre><code>&lt;?php
  class A
  {
      /**
        * Id on page.
        *
        * @var integer
        */
      var $id = 1;
  }
  ?&gt;
  </code></pre>
  
  <p>Note that comment has a brief description and variable type.
  Here is xml i got from this source:</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='UTF-8' standalone='no'?&gt;
  &lt;doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"    xsi:noNamespaceSchemaLocation="compound.xsd" version="1.7.2"&gt;
    &lt;compounddef id="class_a" kind="class" prot="public"&gt;
  &lt;compoundname&gt;A&lt;/compoundname&gt;
    &lt;sectiondef kind="public-attrib"&gt;
    &lt;memberdef kind="variable" id="class_a_1ae97941710d863131c700f069b109991e" prot="public" static="no" mutable="no"&gt;
      &lt;type&gt;&lt;/type&gt;
      &lt;definition&gt;$id&lt;/definition&gt;
      &lt;argsstring&gt;&lt;/argsstring&gt;
      &lt;name&gt;$id&lt;/name&gt;
      &lt;initializer&gt; 1&lt;/initializer&gt;
      &lt;briefdescription&gt;
      &lt;/briefdescription&gt;
      &lt;detaileddescription&gt;
      &lt;/detaileddescription&gt;
      &lt;inbodydescription&gt;
      &lt;/inbodydescription&gt;
      &lt;location file="C:/projects/version6-7/asprunner/PHP/source/classes/a.php" line="11" bodyfile="C:/projects/version6-7/asprunner/PHP/source/classes/a.php" bodystart="11" bodyend="-1"/&gt;
    &lt;/memberdef&gt;
    &lt;/sectiondef&gt;
  &lt;briefdescription&gt;
  &lt;/briefdescription&gt;
  &lt;detaileddescription&gt;
  &lt;/detaileddescription&gt;
  &lt;location file="C:/projects/version6-7/asprunner/PHP/source/classes/a.php" line="5" bodyfile="C:/projects/version6-7/asprunner/PHP/source/classes/a.php" bodystart="4" bodyend="12"/&gt;
  &lt;listofallmembers&gt;
    &lt;member refid="class_a_1ae97941710d863131c700f069b109991e" prot="public" virt="non-virtual"&gt;&lt;scope&gt;A&lt;/scope&gt;&lt;name&gt;$id&lt;/name&gt;&lt;/member&gt;
  &lt;/listofallmembers&gt;
    &lt;/compounddef&gt;
  &lt;/doxygen&gt;
  </code></pre>
  
  <p>Neither description or type were parsed.
  How can I fix this?</p>