Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81021 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43992 invoked from network); 23 Jan 2015 05:31:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jan 2015 05:31:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=xinchen.h@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@php.net; sender-id=unknown Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.217.174 as permitted sender) X-PHP-List-Original-Sender: xinchen.h@zend.com X-Host-Fingerprint: 209.85.217.174 mail-lb0-f174.google.com Received: from [209.85.217.174] ([209.85.217.174:62509] helo=mail-lb0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/70-61273-7ACD1C45 for ; Fri, 23 Jan 2015 00:31:21 -0500 Received: by mail-lb0-f174.google.com with SMTP id f15so5283582lbj.5 for ; Thu, 22 Jan 2015 21:31:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=fvZ7wFXsbf2zMS//9bkIC0NY44NCMsk7XK4GYBgoJLo=; b=Lp6PhO/c34QICqmYqTGHHiIpdyRx+RXAEXQYdtU3su8GihfQ4/cvVMFqSnWzDYyXWM 9TIyvTCYNnpIKobVsoFOH+duks4RafJJzVeiPKZiZbSsna5pNsz65t7umeRVM8csXI9w Fk5kA972Snxw26wuNfdguZRpdDys+1w/Mgru94pBo87yz1xCQ+ROkr2oStpbjMDUFWLc vkKpunySbbZP9G7xntLgj4kclE6mKqOO/DSgYNAdZC66c0Ex+i/iq7N4/XE3ZRZ9i5UX 3h37/ydl9eZ3WgDKJ9web0fo45FKunZQ5KZXIOuw2J283AUrgxuqlFC4hYK0p0MgHAlA TvFQ== X-Gm-Message-State: ALoCoQkyr2mc4ZK9ytrSKzCss9JgjwnUc0QjZLGCGttAVFv6U0Wq8ucsczfWrJiVJ2dzISNJJMkywi/Yg0W0Sx/Gw3rJN1fvs6995vl0kJrOVRzZhMatwdGv8ZBlXcOD7Cqh949ION390U93/AmO71X2rJu/mfLetg== X-Received: by 10.152.27.69 with SMTP id r5mr393841lag.18.1421991076731; Thu, 22 Jan 2015 21:31:16 -0800 (PST) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPSA id w8sm168871lad.17.2015.01.22.21.31.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jan 2015 21:31:15 -0800 (PST) Received: by mail-la0-f51.google.com with SMTP id ge10so5462908lab.10 for ; Thu, 22 Jan 2015 21:31:14 -0800 (PST) X-Received: by 10.112.14.6 with SMTP id l6mr5369087lbc.91.1421991074858; Thu, 22 Jan 2015 21:31:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.64.176 with HTTP; Thu, 22 Jan 2015 21:30:54 -0800 (PST) In-Reply-To: References: <54C12DD8.7020800@lerdorf.com> <54C16698.4080203@lsces.co.uk> <54C193A6.7060206@lerdorf.com> Date: Fri, 23 Jan 2015 13:30:54 +0800 Message-ID: To: Pierre Joye Cc: Juan Basso , Dan Ackroyd , PHP internals , Rasmus Lerdorf Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] PHP7 Homework for everyone reading this list From: laruence@php.net (Xinchen Hui) Hey: On Fri, Jan 23, 2015 at 1:23 PM, Pierre Joye wrote: > On Jan 23, 2015 12:17 PM, "Juan Basso" wrote: >> >> I could isolate the problem. Here is a script to reproduce: >> https://gist.github.com/jrbasso/031fffc8f5eeaf872d4e >> >> The issue seems to be related when a new instance is loaded and then >> get_class_vars is called for the class holding the instance. Removing any >> of the lines from the static method avoids the error. > > Nice work! Thanks :) > >> Should I open an issue on bugs.php.net? > > Yes, please :) I'v got a fix. thanks for the reporting :) thanks -- Xinchen Hui @Laruence http://www.laruence.com/