Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51390 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60273 invoked from network); 31 Jan 2011 17:45:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jan 2011 17:45:34 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.83.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 74.125.83.42 mail-gw0-f42.google.com Received: from [74.125.83.42] ([74.125.83.42:59025] helo=mail-gw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 85/52-45524-735F64D4 for ; Mon, 31 Jan 2011 12:45:28 -0500 Received: by gwj23 with SMTP id 23so2344508gwj.29 for ; Mon, 31 Jan 2011 09:45:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=vtIQCqp3NmzdVTgrHRBsJoKQbC6ZfKfCHV1rtY+gQfk=; b=KBcythwdcGB4pW5kTMWfEtBCWnZB95pmjCmlfLy20Y0TxCrObZoLJMG57BCZheOKf4 tgPXr7547l97WnP//Pyf77z4qPuRqywisN6W0QUMuktOu3xDJe5flTNV0j71LXyx1yl6 jgItwSwy0ONwStUtpLkeePXnl1FybH7c++NJM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=x2zE5z3LQQKNnnDIB/JpPrvPR89sAaC92f3aePnQ8e4PbxpizJwcp9Xjwjv+9Ce28v lgdCvmPyerLTG+wukTLw/DgMXV4SWgbISavIHl5NNP5FCAv3gC9BpthQGxvHTxP9q9qO a6cEF8z7SVOyKqNd0izvTG6GnuY9JbsoOD9Bw= MIME-Version: 1.0 Received: by 10.90.10.34 with SMTP id 34mr9143832agj.157.1296495925278; Mon, 31 Jan 2011 09:45:25 -0800 (PST) Sender: tyra3l@gmail.com Received: by 10.91.218.18 with HTTP; Mon, 31 Jan 2011 09:45:25 -0800 (PST) In-Reply-To: References: Date: Mon, 31 Jan 2011 18:45:25 +0100 X-Google-Sender-Auth: LfISQYWzABjZZ5haf6akmq3D2L8 Message-ID: To: Mathias Grimm Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=0016361e847c1438c5049b27fb6d Subject: Re: [PHP-DEV] implicit reference From: info@tyrael.hu (Ferenc Kovacs) --0016361e847c1438c5049b27fb6d Content-Type: text/plain; charset=UTF-8 On Mon, Jan 31, 2011 at 6:38 PM, Mathias Grimm wrote: > I am migrating a huge php 4 system to php 5.3. > > I need something like a op override for the = operator. > > I'm working on a script with lots of ER + token_get_all but its also a hard > work. > > Any suggestion ? > > I dont want refereces.. except in explicit cases and i need to use php 5.3 > hi it would be a better to migrate the project to using cloning where neccessary http://php.net/manual/en/language.oop5.cloning.php but until that, you can use some hack like http://pecl.php.net/package/operator (don't know if it works with 5.3) Tyrael --0016361e847c1438c5049b27fb6d--