Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82627 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53350 invoked from network); 13 Feb 2015 17:16:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2015 17:16:00 -0000 Authentication-Results: pb1.pair.com header.from=inefedor@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=inefedor@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.178 as permitted sender) X-PHP-List-Original-Sender: inefedor@gmail.com X-Host-Fingerprint: 209.85.214.178 mail-ob0-f178.google.com Received: from [209.85.214.178] ([209.85.214.178:36391] helo=mail-ob0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BA/92-40724-E413ED45 for ; Fri, 13 Feb 2015 12:16:00 -0500 Received: by mail-ob0-f178.google.com with SMTP id uz6so22218946obc.9 for ; Fri, 13 Feb 2015 09:15:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HXb8nEFfFfACtpgDN3mXqic4IQDKrn1bTCC3n50UtNw=; b=CGLMKMrIts6I7bbwDt5OFg/51qGxXGIA9XeIf665EKSxpTNf6MnpAvpaTYyXO7R60K OzZTcFpj0EjH1nedRJB0XTARRhBBEd6yqNqMsr77T+G6Pc5zhAwni1z3Ll7ZCOd32i5l Pbco3zCOxwvCoZs7kmz/N5oP6Sxzt2d8hBeKksGf5w7HWuWopyiiqGvjWi+a98BpkrOd iE34c9XRICarLuO15aNR8ZM86fzAddyPxMPABd0GorDdC+wrwhHgjmFWfDJ3jc2Ik8wE ogiOOcndMTns4E0xGfE/Hlq6DVYqL0/iGEsxLUCdJC+TH4clyK4I9pFQ9bQUbEUts7fB X+UQ== MIME-Version: 1.0 X-Received: by 10.182.68.12 with SMTP id r12mr7087563obt.84.1423847756420; Fri, 13 Feb 2015 09:15:56 -0800 (PST) Received: by 10.202.59.10 with HTTP; Fri, 13 Feb 2015 09:15:55 -0800 (PST) Received: by 10.202.59.10 with HTTP; Fri, 13 Feb 2015 09:15:55 -0800 (PST) In-Reply-To: References: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> <54DAF884.7000508@lerdorf.com> <203e611c8e0b03568a868b8d931aec37@mail.gmail.com> Date: Fri, 13 Feb 2015 21:15:55 +0400 Message-ID: To: Benjamin Eberlei Cc: PHP Internals Content-Type: multipart/alternative; boundary=e89a8fb1f338bc5db7050efb6330 Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints From: inefedor@gmail.com (Nikita Nefedov) --e89a8fb1f338bc5db7050efb6330 Content-Type: text/plain; charset=UTF-8 On 13 Feb 2015 19:37, "Benjamin Eberlei" wrote: > > Wait i almost forgot, it *does* have an effect on me, especially around > callback handling: > > https://gist.github.com/schmittjoh/778e044deacc6f1fe516 > > Essentially callbacks are evaluated in the mode they are called in, not in > the one they are defined. > You're presenting it like this is a wrong behavior whereas it's expectable to work like this. One thing php will definitely lack especially after/if this RFC gets accepted is callback signature type hints, but maybe we'll see them in 7.x --e89a8fb1f338bc5db7050efb6330--