Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105882 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 8677 invoked from network); 12 Jun 2019 19:03:52 -0000 Received: from unknown (HELO mail-qk1-f182.google.com) (209.85.222.182) by pb1.pair.com with SMTP; 12 Jun 2019 19:03:52 -0000 Received: by mail-qk1-f182.google.com with SMTP id i125so10695864qkd.6 for ; Wed, 12 Jun 2019 09:16:48 -0700 (PDT) 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:reply-to :from:date:message-id:subject:to:cc; bh=mJB9aXMqJ6lfiUHA1PAJc9Z00yoOckocB6f9H4dzcgs=; b=jU6J5Pq3iXB3th6fvbnQkbcJ/tWcsSsU7LZQxLXVle9536wNCYSCuvvNQOGEUY58jA uO+/V4pr8BTUZqdAMaAAseDpAw+hKzAhXoWrVL0gcbj61BX0u5/WgJ/ZeW84kXFBnis2 HHwLHOL8kj8nrFSLi4MbKSbC0UN8cGaNfF5Vq5rhvLAF6Viu8CU8XFLPc1Rz0O/f4Zum c/HeRMfgNAQRkAeKK79O5+dNy4Uk72VMLcK+Wz5VQyEinan/44NBa7C/UfTcbIV1tRAk VQ+XiFpYrPptPwM4/DEgPen0zLe/KS07B8uCoy4B4oTrCFgA7sfn9FHhYICcqPmyl4zV b5ig== X-Gm-Message-State: APjAAAVupJn8I9H+pbjALLC4ggyBn9dBAzCyf4nwf6hbol447FNUb6lc g1a4TZTJPntOlniI1KEcQLdw3eETXXgpNODqgMs= X-Google-Smtp-Source: APXvYqxDSbI6y2mRLZh5yzNIzmrKm+yWuieKCYhWJ4WhFEbY2nXmTud1my6Yb/86j9PcFG+W/nsLYcVrh6/wLEdaGtc= X-Received: by 2002:a05:620a:13b9:: with SMTP id m25mr5340941qki.246.1560356208353; Wed, 12 Jun 2019 09:16:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: bishop@php.net Date: Wed, 12 Jun 2019 12:16:22 -0400 Message-ID: To: "G. P. B." Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000085a52b058b22bd65" Subject: Re: [PHP-DEV] Feedback on state of some PHP extensions, functions, etc. From: bishop@php.net (Bishop Bettini) --00000000000085a52b058b22bd65 Content-Type: text/plain; charset="UTF-8" On Wed, Jun 12, 2019 at 11:35 AM G. P. B. wrote: > - PharData::setAlias, PharData::setDefaultStub and PharData::setStub > always throw PharException > [11] [12] [13] > [11] https://www.php.net/manual/en/phardata.setalias.php > [12] https://www.php.net/manual/en/phardata.setdefaultstub.php > [13] https://www.php.net/manual/en/phardata.setstub.php I don't know how much this is used in the wild, but these methods exist so that a user may treat a Phar and a PharData as interface-equivalent objects independent of the phar.readonly INI setting. I lean toward leaving these no-op methods as is, but I am happy to further discuss their merit. --00000000000085a52b058b22bd65--