Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104229 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 60961 invoked from network); 6 Feb 2019 11:42:47 -0000 Received: from unknown (HELO mail-wm1-f45.google.com) (209.85.128.45) by pb1.pair.com with SMTP; 6 Feb 2019 11:42:47 -0000 Received: by mail-wm1-f45.google.com with SMTP id g67so1612398wmd.2 for ; Wed, 06 Feb 2019 00:24:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RToH+wWu211XzjrW3DgPFSls5e+2QShqrMHbzm8F/5k=; b=KFR8uaZ2gAq3P0pWsHdW1WZYg6ophOElB1qJcx21lc5DhqmnnstMl9Xa23NBPPgEcD ZSWn/ulzQ0oZ4P07C5YE4z0Fg7Sjvx2311trMEDROVXBSsl2+aI8zzcvPWyV3t7nWOip 0uoH0njAaQ9AGxX4uV4G9MKz8A1MWrY7wp6MInq/dgfp11PigoueBG5rcZn0HYos0rxf 7OThx7Ct0k8A19CQRjLZpO64TchZGp5cAhHLQex4HAt3I6H5OOBtnnp2HLCE7piwuOpe zm5TIOA6tsXSp/a15wpAdfTKVfm49QI04jO97I0raC0UEDOhDNhEaSCv8Ol16yREzLb9 sI5w== 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=RToH+wWu211XzjrW3DgPFSls5e+2QShqrMHbzm8F/5k=; b=GF6r9U8jrgGgttzvtHNLtFAJrbx2aK9KVRMxt6nKq+4j76WvD1EpdXqJXPmiD0On4t zcTXkVB8cF2ejvHU8Mh0GoPfW3V4XzEly6h+Z5YmvNImSgexJLc9CLwnbC7tVNmfInLW Cfb8QmKfRmbwKhJr8BD7gl+zAIwSuwzKQO7paLccVm3fkirPxgNKmVxdvhcevzCzFOeX jEF8veaU5S8useawsgXJzi1+eyHN8sAEhWz9TCrLT1L5qwcvFl1vkutMakFk3qx6mSLa 9lhp6p4JaJq2Hl8pNUnVI57FmYvYGXGGHPwcMTccRp9Cs9LWQkH2dbj+1+e79SNir+2g aTlQ== X-Gm-Message-State: AHQUAuYm37lHfPDAn1mXV+QVbBMGRvGGiLl1dxmAlAKzxCSwwEvDvn8O l+8BEH9/m05ver2egmQ1F4Pn6Zmw34AYQ9Zd6SvOfQ== X-Google-Smtp-Source: AHgI3IbOlQcnKHVv+cTs25UZCMwUGLQv4i5LCLQX8N3FtESvq0UFN6xKPOs343PhXueFQgmy7N2Thb+WUl9jGCYpu6Q= X-Received: by 2002:a1c:44d6:: with SMTP id r205mr2169569wma.50.1549441447219; Wed, 06 Feb 2019 00:24:07 -0800 (PST) MIME-Version: 1.0 References: <24d0544c-1852-2a72-477d-e6b364dff953@zend.com> In-Reply-To: Date: Wed, 6 Feb 2019 15:23:54 +0700 Message-ID: To: Dmitry Stogov Cc: Kalle Sommer Nielsen , Niklas Keller , Benjamin Eberlei , PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] JIT From: pierre.php@gmail.com (Pierre Joye) On Wed, Feb 6, 2019 at 3:17 PM Dmitry Stogov wrote: > On 2/5/19 10:31 PM, Kalle Sommer Nielsen wrote: > > Den tir. 5. feb. 2019 kl. 20.48 skrev Niklas Keller : > >> Shouldn't we introduce annotations instead of relying on doc comments? > > > > Yeah I'm not too happy with that approach either. I would rather see > > another way to do this and like you said; annotations is probably the > > best way to go about it as introducing a new keyword is not very > > suitable imo. > > > > Attributes were proposed ~3 years ago. > > https://wiki.php.net/rfc/attributes > > There were few other releted proposals. > But they didn't pass. Understanding and adoptions of annotations (Doctrine mainly afaics) have change. I think it is tricky to define it in a way that it can be useful and adopted as a core language feature, meaning being flexible enough to be extendable and usable as a base for userland extensions. That latter part is the biggest challenge. What do the actual users/authors of the current userland implementation think? (pls other thread? :) Best, -- Pierre @pierrejoye