Re: cvs: qaweb / buildtest-action.php

From: Date: Mon, 26 Aug 2002 09:47:44 +0000
Subject: Re: cvs: qaweb / buildtest-action.php
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-5884@lists.php.net to get a copy of this message
Hi, On Mon, Aug 26, 2002 at 12:28:33PM +0300, Andrey Hristov wrote: > count() returns int(1) on every variable that is set. So in this case > count() is made not on array but on string. This always will be int(1). jan@dahlia /mnt/data/cvs/php4/sapi/cli> ./php -r '$i =array(); echo count($i);' 0jan@dahlia /mnt/data/cvs/php4/sapi/cli> so? Jan -- Q: Thank Jan? A: http://geschenke.an.dasmoped.net/ Got an old and spare laptop? Please send me a mail.

« previous php.qa (#5884) next »