Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60281 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17503 invoked from network); 24 Apr 2012 15:29:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Apr 2012 15:29:41 -0000 Authentication-Results: pb1.pair.com header.from=philip@roshambo.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=philip@roshambo.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain roshambo.org from 209.85.160.42 cause and error) X-PHP-List-Original-Sender: philip@roshambo.org X-Host-Fingerprint: 209.85.160.42 mail-pb0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:57024] helo=mail-pb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DC/3F-34190-4E6C69F4 for ; Tue, 24 Apr 2012 11:29:41 -0400 Received: by pbbrp2 with SMTP id rp2so198974pbb.29 for ; Tue, 24 Apr 2012 08:29:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer:x-gm-message-state; bh=mIULtgBmQdzjY0yOmI9i1M87hTUVy/vIofidBqD4giU=; b=eWEn8w9KDcI0ma50+4/5TIhLvBPhsTekhWYNISliXDNBUHAIG5NwgcfSio8iwlZqLB kQ+onnAqdBlESDRu4jILDQHaPQbt8H2ZGKDnrX4C4AoFhqRGgqyP+0rfUk98Q8MQkVXm WK/SccSgmWp8MFFlF/tIHaJicjhgLqdyd28LKpUuTojOaTBIXoR0ILhd0fjYVAJKUCPq ZZCCLdXq663PFukGRRxKc841sWg07B0QRBdxz/0/4e7QPMq6smkSUQdj4pY0f2qBIUl2 Wmm1ZG+/N4bKr3Xx974nRmajbqe2CoNgc88wEoVyCz5t5WOrt0SIBLUJw7G3m5I0OgPE 0/fA== Received: by 10.68.131.101 with SMTP id ol5mr4471281pbb.54.1335281377221; Tue, 24 Apr 2012 08:29:37 -0700 (PDT) Received: from [192.168.2.100] (c-71-56-134-232.hsd1.wa.comcast.net. [71.56.134.232]) by mx.google.com with ESMTPS id wo8sm2947494pbc.0.2012.04.24.08.29.34 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 08:29:35 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 24 Apr 2012 08:29:27 -0700 Message-ID: To: PHP Internals Mime-Version: 1.0 (Apple Message framework v1257) X-Mailer: Apple Mail (2.1257) X-Gm-Message-State: ALoCoQlmA+Ht8fXZxGAc/CQCgqszepB2WAKt406Dt1xN9FmXzraf95wT/KVh9EaFQuum6JsHcsL9 Subject: get_magic_quotes_gpc() returns false instead of 0 From: philip@roshambo.org (Philip Olson) Hello everyone, The following bug report brings up a good point: https://bugs.php.net/61784 The get_magic_quotes_gpc() function returns 0/1 before 5.4, but now it returns boolean false. Instead it should return 0. Fixing this feels like a bug fix, which would go in 5.4.1. Thoughts? Regards, Philip