note 42521 added to function.fnmatch
| From: | lmfe at mega dot ist dot utl dot pt | Date: | Wed, 19 May 2004 20:51:34 +0000 |
| Subject: | note 42521 added to function.fnmatch | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-69851@lists.php.net to get a copy of this message | ||
I'm using php 4.2.2, and noticed that this function returns a boolean (and not an array as
stated in the documentation above)
<?php echo gettype (fnmatch ("*.txt", "abc.txt")); ?>
Results: boolean
----
Manual Page -- http://www.php.net/manual/en/function.fnmatch.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42521
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42521&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42521&report=yes
Search -- http://master.php.net/manage/user-notes.php