Re: Warning when using File/Find.php

From: Date: Tue, 21 Aug 2001 03:07:12 +0000
Subject: Re: Warning when using File/Find.php
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-1641@lists.php.net to get a copy of this message
Markus Fischer wrote: > > I get > > Undefined variable: matches in > <b>/public/mfischer-home/mfischer/php4/lib/php/File/Find.php</b> > on line <b>91</b><br> > > when the glob doesn't match any file. > Proper initialization of $matches would prevent this. > Corrected, now returns null on no matches (and also no warning :-) Thanks, Tomas V.v.Cox

« previous php.pear.dev (#1641) next »