Re: Re: cvs: pear-core /PEAR/PackageFile/v2 Validator.php

From: Date: Mon, 03 Oct 2005 01:53:01 +0000
Subject: Re: Re: cvs: pear-core /PEAR/PackageFile/v2 Validator.php
References: 1 2  Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-35233@lists.php.net to get a copy of this message
Pierre wrote: > On Sun, 02 Oct 2005 20:27:27 -0000 > cellog@php.net ("Greg Beaver") wrote: > > >>cellog Sun Oct 2 16:27:27 2005 EDT > > > >> # ANOTHER BC break in PHP?! isset() does not work >> # for array indices any longer if the var isn't an array > > >>- if (!isset($list['bundledpackage'])) { >>+ if (!is_array($list) || !isset($list['bundledpackage'])) { > > > It works for me using 5.1 cvs. Which version do you use? > > --Pierre > PHP 5.0.5, windows xp Greg

« previous php.pear.cvs (#35233) next »