Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61375 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89410 invoked from network); 17 Jul 2012 19:12:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2012 19:12:36 -0000 Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.42 as permitted sender) X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.214.42 mail-bk0-f42.google.com Received: from [209.85.214.42] ([209.85.214.42:43948] helo=mail-bk0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 74/C6-54353-329B5005 for ; Tue, 17 Jul 2012 15:12:36 -0400 Received: by bkcjm19 with SMTP id jm19so725882bkc.29 for ; Tue, 17 Jul 2012 12:12:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; bh=Fmgb5jnUSTmHDtoLAkhrDvb7w61wnOiohbk4Hv2PL10=; b=avjL/fkP6Z/k9h1Wp5QkRL+HmtQBhTpzStw0In44L5Xo32qnwfjfL0F14Lgmudy+5G 6ed78th1PcN2POHq4266BzvcuDgmbi9aK/XLglJbZh6tuhi51qnAgsPEK5aeZQ9nv4aw 9UPE7QThH+MtGqodKKbH0oUZzp/TZWnQW6E/ML8LdqgtkB83Vz8YTI5q2guAo1lq8KJD +K6q+MdnwRw6B/J7qoGvjtY+D4yJiDpcbmnPQJg2BEx1Hb0Uo/aX2wNI3jadyiMBLRif PNmCTn6XIu2DiAUHVi4m2SWWHar4lRVKnt5ESD2Eudtbb3LT+aMt1jZ2LTHIdeTvX/Dh a/mg== Received: by 10.152.147.33 with SMTP id th1mr161206lab.9.1342552352076; Tue, 17 Jul 2012 12:12:32 -0700 (PDT) Received: from [10.0.1.7] ([93.185.190.227]) by mx.google.com with ESMTPS id pe8sm19652875lab.17.2012.07.17.12.12.28 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Jul 2012 12:12:29 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: multipart/signed; boundary="Apple-Mail=_6B593233-0DAA-443E-8592-27DEC2D4FE4B"; protocol="application/pgp-signature"; micalg=pgp-sha1 In-Reply-To: <5005B68E.8080805@sugarcrm.com> Date: Tue, 17 Jul 2012 23:12:26 +0400 Cc: Pierre Joye , Gustavo Lopes , internals , Andrew Faulds Message-ID: References: <50059AF8.5050805@sugarcrm.com> <9430CE0C-7DA4-4655-92D5-056E12A7BC74@gmail.com> <5005A5E4.2030004@sugarcrm.com> <5005B68E.8080805@sugarcrm.com> To: Stas Malyshev X-Mailer: Apple Mail (2.1278) Subject: Re: [PHP-DEV] Pseudo-objects (methods on arrays, strings, etc.) From: indeyets@gmail.com (Alexey Zakhlestin) --Apple-Mail=_6B593233-0DAA-443E-8592-27DEC2D4FE4B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 17.07.2012, at 23:01, Stas Malyshev wrote: > Hi! >=20 >> Options are: * "5-to-6" tool, similar to python's "2-to-3" converter, >> which will fix code. >=20 > Do you know any practical way of how such tool could work? That would be: tokenizer + static analysis (with type inference) + = replacing some of the tokens. Not a trivial task, but definitely doable. And a large amount of php code (popular tools, frameworks, =85) for = writing tests :)= --Apple-Mail=_6B593233-0DAA-443E-8592-27DEC2D4FE4B Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) iQEcBAEBAgAGBQJQBbkaAAoJEM8kLGy4PJ4JojIH/jfI9otQFrHCYK5WO+vO+MSC Pxoo5Euvg7p9taUZuN2PlwuhSflSHqgZLIE60ptR0Rx0qtQtABsIq9dGsH1brveF o8HwImv27WJpEWNybjiUY4uwZD7AHv33AqUNreknNo63jPkow5fADkYVkU8XhjcK pc8UdkOAvRPoKjnZgJ6xE56qUhXdRPTXVbl5SWcCT/neh8iyogP5vpUCUAZDuv45 GT+q6qfQi7sbpfjiL4dRuvv1voISuzz21m6BQmiMC1Em0wmtkwoFaOPWjT0OOZmt ynjsv1EKNIwPLpcRNaLJnJB+klOOqlNwaMZq53M5TzbHOxo6pRLAAcJ7MainbBU= =aqwV -----END PGP SIGNATURE----- --Apple-Mail=_6B593233-0DAA-443E-8592-27DEC2D4FE4B--