Debian Bug report logs - #606081
not documented that will warn upon unset variable vs. won't

version graph

Package: php-doc; Maintainer for php-doc is (unknown);

Reported by: jidanni@jidanni.org

Date: Mon, 6 Dec 2010 10:03:01 UTC

Severity: wishlist

Found in version php-doc/20100521-2

Fixed in version 20140201-1+rm

Done: Debian FTP Masters <ftpmaster@ftp-master.debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Lior Kaplan <kaplan@debian.org>:
Bug#606081; Package php-doc. (Mon, 06 Dec 2010 10:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to jidanni@jidanni.org:
New Bug report received and forwarded. Copy sent to Lior Kaplan <kaplan@debian.org>. (Mon, 06 Dec 2010 10:03:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: jidanni@jidanni.org
To: submit@bugs.debian.org
Subject: not documented that will warn upon unset variable vs. won't
Date: Mon, 06 Dec 2010 15:07:53 +0800
Package: php-doc
Version: 20100521-2
Severity: wishlist
File: /usr/share/doc/php-doc/html/function.is-array.html

/usr/share/doc/php-doc/html/function.isset.html
won't print an error on an undefined variable, but
/usr/share/doc/php-doc/html/function.is-array.html
will, but this is not mentioned.




Information forwarded to debian-bugs-dist@lists.debian.org, Lior Kaplan <kaplan@debian.org>:
Bug#606081; Package php-doc. (Mon, 06 Dec 2010 13:00:07 GMT) (full text, mbox, link).


Acknowledgement sent to Lior Kaplan <kaplanlior@gmail.com>:
Extra info received and forwarded to list. Copy sent to Lior Kaplan <kaplan@debian.org>. (Mon, 06 Dec 2010 13:00:07 GMT) (full text, mbox, link).


Message #10 received at 606081@bugs.debian.org (full text, mbox, reply):

From: Lior Kaplan <kaplanlior@gmail.com>
To: jidanni@jidanni.org
Cc: 606081@bugs.debian.org
Subject: Re: Bug#606081: not documented that will warn upon unset variable vs. won't
Date: Mon, 6 Dec 2010 14:56:34 +0200
[Message part 1 (text/plain, inline)]
It's actually mentioned in a comment of the manual online version at
http://www.php.net/manual/en/function.is-array.php

Kaplan

On Mon, Dec 6, 2010 at 9:07 AM, <jidanni@jidanni.org> wrote:

> Package: php-doc
> Version: 20100521-2
> Severity: wishlist
> File: /usr/share/doc/php-doc/html/function.is-array.html
>
> /usr/share/doc/php-doc/html/function.isset.html
> won't print an error on an undefined variable, but
> /usr/share/doc/php-doc/html/function.is-array.html
> will, but this is not mentioned.
>
>
>
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Lior Kaplan <kaplan@debian.org>:
Bug#606081; Package php-doc. (Tue, 07 Dec 2010 10:42:06 GMT) (full text, mbox, link).


Acknowledgement sent to jidanni@jidanni.org:
Extra info received and forwarded to list. Copy sent to Lior Kaplan <kaplan@debian.org>. (Tue, 07 Dec 2010 10:42:06 GMT) (full text, mbox, link).


Message #15 received at 606081@bugs.debian.org (full text, mbox, reply):

From: jidanni@jidanni.org
To: kaplanlior@gmail.com
Cc: 606081@bugs.debian.org
Subject: Re: Bug#606081: not documented that will warn upon unset variable vs. won't
Date: Tue, 07 Dec 2010 18:38:27 +0800
>>>>> "LK" == Lior Kaplan <kaplanlior@gmail.com> writes:
LK> It's actually mentioned in a comment of the manual online version at
LK> http://www.php.net/manual/en/function.is-array.php

OK, that's nice to see.

However let's hope the find it important enough to mention on the
official page one day.

Otherwise users can't tell if they should first probe with isset to
avoid stepping on this landmine.




Information forwarded to debian-bugs-dist@lists.debian.org, Lior Kaplan <kaplan@debian.org>:
Bug#606081; Package php-doc. (Sun, 16 Jan 2011 04:12:08 GMT) (full text, mbox, link).


Acknowledgement sent to jidanni@jidanni.org:
Extra info received and forwarded to list. Copy sent to Lior Kaplan <kaplan@debian.org>. (Sun, 16 Jan 2011 04:12:08 GMT) (full text, mbox, link).


Message #20 received at 606081@bugs.debian.org (full text, mbox, reply):

From: jidanni@jidanni.org
To: 606081@bugs.debian.org
Subject: add note about warnings upon unsetting unset variables
Date: Sun, 16 Jan 2011 12:08:19 +0800
Also /usr/share/doc/php-doc/html/function.unset.html :
add note: unsetting unset variables
  unset($ccc['eee']['fff'][44]); #will produce a warning about no such ccc
  unset($ggg); #won't warn
Not clear if http://www.php.net/manual/en/function.unset.php mentions this.




Reply sent to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility. (Fri, 02 Dec 2016 13:48:11 GMT) (full text, mbox, link).


Notification sent to jidanni@jidanni.org:
Bug acknowledged by developer. (Fri, 02 Dec 2016 13:48:11 GMT) (full text, mbox, link).


Message #25 received at 606081-done@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 288744-done@bugs.debian.org,348512-done@bugs.debian.org,606081-done@bugs.debian.org,734145-done@bugs.debian.org,737713-done@bugs.debian.org,766816-done@bugs.debian.org,766882-done@bugs.debian.org,821695-done@bugs.debian.org,
Cc: php-doc@packages.debian.org, php-doc@packages.qa.debian.org
Subject: Bug#846134: Removed package(s) from unstable
Date: Fri, 02 Dec 2016 13:46:01 +0000
Version: 20140201-1+rm

Dear submitter,

as the package php-doc has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/846134

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 31 Dec 2016 07:43:37 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 02:41:40 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.