Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109193 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 23231 invoked from network); 22 Mar 2020 00:29:08 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Mar 2020 00:29:08 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8C7AF1804DD for ; Sat, 21 Mar 2020 15:52:54 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 21 Mar 2020 15:52:53 -0700 (PDT) Received: by mail-qv1-f52.google.com with SMTP id ca9so5189175qvb.9 for ; Sat, 21 Mar 2020 15:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newclarity-net.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=mlYojk5LXDfjGXad9FU1q752Ia2ZlxQgdhH1+QTfA4U=; b=zJ0rDKDPx/FJkT3FLuCvqi9KQURAh+tUqEh+S8Sv6t7K9bTW4wVp4hMV3YBh/WnLCC LjrlzbbWsw8wNKXtntW9+hYDbIh1vd7sBcR3mCbOqqSqdtTKr/yVminI06Qhpl4Jjm/3 4FqIdLh1fTQ+fgiGDPCVlhd6JyFOpVQyTByZGqNRcANYFPduImlAvPs91AOUZ3CPN4Ir jbQeb57J6SwVU3uXCCQlKLXRpJlkBU+7wck3q5EsmslwRaX5H9bwHcTKfkxEMgsGuBPE gLYsDifMnCi2LdnVHGifCrzCN6YyicvVy5UYQhtJ2hA/yxd/fNUrjK0Lw6NACXvVnIQC oacQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=mlYojk5LXDfjGXad9FU1q752Ia2ZlxQgdhH1+QTfA4U=; b=eNLzuhgNL1vwS4uvijHo5Q5sBTgxa5lbDpJGEVqyRJhm5wxPttH3YdQdd7WsBTPcQa hZvW1/kIOqHuhk+UiQkrh7zl6SDF7Ri7YqFotK5IBhtfX6OV2FcCNWXhdA/QfSshoLUv 3ypWlh8uLF7MyXw7/9ZLNqR1jZihnoKOB6dIZMTmGY8319CyxljweecniGQfLl/WTIi4 +IPakRXCSAFZ7zkUXelZP6NxvvEoAFj1K+aCKp+1f60UpTMO9MXM1WE2Zh8wvtJ+wZ75 XCnEteh2Ns2fcA5GmKssWc+6sBs7qszkUwT4fpTQGXn80zeu8MDtF9zCVwEsgeHzEf2B KEKg== X-Gm-Message-State: ANhLgQ1dn1oSj7VfZtkdO7X2xZb3xxkzCiHNSC/E+kZ6gmsrUd77O46y lk6FO9ZV7xeQxvaZYcei7EcOGHzLGVavZg== X-Google-Smtp-Source: ADFU+vuH7E+4JDTspjg9z1ssOGUqwst+zQj1rX5H6UJdE/7bl2H+/ojaHoR5v5aChMryn/83UCsNAA== X-Received: by 2002:a0c:c344:: with SMTP id j4mr14797218qvi.51.1584831170692; Sat, 21 Mar 2020 15:52:50 -0700 (PDT) Received: from ?IPv6:2601:c0:c680:5cc0:682e:55b2:2475:933? ([2601:c0:c680:5cc0:682e:55b2:2475:933]) by smtp.gmail.com with ESMTPSA id a188sm7446406qkg.17.2020.03.21.15.52.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Mar 2020 15:52:50 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Message-ID: Date: Sat, 21 Mar 2020 18:52:49 -0400 To: PHP internals X-Mailer: Apple Mail (2.3445.104.11) Subject: Are PECL modules preferable? From: mike@newclarity.net (Mike Schinkel) > On Mar 21, 2020, at 5:59 PM, tyson andre = wrote: > FROM: Re: [PHP-DEV] [RFC] is_literal() >=20 > And if it can be implemented as a PECL module, that would be more = preferable to me than a core module of php. > If it was in core, having to support that feature may limit = optimizations or implementation changes that could be done in the = future. Just wanted to address this comment which was made on another thread (I = did not want to hijack that thread.) A large number of PHP users have no control over the platform they run = on, so the option to use PECL modules is a non-starter for them. Here are several of those managed hosting platforms I speak of. = Collectively they host a large number of WordPress sites, and Pantheon = also host Drupal sites: https://pagely.com/ https://wpvip.com/ https://wpengine.com/ https://kinsta.com/ https://pantheon.io/ Given that, if there is an option between a useful feature being added = to core or left in PECL, I would vote 100% of the time for core, since = working with WordPress on a corporate site I can rarely ever use PECL = extensions. #fwiw -Mike=