Re: testing pear part one

From: Date: Sat, 01 Jun 2002 19:55:02 +0000
Subject: Re: testing pear part one
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6701@lists.php.net to get a copy of this message
Hello, robert janeczek! > file_passwd has some errors too: if we are working on empty passwd file than > its users variable isn`t array and this causes errors in foreach (in close > method). so: Hint: $array = (array)$empty_var; or foreach ((array)$array as $element) { } have display no errors. Maybe it's help.. -- Best regards, KVN. PHP4You (<http://php4you.kiev.ua/>) PEAR [ru] (<http://pear.php.net/manual/ru/>) mailto:kvn@php.net

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