Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101321 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45066 invoked from network); 11 Dec 2017 09:31:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Dec 2017 09:31:11 -0000 Authentication-Results: pb1.pair.com header.from=andreas@dqxtech.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=andreas@dqxtech.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain dqxtech.net from 209.85.215.67 cause and error) X-PHP-List-Original-Sender: andreas@dqxtech.net X-Host-Fingerprint: 209.85.215.67 mail-lf0-f67.google.com Received: from [209.85.215.67] ([209.85.215.67:38625] helo=mail-lf0-f67.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 67/FB-53433-C505E2A5 for ; Mon, 11 Dec 2017 04:31:10 -0500 Received: by mail-lf0-f67.google.com with SMTP id e137so18364483lfg.5 for ; Mon, 11 Dec 2017 01:31:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dqxtech-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qb+wdkel9joI+GLDTov0qQcSc0eTaY7VR1ZW1UGmRXo=; b=xnh5E2KoPKkW7VCvczG5GNroSP//JInc45hgLjIggzkpUH7pJadyHaH+E3JbkiJy7F qj72AQdqswKdCzCyEh31FNfKuLk2/5QBsjHC3jay8LEBOAZUyjyINylw5WWviFExzbIY 6meUYuBlWV5D75cdnlSDRRgXXW4KuahW0Rsj+ssntavqK+4cJTXKJ2CeiJvhhxr72aWL zT66EQ+DctRZiio7mvNmVSO45B/5AlOVBCP9lrOkeLotHbi6159ZuvJKqGpq4Z81cWQj iLpIke6/CjcFTTK3EMA5h7vE/iXjIY+bHJJFNp/Ya7ppaky0UVsC4yvyTHqo3gS3XFtm 3+ig== 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=qb+wdkel9joI+GLDTov0qQcSc0eTaY7VR1ZW1UGmRXo=; b=FH2YKaN56iRoIrHcKNa6qnBX0FCAGOMCKom7IahPwpUzi9BVWuNc2WjwsQ+1eiH39S FaaGZ6KhoY3TIQ4VzBHh1vw2DNI1Bj0XORX6Vr0UdHooTpXqSROXOO0CAnECXPfv8lyA xsFePeoN+DsLky8mCJeIjkayjrfQUBfmNRQh+AvfelPrdokC5c7b2jPXn+xi4oUQI5hl ZTuYa95us4Z+j/sfkHzV0eiHykfTRL2rXXWlI+uSM6E/ay5CbcxfU15uSMy7e9eU1I9v 6PUuMx1JzCoCDjsJhteHltlgr3FY0+9p8nXY3ER7S0I67/XinmhWuvLX+RoEJttbxccd AMZg== X-Gm-Message-State: AKGB3mLwbHf+CTspedyhBAFodBFRpjr/BK42ADbkLFlvj4G+AuCDlA7R Gl1MUwvGHrXVv40FPkBelE7eUqgZ X-Google-Smtp-Source: AGs4zMZ/3IgXrVUSMz+s5GOWAGDu4UwmAG1MNpNh1klIPzZoyEZqhxax38ho/o99tegsztLsfcOgmQ== X-Received: by 10.25.233.142 with SMTP id j14mr8317513lfk.101.1512984665335; Mon, 11 Dec 2017 01:31:05 -0800 (PST) Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com. [209.85.215.51]) by smtp.googlemail.com with ESMTPSA id h91sm2647540lfi.7.2017.12.11.01.31.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Dec 2017 01:31:04 -0800 (PST) Received: by mail-lf0-f51.google.com with SMTP id c140so11528249lfg.7 for ; Mon, 11 Dec 2017 01:31:04 -0800 (PST) X-Received: by 10.46.91.79 with SMTP id p76mr20967511ljb.22.1512984663393; Mon, 11 Dec 2017 01:31:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.170.16 with HTTP; Mon, 11 Dec 2017 01:30:42 -0800 (PST) In-Reply-To: References: Date: Mon, 11 Dec 2017 10:30:42 +0100 X-Gmail-Original-Message-ID: Message-ID: To: Marco Pivetta Cc: PHP Internals List Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Reflection API: Add ::getFullName() method. From: andreas@dqxtech.net (Andreas Hennings) See http://php.net/manual/en/language.namespaces.rules.php What you mean is a "qualified name" so it would be a QN. On 11 December 2017 at 10:28, Marco Pivetta wrote: > Weird, that looks wrong to me, so I may be wrong here. > > When receiving a string containing a symbol, the only sensible approach is > to consider it a FQN, as no context is provided with the string. > > Marco Pivetta > > http://twitter.com/Ocramius > > http://ocramius.github.com/ > > On Mon, Dec 11, 2017 at 10:23 AM, Andreas Hennings > wrote: >> >> On 11 December 2017 at 10:16, Marco Pivetta wrote: >> > On Mon, Dec 11, 2017 at 10:03 AM, Andreas Hennings >> > wrote: >> >> >> >> On 11 December 2017 at 09:16, Marco Pivetta wrote: >> >> > If you really want to expose a symbol's FQN, >> >> >> >> Just to clarify: For me, "FQN" means "fully-qualified name", which >> >> begins with "\\". >> >> This is specifically not what I propose here. I want the name without >> >> the leading namespace separator. >> >> So maybe "getFullName()" is misleading. >> > >> > >> > A FQN does not start with `\`. In strings, you always use the FQN >> >> I was following the FQN definition from php-fig group like here, >> >> >> https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md >> >> Maybe this is wrong? > >