It could be a good idea to use 2 distinct
funcprototype tags in cases in which the function
changed from PHP 3 to PHP 4.

Looking at the DocBook spec, a funcprototype can only
have one funcdef, and a funcdef can contain #PCDATA.
Also, a funcsynopsis element can contain one or more
funcprototype elements. 

So we could use:

<funcsynopsis>
 <funcprototype>
  <funcdef>
   (PHP 3) int <function>unset</function>
  </funcdef>
  <paramdef>
   ...
  </paramdef>
 </funcprototype>
 <funcprototype>
  <funcdef>
   (PHP 4) void <function>unset</function>
  </funcdef>
  <paramdef>
   ...
  </paramdef>
 </funcprototype> 
</funcsynopsis>

Opinions/comments?


=====
--- Jesus M. Castagnetto <[EMAIL PROTECTED]>

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Reply via email to