Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101220 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62594 invoked from network); 2 Dec 2017 20:02:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Dec 2017 20:02:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=theanomaly.is@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=theanomaly.is@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.181 as permitted sender) X-PHP-List-Original-Sender: theanomaly.is@gmail.com X-Host-Fingerprint: 74.125.82.181 mail-ot0-f181.google.com Received: from [74.125.82.181] ([74.125.82.181:33512] helo=mail-ot0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2F/73-09988-BD6032A5 for ; Sat, 02 Dec 2017 15:02:35 -0500 Received: by mail-ot0-f181.google.com with SMTP id h9so11755525oti.0 for ; Sat, 02 Dec 2017 12:02:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=7jfEaQgIpBbASI6vX4um9hHNtX2kLGa0loJ3vNeyZms=; b=Z3IYBjScFfHR7+jeqAg0xJIN4mOjTi+Vn7P0Y0XTGnaFkmvWIWqqrvI/uZfQFZf64v tqaNBnZ5CLEtyMMA8E9OdALyvUg1+fNgKJYYci4RNZWlv3Xfr8Z2/e+RH/WysTZQBX8v NhwlXCRE4QxTcPSxyd5kFliXJvQNTxT8UNnbdPQHKN3/A7RXy9GULShVPXZZtLkpHs7y 9EgbGqE5+eHtyFCKY6Z2d1iHKUfiubJsgErbFzSg8O8cGbGu4A11WiiWFKscYv4gHhAc 24XGo0GMGKqukBoYGUfaPIMglflYPzwWwDp2z1V4RmlNj8DRaBVHzSuk4LI8OzounU28 eJIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=7jfEaQgIpBbASI6vX4um9hHNtX2kLGa0loJ3vNeyZms=; b=O7pbvIcBDgEc29CcCt0lboWESR6eW5s9yodjId82306A26Zsqi0lfNnHkzXcSzafnB Y2E+Akyay0hRjA2JycWAmA4CN/O/MAA3noLYTBrMN94Zetlcs0KVLUl6zOj4EARwGi80 MmCKXH1Mq2lrvpGAqC1oVJa4/mgzjdkhfIEfIBCvQW4f51nJiLHqjdfOh6dQWxzOHsnm 831VU8ilVMEgpOboYfWjDJDWp/R6iWRBSWLTF0s2mHRFECvytCXDHVsfAlt6SPreVPRs xu0VQbnlC2UFTiVB7/kTcbfptLjB0+yvSlz+tk0lhFvfVhdYifBDC2Vr0ZWPqAoVA/6b i9QQ== X-Gm-Message-State: AJaThX4/wz9FWCoZLgawPBBPbphAjDP4nSG8wvXroYcbAYDWdWK5mFU7 Vuszlphz9NDeoKTkJ6km75/n6UKvdhFvuF+nNH4= X-Google-Smtp-Source: AGs4zMaLkcO5a3zcMz/+lUdgbxNji/IvOB1ewm53DlNUZqWME28tkAhdpnlTio3meCOaCTqFY7qEvOEPtXD963xwIWM= X-Received: by 10.157.29.146 with SMTP id y18mr12675304otd.371.1512244952715; Sat, 02 Dec 2017 12:02:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.168.69.196 with HTTP; Sat, 2 Dec 2017 12:02:32 -0800 (PST) In-Reply-To: References: Date: Sat, 2 Dec 2017 15:02:32 -0500 Message-ID: To: Andreas Hennings Cc: Alexei Gerasimov , Niklas Keller , "Christoph M. Becker" , PHP internals Content-Type: multipart/alternative; boundary="001a113e51803857bc055f60f777" Subject: Re: [PHP-DEV] C++-like function-try-block proposal From: theanomaly.is@gmail.com (Sherif Ramadan) --001a113e51803857bc055f60f777 Content-Type: text/plain; charset="UTF-8" I think we get this "I want to make PHP more like " thing more often than any other language change proposals. I'm not strictly opposed to the idea of borrowing from other languages. Though when the thesis statement is almost exclusively about making PHP feel more like than anything else I'd rather not entertain the idea further. I agree with Nikita that this feature in C++ adds no intrinsic value to PHP. I'm never overly excited about purely syntactic sugar changes in PHP. We've already changed so much of the language in PHP 7 that I'm finding some people struggling with keeping up with PHP 5 - 7 migration paths (and I'm speaking from first hand experience having to deal with one myself at work). I'd like to see an RFC that demonstrates a stronger use case than "avoiding one level of indentation and ", however. Kind of erring on the side of +0 with Sara here. On Sat, Dec 2, 2017 at 1:13 PM, Andreas Hennings wrote: > So to summarize, this feature would save us brackets and one indentation > level. > Saving an indentation level can be quite useful to reduce a git commit > footprint. > > On the other hand, it might confuse some people. It would blur the concept > of a function body scope, and thus the mental model of how the language > works. > E.g. are local variables and parameters shared between the try {} and the > catch {} block? > > It would also mean that userland PHP parsers and IDEs need to support the > syntax. > > So personally I am undecided or skeptical. It does feel alien to me. > Usually if I want to avoid the extra indentation, I will put the try {} > part into a separate function. > But this is just me. > > > On 2 December 2017 at 14:27, Alexei Gerasimov > wrote: > > > > > I did (using this e-mail address), and got the message: "The user has > > been created and the password was sent by email." However, I did not > > receive any e-mail with the password. > > > > > > Sorry for the trouble, seems like nobody tested the sign up process > > after the server migration yet. It seems like the e-mail sender > > configuration is missing. > > > > > > > > > Unfortunately, I don't know the right config, so I can't simply fix it, > > but I've sent a message to Hannes, he probably knows. > > > > Any update? The reset password feature of wiki.php.net doesn't work > > either, I receive no e-mail. > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > --001a113e51803857bc055f60f777--