rendering of <optional>
| From: | Jeroen van Wolffelaar | Date: | Sun, 11 Nov 2001 21:26:23 +0000 |
| Subject: | rendering of <optional> | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969338708@lists.php.net to get a copy of this message | ||
Compare the protos of:
http://www.php.net/manual/en/function.mysql-query.php
with
http://www.php.net/manual/en/function.flock.php
Both use the same way of specifying <optional>, i.e. like this:
<paramdef>resource
<parameter><optional>link_identifier</optional></parameter>
</paramdef>
and
<paramdef>int
<parameter>
<optional>wouldblock</optional>
</parameter>
</paramdef>
which is identical.
How is it possible than that the proto's are:
resource mysql_query (string query [, resource link_identifier])
vs.
bool flock (int fp, int operation, int [wouldblock])
? I don't get it... By the way, with my installation both are rendered
like mysql, which is IMO correct.
--Jeroen
Jeroen van Wolffelaar
Jeroen@A-Eskwadraat.nl
http://jeroen.A-Eskwadraat.nl