Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21180 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81367 invoked by uid 1010); 12 Dec 2005 03:50:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 81352 invoked from network); 12 Dec 2005 03:50:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Dec 2005 03:50:18 -0000 X-Host-Fingerprint: 64.233.162.207 zproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.162.207:19986] helo=zproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 70/32-49905-753FC934 for ; Sun, 11 Dec 2005 22:49:43 -0500 Received: by zproxy.gmail.com with SMTP id i28so1361772nzi for ; Sun, 11 Dec 2005 19:49:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=IWMJIza0/p1nN/awbHlCsCTOgfN0Yrmry5tyfzN6vk1+Z5LAsiNkeVar7M7E+ZQ083mk3N0G4RSFIMIuRaTPAsbttDjaScYXkaxAsMZM3EUNdOKaNuyPQP0/ezzLkCim5SbQQoKtx0x0T0Zz/ibRqn3mgs5e58FthuL5QApnBMQ= Received: by 10.36.66.9 with SMTP id o9mr5634353nza; Sun, 11 Dec 2005 19:49:06 -0800 (PST) Received: by 10.36.251.69 with HTTP; Sun, 11 Dec 2005 19:49:06 -0800 (PST) Message-ID: Date: Mon, 12 Dec 2005 10:49:06 +0700 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: __set and reference From: superbiji@gmail.com (Superbiji) Hi All, in prior 5.1, it is allowed to do: class MyClass { public function __set($key, &$value) {} } $c =3D new MyClass(); $c->d=3D10; in 5.1 up: that code result this: Fatal error: Couldn't execute method MyClass::__set in Unknown on line 0 I have submit this bug. My question is, is it possible to assign as reference using setter method ? -- kamus online - http://kamus.landak.com/