Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129368 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 lists.php.net (Postfix) with ESMTPS id 242921A00BC for ; Fri, 21 Nov 2025 14:22:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1763734949; bh=RP7xAjhCcWqYmXDKzA7aRhnwoL29nZRKQNPToNfY8vc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=hin94tPsTn1pncSUUsqD05CGJpyKx9Ag3qU2fZArX942wWUU6Ig3dDci9f1tiN3BE kZmRO0Xd4X65puhdspzxm+lwDufXbcZS6kauvA/QGwDq8/ALuoCVA5G9wYHfz2kKHr jxxZ3KPAVeySdnWv2Lc4/VPARAp1V1/jJr4iVghm/lcTWEAPrYkT0juCSzIquinG9v trZhS284ITBsIN9BqPuFyXvAFaJ/Dm2FACxrN4+VL285gCHdqb9M0i0b/NCgb4Ob3V M6pP9bal65lU8/Skr742m16H28mbtvKSLmDMpRKkXthDQPWMLjNjEdIxY6/KuZZvRD gYAbBoCOyGikw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 18A551801D4 for ; Fri, 21 Nov 2025 14:22:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) 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,FREEMAIL_FROM, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,T_SPF_TEMPERROR autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-vs1-f52.google.com (mail-vs1-f52.google.com [209.85.217.52]) (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 ; Fri, 21 Nov 2025 14:22:25 +0000 (UTC) Received: by mail-vs1-f52.google.com with SMTP id ada2fe7eead31-5dfb5fcf063so648128137.1 for ; Fri, 21 Nov 2025 06:22:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763734940; x=1764339740; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RP7xAjhCcWqYmXDKzA7aRhnwoL29nZRKQNPToNfY8vc=; b=SAUBrQ2dB6eC8sCcrX8UK2bj/kOyIxMHGKj4y0rJRSxONjqvfavqmVCIh6q56VouPd +EaHR7KHh1LR/HwI12Kp66Uwf2vOoAe5TaolljUK8w6upVCFOnB2nryEzwIQbJTe/Ejq 0vJ4vh7kbp1qveGmccJI+BW2wWW8HL/UUv9zxdzqym5gmiOGLyEn+2oeHu7hXA9up8iF lrJbpkSHihnCf7XUV7k9t7QzfUSMpUfSaOirPymOHXkR1Bp6BuR45xWc203XO207NC/V Hbo4XVAbrUQqhxjhOwrgfu6N8NFiarRP982mc+BOBnS9d91zHv6VVg/W40uTCsQ6PeZJ pwhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763734940; x=1764339740; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RP7xAjhCcWqYmXDKzA7aRhnwoL29nZRKQNPToNfY8vc=; b=orOHElcNJvzKx/CkyewHrhFZlJ4UNI5RdHrP/MLa7sKD6yiO+aVbjhy3OCmX0NSegB XlV+efdGzBaUbnHOKQRkg/Fny3F5tbNisM34Zmecp9/iE7IKqf09RrU/Q6ZCjjg5WThm NYh7sZCdtp3nDDZRLfxrCCBoYaR/wDGJaD0MofgCPww2eI1A6R2LjNhZM1XJN+uLBEyw A0XLp/eKcjRNf4hcPqUwEQn5JFmUEUDbaqPdyfr6BWD/H86nzw2yj46a8V14PK1QQcIK WZM3ThWUWSfQNAKh5m1yJZjHFefLf+UNGbmKsROkf3R7JwrYs7VnqBenfwr9VBEjKRii qBWg== X-Forwarded-Encrypted: i=1; AJvYcCXfQGveJNGGXxQ5z7xhMRxcO/OaZYUQDa3tGttsTRr4wGW7UNEgxNPIsxqKu7aoO09bxQurqPmHpU4=@lists.php.net X-Gm-Message-State: AOJu0Yx13k65YJHrIbDDb7xduMFrYWOpBC+l+Xfvie9mmh5kmSYuZHCW k4h8+OLXwr3j4TtHihD9yjDZYLICVD0jgNSkoCSW9OZvrl+g+ufUHSumMSk0UFO8NnenljCovD4 BIuZIvmO49+aS52ViynXJDqV0W4DViXw= X-Gm-Gg: ASbGnctKzklg0dp+hDjQN7OC3TWguuxBiii7/SzI9GD9Y/CfY9FeCzh5XEI/1LxH5eb e8FUDLDhFU4gAqekzs7osg7W01fUecJiRS02Q1Zft+UKNw+SmOaIDaDVwXVmv+RkpYx62qtarg2 RWu4rTSqMaowV2kR3MkrHqrDAKzWZoXS21T+RNScMWcsk4ImgM+93FIQll8vhjl8h+A21CK1ppy JIsYWbWq1NGGxS2/NCyRN2J8pKX4UAYhtbLVclNZp/PmM5ZpNVOzynGm8cmv6dB2zid6BX5QKnC ZQY1De4DAR1ZMogfPpmsZTbxvCM= X-Google-Smtp-Source: AGHT+IEyr2/5crdEbAY/j9nivEGM6NAjgWpi5IXx8yftP0x9EtDGsuZktJP6lOP6xrKF4q3EYD5lwDWlD9rGoPppLps= X-Received: by 2002:a05:6102:5983:b0:5df:c390:ef53 with SMTP id ada2fe7eead31-5e1de2dd9f4mr618695137.36.1763734939928; Fri, 21 Nov 2025 06:22:19 -0800 (PST) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 21 Nov 2025 16:22:08 +0200 X-Gm-Features: AWmQ_bkefLaD_N1DP9iATNELJ4vrMt3gugwOPmGDi5JGJ1wppkmdu5xFA9VY6CU Message-ID: Subject: Re: [PHP-DEV] [VOTE] True Async RFC 1.6 To: Deleu Cc: Jakub Zelenka , "Rowan Tommins [IMSoP]" , internals@lists.php.net Content-Type: text/plain; charset="UTF-8" From: edmond.ht@gmail.com (Edmond Dantes) Hello > how do I keep my project always-sync without risking one of my composer packages suddenly calling spawn() and causing bugs I have no idea how to even begin to understand? This idea was mentioned a bit earlier in the discussion. You can use a special setting to disable asynchrony. There are many different possibilities here. For example, you can tell Composer not to use async packages. And so on. You can come up with your own protection mechanisms. There is no technical problem here in terms of implementation. Why not enable asynchronous mode in PHP explicitly through php.ini? I would follow this logic: * Since this is a new feature, it should be disabled by default. * Therefore, to use it, you must explicitly enable it.