Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51392 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64813 invoked from network); 31 Jan 2011 18:16:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jan 2011 18:16:10 -0000 Authentication-Results: pb1.pair.com header.from=mathiasgrimm@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=mathiasgrimm@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: mathiasgrimm@gmail.com X-Host-Fingerprint: 209.85.216.170 mail-qy0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:42938] helo=mail-qy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 51/23-45524-96CF64D4 for ; Mon, 31 Jan 2011 13:16:10 -0500 Received: by qyk10 with SMTP id 10so3255876qyk.8 for ; Mon, 31 Jan 2011 10:16:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=QkFf8V/RtV89BaNWbt4sy1WtnGt0CX049ecHwrbxNO8=; b=ND3DLmygXjhkOgySG9qj9qrLcIXU/V7m30DRoi9uW8VIINQHuV1pVvg8oMW9B3a+SQ baLaY6azBda1I7gRu7cLLHsqA1SQLVCBtK11QuOC0Q+3E1xIPBOyi11pDfgKAsger1mi rme7hlRAYeGXmY0C3pXZ6BwtoGxBHQBasQTO4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Y3RLvaNSpjO4hl60SZEDqwKYBThc3625tT9Hg6b17KruXLNUAuvme/woeMa/TynK3q OFANiV2b+00yUje5yJCunVwP+Q89JMpuQv77EntFkyI/Zzpj55Qi8NArjuVW4lKyAo1f w+2PHYT11WDM/wmgAwBZBu++xo011aWd6U8z4= MIME-Version: 1.0 Received: by 10.224.67.145 with SMTP id r17mr6710786qai.11.1296497765838; Mon, 31 Jan 2011 10:16:05 -0800 (PST) Received: by 10.220.164.140 with HTTP; Mon, 31 Jan 2011 10:16:05 -0800 (PST) In-Reply-To: References: Date: Mon, 31 Jan 2011 16:16:05 -0200 Message-ID: To: Ferenc Kovacs Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=0015175cb854c8f195049b28689d Subject: Re: [PHP-DEV] implicit reference From: mathiasgrimm@gmail.com (Mathias Grimm) --0015175cb854c8f195049b28689d Content-Type: text/plain; charset=ISO-8859-1 thanks, there is no = operator overloading =( On Mon, Jan 31, 2011 at 3:47 PM, Ferenc Kovacs wrote: > > > On Mon, Jan 31, 2011 at 6:45 PM, Ferenc Kovacs wrote: > >> 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 >> >> > and for the record, we had a config to turn back that behavior in php5, but > that was removed with 5.3: > http://www.php.net/manual/en/ini.core.php#ini.zend.ze1-compatibility-mode > > Tyrael > --0015175cb854c8f195049b28689d--