Re: re: foreach behavior on a non-array

From: Date: Fri, 11 Feb 2000 22:10:55 +0000
Subject: Re: re: foreach behavior on a non-array
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-15407@lists.php.net to get a copy of this message
On Fri, 11 Feb 2000, Leon Atkinson wrote: > OK, someone in the office pointed out that it's OK to do this: > > $list = array(); > > and that solves my problem. Now I regret adding my request to > the bug base. :) Incidently, can anyone explain why (array)FALSE > gets promoted to array(FALSE) instead of array() ? We're trying to figure it out, Leon. -Andrei * The best source is the source code. *

« previous php.dev (#15407) next »