Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125655 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id B6F041A00BD for ; Mon, 23 Sep 2024 17:08:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1727111424; bh=6CFOJl2vxEG7uJlecx8kGXRy6vK79VrKfuwijwP/rDg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=N4K5LX3TcMLOkuDuiTp2tugY+2HzprYr+Rq/PMln8t2Q5VVNAy0xl3meDvwAMGEKu QQvaI+7ci4du+ShoRvH9eJMCIo8dpTRCuyHG02K3xxnI1pUpxRzwVfpBnk4edEJj1y 7uBV4L7fbqqwyz7jFq4C3VeSqXyvMKLaAbI8Vxs8SpuBT1ZEhcoOdX4XmjTYsqb59n sqAVUzyZed0iucR9ymiwIPWQyOuZiXjiKjVixZc4ihDRuE025V25fLOXH+OvBzJA2o xbBqJYqv5RWhH2mRpxFksgDtiWjB9vzdeOWHJz7eSiTzT8igCjUnyRopZWLeWxn+oi hULJGKaZN0lJA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DB300180059 for ; Mon, 23 Sep 2024 17:10:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mx1.dfw.automattic.com (mx1.dfw.automattic.com [192.0.84.151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 23 Sep 2024 17:10:21 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx1.dfw.automattic.com (Postfix) with ESMTP id A18331DCF5A for ; Mon, 23 Sep 2024 17:08:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=automattic.com; h=content-type:content-type:subject:subject:message-id:date :date:from:from:in-reply-to:references:mime-version:received :received:received:received:received; s=automattic1; t= 1727111291; bh=6CFOJl2vxEG7uJlecx8kGXRy6vK79VrKfuwijwP/rDg=; b=E sHASLfadBET6Z4br2jzqcQD6zCJsDm6siiKFnm1kmiNoEKT4wnSaRgqNboRa3oo8 /FlyBkS7rHGuIaIXq3ozTURDqJBzJ7RpphVQCx3zATljXZutS2WjbemThc7Ha4FT hGmyw8JaScLhdjCsZB80PuOM2vlpHqP0RoVWLsRyNK74IcyxjxX7DAe9xKOmCFwi ebnkJXe1ct+s95IkXvDOj5t5czjhc7KXswb88gBbDoWaB42QQ9lU/BmikbJDcVX8 /9oYAE7treZhkfs0nZqPd2UX5Pi35c8Trp1wA+wr1vuzPEfjMqLJKMdRwvqEcWvF UYXrPDwD/VAzUmg+CpJ4g== X-Virus-Scanned: Debian amavisd-new at wordpress.com Received: from mx1.dfw.automattic.com ([127.0.0.1]) by localhost (mx1.dfw.automattic.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vNtP0JcjiArP for ; Mon, 23 Sep 2024 17:08:11 +0000 (UTC) Received: from smtp-gw.dca.automattic.com (smtp-gw.dca.automattic.com [192.0.97.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.dfw.automattic.com (Postfix) with ESMTPS id 52D8A341168 for ; Mon, 23 Sep 2024 17:08:11 +0000 (UTC) Authentication-Results: mail.automattic.com; dkim=pass (2048-bit key; unprotected) header.d=automattic.com header.i=@automattic.com header.b="LGFTcUbe"; dkim=pass (2048-bit key; unprotected) header.d=automattic.com header.i=@automattic.com header.b="B0pO5BTt"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=automattic.com header.i=@automattic.com header.b="VMOjXv/N"; dkim-atps=neutral Received: from smtp-gw.dca.automattic.com (localhost.localdomain [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-gw.dca.automattic.com (Postfix) with ESMTPS id EAD0EA09EE for ; Mon, 23 Sep 2024 17:08:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=automattic.com; s=automattic2; t=1727111291; bh=6CFOJl2vxEG7uJlecx8kGXRy6vK79VrKfuwijwP/rDg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LGFTcUbeN9U0LHg44te+8qazuMyQGtmK8gLnaVhZVUqZv9yZmEgmoW7piHBq3e7gf 6jv+Jdzy9h4qpFbckiAcz/teeivkSbhQcUTsGXgvHeqq9/3Wcp/zMSnU/OPLBdaWT9 xpH3CMnwXmZlDgcNQ+5uEDgCIEslrjFhWiGHzBbPKFyBP/2VMpQOh9ys9yPg/fgC2f L7cGobXnqwsn49Xbwc6TfWYT6L6cwHfWpupXwkJRxMajaU9Ks6gCaqIYdyT7G/vOfP pc71wPwaUiCs8BjcLuevdRq4eepB3EzOwjXYHv74r6LmTQ1oPs6hjnQ3ZV2EI3tIsi nVUFw/7exgZKQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=automattic.com; s=automattic1; t=1727111291; bh=6CFOJl2vxEG7uJlecx8kGXRy6vK79VrKfuwijwP/rDg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=B0pO5BTtfTpmhHkxAUiDRz2TEOsNgqpsAK9ddIWZFmYoaYYxm0IMw/krUoXc3kOxP OTZpWLevCRJPO0DrGzAehrFHbaGsH8bxA/fqrtQgkW2s2cYVD3IPfzBoXLDNwpje2n 3tCPft11mX9Ttxp2+VKITv4W+b2CG9h6JtGhZPPxWw37/gseFiKy9PQDnaASsB8mIs wgID4Vm2fgz/kTVk5wa4m1oQPEWmU12BRs9pFyqSCwQrGaIT+0NS/w/hJycrhQZ1Me tJz/gulhko9gA3N7T5S1ucrks/6I4WN8p5CXL4DQcg25Y3aEGl1YcTDVN9r/Yhc3io G2JEYxWk0CD4w== Received: from mail-oo1-f71.google.com (mail-oo1-f71.google.com [209.85.161.71]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-gw.dca.automattic.com (Postfix) with ESMTPS id C0A66A09BC for ; Mon, 23 Sep 2024 17:08:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=automattic.com; s=automattic2; t=1727111290; bh=6CFOJl2vxEG7uJlecx8kGXRy6vK79VrKfuwijwP/rDg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=VMOjXv/Nzjzq6dHEGpyTiQg1+eIARMqP44eGMGLIMbtq4/ZrB7ABywdDQncGzMZiN fo/wKAnC98r7czVpxNrzCCR2jaquDGu22ex0hfHYm0BKRQ4MGsuUWCZCFWRba5oSYO hTehSN02HdtJiOlHrH4BKOlwmdPrEdGx6to+Lwv6+ew5f5XE0o4FcE8P6imqpPMTg2 KrGt/TzvvQK3UZiPUwK7ruv30tGRVoE8p5U2DchTPzJTFAhnKXym5Bl7o57h9RNaDj ACgHRE/a/yGm6WNpB3Cii+MrNjWxttL5XEt5fHffBT5UrUi5alrCAg+dcsxXNafk+E sbxqKcni78scg== Received: by mail-oo1-f71.google.com with SMTP id 006d021491bc7-5e1d2056d62so3902147eaf.3 for ; Mon, 23 Sep 2024 10:08:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727111290; x=1727716090; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CS1CcbTrjDT5ej0v9VP18rZ0896LGczE9T0OaY0v1vA=; b=JsUfWiKSmN87TmJPt2uvMJ/kdwoqLCrw6Hm5Cry9mGgLvCU75vaINRsuyg0+w5//jP LtDrATfPdKb80zeOlhe5KqBxEjd//EcQDbKHV6wfsP86XqyaF7UsjkAmhEkPk7il+wWW vOfhycHvQA+IYgE45wQGNM+clrvJdZQZfjlL3OYdpM0VXcJ8BmlcD7Qhk4mkoiwgWPpt MvSMFF9C8p302KlLJY/4DTq47xgB+v7vopuo+u7bOvS9e6XQ42HHAlcdeYSkFbKHRK4o CNRkqfT43NWmWLos+ZketCniR4HbEUoNiCa7Li2IPm+ov4rQi57A72ix9hZqbg/X0dxJ OeUw== X-Forwarded-Encrypted: i=1; AJvYcCXIP6aYCRUb/IAIer8JwfzaxB6jsBPpeMYVmS9tfG6rdcWHwJOWO+UwJT1aMo9vIsvnP8jW3Rp/ShQ=@lists.php.net X-Gm-Message-State: AOJu0YxyKNibcw6479rh1rv3w+LBnc0o7REkINpM6zvGJbRvz1SL2V7b OzJvr9fgZMbDlsf0ZK8TOU0ZkgmWr1JhAw1vuYvKeLDmkGVbbQ6uhpt3lOoph4ygS/FkPWCod+E 3sVfo7+NXOsccpB7Ee7u06BR/Bf86qV5DAzaIPdon44be6jPIn+82JbkR2D63L2QwRbveZBpz2J 5pZrr6noGpMvz3CNY76Z0rxqiNgsKY9A== X-Received: by 2002:a05:6359:45a9:b0:1bc:468f:c74d with SMTP id e5c5f4694b2df-1bc974d6f99mr352387655d.0.1727111290137; Mon, 23 Sep 2024 10:08:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFsZBY8bjRgOgne/3+98uPN3XyfP7moAWut/5SK83fvdh/la0suMOP79ao1pMvo7LefwmMtiW95kBc6wKkKYtU= X-Received: by 2002:a05:6359:45a9:b0:1bc:468f:c74d with SMTP id e5c5f4694b2df-1bc974d6f99mr352384855d.0.1727111289873; Mon, 23 Sep 2024 10:08:09 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <8D420123-4ECF-48FD-A9C3-F80C60457A37@newclarity.net> <7EA884D2-0F37-4BF1-AC97-DB6953C944E6@automattic.com> <042AF6B3-ACAD-498E-99FA-CD7EDE8778FC@newclarity.net> In-Reply-To: <042AF6B3-ACAD-498E-99FA-CD7EDE8778FC@newclarity.net> Date: Mon, 23 Sep 2024 19:07:59 +0200 Message-ID: Subject: Re: [PHP-DEV] Zephir, and other tangents To: Mike Schinkel Cc: Arvids Godjuks , Niels Dossche , Larry Garfield , "Rowan Tommins [IMSoP]" , Hammed Ajao , Dennis Snell , Rob Landers , Adam Zielinski , PHP internals Content-Type: text/plain; charset="UTF-8" From: adam.zielinski@automattic.com (Adam Zielinski) On Mon, Sep 23, 2024 at 8:14=E2=80=AFAM Mike Schinkel = wrote: > > At which point, some managed hosting servers might be more willing to i= nstall it. Not the ones who don't even install ext/curl, those are never go= ing to benefit from this. > There are very few (if any) that won't install curl as you cannot run Wor= dPress w/o curl. Your knowledge of what hosting providers will and will no= t install seems to be rather dated. Just to add to that: without curl, WordPress falls back to a limited fsockopen-based network transport. Sometimes that's problematic, so I'm incubating a dependency-free HTTP client that can do streaming, async connections etc. using only functions shipped in core PHP [1]. I'll eventually propose it for WordPress core as either a better fallback or as a replacement for curl. If PHP had WASM support, WordPress could ship curl.wasm as a fallback and focus on the product more than on the plumbing. > BTW, Dennis, could you see WordPress recommending a WASM extension if PHP= bundled one here? https://make.wordpress.org/hosting/handbook/server-envir= onment/#php-extensions I'm not Dennis, but I think that's very real. If PHP had a solid, official, viable WASM extension today, I'd already have a PR proposing shipping WASM binaries with WordPress core. I'd also be advocating everywhere to officially include the WASM PHP extension on the list of WordPress-recommended extensions. And if that extension was a part of every PHP build, I'd be advocating to list it as a requirement. [1] https://github.com/WordPress/blueprints-library/blob/trunk/src/WordPres= s/AsyncHttp/Client.php - Adam