note 68238 added to function.glob

From: Date: Wed, 19 Jul 2006 09:25:33 +0000
Subject: note 68238 added to function.glob
Groups: php.notes 
Request: Send a blank email to php-notes+get-114917@lists.php.net to get a copy of this message
4.3.8 and 4.4.2 has incompatible behavior. If there is no glob result, 4.4.2 return empty array but 4.3.8 returns FALSE. code: <?php $a = glob('hoge'); var_dump($a); ?> result at 4.3.8: bool(false) result at 4.4.2: array(0) { } ---- Server IP: 66.163.161.117 Probable Submitter: 125.173.53.81 (proxied: 172.27.51.127) ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.glob.php Edit -- http://master.php.net/note/edit/68238 Del: integrated -- http://master.php.net/note/delete/68238/integrated Del: useless -- http://master.php.net/note/delete/68238/useless Del: bad code -- http://master.php.net/note/delete/68238/bad+code Del: spam -- http://master.php.net/note/delete/68238/spam Del: non-english -- http://master.php.net/note/delete/68238/non-english Del: in docs -- http://master.php.net/note/delete/68238/in+docs Del: other reasons-- http://master.php.net/note/delete/68238 Reject -- http://master.php.net/note/reject/68238 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#114917) next »