Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51391 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61504 invoked from network); 31 Jan 2011 17:47:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jan 2011 17:47:19 -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 209.85.218.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: 209.85.218.42 mail-yi0-f42.google.com Received: from [209.85.218.42] ([209.85.218.42:49216] helo=mail-yi0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6F/92-45524-7A5F64D4 for ; Mon, 31 Jan 2011 12:47:19 -0500 Received: by yia28 with SMTP id 28so2313786yia.29 for ; Mon, 31 Jan 2011 09:47:16 -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=IElov4aWTd9ODFp2U2UBt90a4NfQyC3OO1uxaWlF7VM=; b=CJU0JU9eU5WXMNMzLma/norEDI7Uv2Vu+nyxK4kOjyHScZDE/yUuv6CbgzMfYGngkS jEo+wcckJ+vwxpsPng6CJVsYVyzX+yi9iUb6BfLjzvh32DNp7nbwDnw9pwlW0hhkZDZg C/qMiFJsSDdqx5MZUtVOvMtzhda92UXP9evGs= 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=mGTpA8G4MCJ5bvwcFQxH70SfwprDYn6bJ+pOypEw7G8rV+C/o4OzQIn7xbEQ7QKSkQ l6PWzsu02KhsyfOsxjCe9foO8s5cz1eKvXE0O1SgjKueHnbwm8i+znzGTKJCDhvcth+I bIOdm84XAQ1VsxnGMz9lPcXF9oy99OIqgjv6w= MIME-Version: 1.0 Received: by 10.90.104.6 with SMTP id b6mr9186526agc.22.1296496036321; Mon, 31 Jan 2011 09:47:16 -0800 (PST) Sender: tyra3l@gmail.com Received: by 10.91.218.18 with HTTP; Mon, 31 Jan 2011 09:47:16 -0800 (PST) In-Reply-To: References: Date: Mon, 31 Jan 2011 18:47:16 +0100 X-Google-Sender-Auth: _MWYil12tf5-52fA32kQMLeZhs0 Message-ID: To: Mathias Grimm Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=00163628369cb29a6d049b280154 Subject: Re: [PHP-DEV] implicit reference From: info@tyrael.hu (Ferenc Kovacs) --00163628369cb29a6d049b280154 Content-Type: text/plain; charset=UTF-8 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 --00163628369cb29a6d049b280154--