Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103810 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 65679 invoked from network); 23 Jan 2019 21:01:00 -0000 Received: from unknown (HELO mail-lf1-f48.google.com) (209.85.167.48) by pb1.pair.com with SMTP; 23 Jan 2019 21:01:00 -0000 Received: by mail-lf1-f48.google.com with SMTP id i26so2244717lfc.0 for ; Wed, 23 Jan 2019 09:38:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IltZQFe9vUlZdW5hzZDhp1WPmhhrnfBZIhbvK9efta0=; b=ieXsUQfvuGkXgp/Fj0VbG9h0EAuNm3MmF2ne6HSqwvXxfaSh0QDcX3rWbhussDujU+ CfcklmC0mL9sQjIFBHkRI2bP/kCGS8y7eRXGxoaaajM1FSqOYobjaYHXj53SHo4YJcyp q/0X8oZbzI+k+A8ceUDl/wx0P3m8pfCXq2UmnLOma6eY1eQDR9ogRi+HAJnnqjIpEDuU J6fVl5NXttJRCkkdjqHnM+JJVOjza+glPbV65+3cC6wohsCu6y9SNDa86inb0YBAA8UI QV9YHJNUNxzZDTLW/0PdgZmiurdl0I3VQOpjBqCvpxe+4O3tAzcLjPqizWLMEmuiNXLu W31A== X-Gm-Message-State: AJcUukeFknJ2WHFPmwFHHhbS3EE0QC7CjtL1KpY5gxlRFbQIbxIfqLpT onDsOWkmuJfs/inEgYLBUkVpa/Svp3K/9oNhw/E= X-Google-Smtp-Source: ALg8bN6XEkjHZoJqSguYegXneP3NQGXiFc4gdsi98/OxyLHTgLyfDRBj/3lKB68oCvkL4BYV+GKebcXYxlRgiQ9gkNk= X-Received: by 2002:a19:cc46:: with SMTP id c67mr2572186lfg.145.1548265135496; Wed, 23 Jan 2019 09:38:55 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 23 Jan 2019 10:38:36 -0700 Message-ID: To: Bruce Weirdan Cc: Andrey O Gromov , PHP Development Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Proposal fo "Code-free constructors declaration" From: levim@php.net (Levi Morrison) On Wed, Jan 23, 2019 at 8:43 AM Levi Morrison wrote: > > On Wed, Jan 23, 2019 at 6:57 AM Bruce Weirdan wrote: > > > > On Wed, Jan 23, 2019 at 2:32 PM Andrey O Gromov wrote: > > > > > Proposed syntax > > > class A($prop) extends B("BlaBla", $prop) { > > > } > > > > Would this work with anonymous classes? If so, how would the syntax look like? > > I have the same question. I don't think it would work with them, but I > could be wrong. Ah, another message confirmed it but it hit my spam folder: it does not work with anonymous classes. In my opinion that is a non-starter.