Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75463 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86728 invoked from network); 14 Jul 2014 14:09:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jul 2014 14:09:23 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.50 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.50 mail-wg0-f50.google.com Received: from [74.125.82.50] ([74.125.82.50:35529] helo=mail-wg0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 27/A8-43645-394E3C35 for ; Mon, 14 Jul 2014 10:09:23 -0400 Received: by mail-wg0-f50.google.com with SMTP id n12so4101098wgh.33 for ; Mon, 14 Jul 2014 07:09:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=m5zRoSWCDilCCB+GMJ7RxreZtbHPfiqcFhq6K2dSzSE=; b=nx8vnand/COptJT0u9acLY8nIGIh/ZfhMP2P2SBP8CSF/xzOEE0euu1HgmDYHUVrga qsI+k7K2cIdsBCv/CFtOp3eJyrjGfIsU6rTazKDXceKNr00wGLyl5aq/yK33db4kt8cw IxABqFreL6aGI1YQL+9DfSILu+DSaUUAbF8qjNr3VV9dzBoe8rGNZ80Q5sy3Hij+pFq8 6GsWhtBD0vf8GNBWCSP0zvaBXEm6MMurWyNX7IcDd+UtBeSB1UELuzWujKlD1qYea1Ic sRvTnm/937Dh7UlTFji2LcvsI1I4G0mbYQQlyATfQkkfe7EG/D2T019xM3vWqpQcQx1j HWCg== X-Received: by 10.194.121.6 with SMTP id lg6mr3731929wjb.116.1405346957596; Mon, 14 Jul 2014 07:09:17 -0700 (PDT) Received: from [192.168.0.139] ([62.189.198.114]) by mx.google.com with ESMTPSA id u10sm25717103wjz.43.2014.07.14.07.09.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Jul 2014 07:09:16 -0700 (PDT) Message-ID: <53C3E419.4060906@gmail.com> Date: Mon, 14 Jul 2014 15:07:21 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: PHP internals References: <08503591-EFC8-48E6-984E-FFC292C5EA5F@ajf.me> <027E65EF-C4FC-474C-92BB-D99EFADDEEED@ajf.me> <53C29EE4.3090808@gmail.com> <63e5b1c38d6e0c5111987e78d9b59be3@mail.gmail.com> <53C2AF35.40003@gmail.com> <93bb0c689ccca03a0af46c51abf0e11f@mail.gmail.com> <53C2C84A.6060308@garfieldtech.com> <49C63232-AB78-4B2C-A3E4-B21748D5D489@ajf.me> <53C2DC03.2050609@gmail.com> <53C3CFE6.90604@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Scalar Type Hinting With Casts (re-opening) From: rowan.collins@gmail.com (Rowan Collins) Arvids Godjuks wrote (on 14/07/2014): > There is no special casing, Array and Object type hints are already > implemented and are in the language for quite a long time. Just don't > touch them, that's all I ask. The special case existing for backwards compatibility doesn't make it less of a special case. Imagine you're writing a tutorial, from scratch, after this feature is implemented: you will need to document two divergent behaviours.