Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130441 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 41B201A00BC for ; Wed, 25 Mar 2026 01:03:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1774400590; bh=fVp9kgqFKl0novpx4tXdPE/oPC7WuYLIEf4M2UZQkzI=; h=From:Date:Subject:To:From; b=CxcD30mL3ARRd9WWMisfwlppdmTdwH+sV5KZPUQo35BOkwwwxVJ5FMx40s5Fu7Av/ lW3YVG8VbXcV1jSeJ3LmScjBLxXP8hiHLlJgCqkJfeaKf3fr1aWlw1bgR9g2U8aFtd SavPTBfL3dJc30KArWE2rSiBhnTzNnCBOcbOMMX9QxXLQdbo+3TnwhEiXdo56niron JLKvw74yzSqHPCiJBCbznkKifLre9nRQCH5/jE9MG8loJ6uIYyTrB8or8Zh37qjmzd 9EiK0dECuhYy6zrI3Y0Fbrrux0/qw1YRQhC6qNMl978x1s2BdkBufya/P3bOXYPtbH fP5IXCL/gUm9Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2F8D4180084 for ; Wed, 25 Mar 2026 01:03:10 +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.9 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_50, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-ed1-f68.google.com (mail-ed1-f68.google.com [209.85.208.68]) (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 ; Wed, 25 Mar 2026 01:03:09 +0000 (UTC) Received: by mail-ed1-f68.google.com with SMTP id 4fb4d7f45d1cf-66132b22182so2520920a12.2 for ; Tue, 24 Mar 2026 18:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1774400583; cv=none; d=google.com; s=arc-20240605; b=MFTPDK+VFcq0ocC1cN55Lnrosrg0HiwJwpD2gtRiRVA/N2lodtGfsLO7UNo0VJS259 KU/bq0lcCP8O700BTjq9p+q21VILBohk1eb0mkzHN3idWQ6Sf/BNY2MtOWQU12gFurvS 6JdqxDfNMAjdQYlUdNGO5g9ttc3NA/QGvTHt3ihEN31TiVnWfkJ+ILFnqbdgw8AyALvG KfibhlhOLzxnw9W44rDvWq6Oi7xHW/VuXNC75uMjfTG+pxjHgcLUywRJxn0IKPC1zX/F zeiQvWykj51R649O+7dspodGjfuRkEqITKeJ7rgPoUCvvBSGVqAncTM1l+h2PVKxH3Ru D+og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=fVp9kgqFKl0novpx4tXdPE/oPC7WuYLIEf4M2UZQkzI=; fh=5KvmJ5K5QBymFDNCdtgpPKEwgSxqOQnCzLzHVTYb8GE=; b=Zkhc9waFbiSdfIhmNoYU714DS54yEfXEfnR0hyFjR1djgHW242RGFmWHHvb2mw71Ty lTFNQaw6MAIK2x3MrEB8+7su3hS8b8yh5CuI6o4eQm7hrWK6a1yBBlJYBBzBPjJ6oNqh Sl5HbRPUgxvuauzLXTvj0Uiud1PezAy83bumpqZ3pJwQiKSIiHHQ0qJnUsWEm52AcwZB 5c3wJ4BWlOKUjzvEVGcXkAi+LXWPjg2mt8Q1Thrj4ZJnrwVOTy8fhSUOTFChmyMIbBDn rN+TcRSE4i8YMnvevgf8YdZV3nQzrPwpztpqJ9dwPgxjLMt/5WWvqHxgdpV7X+8mi2Ll e6/A==; darn=lists.php.net ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774400583; x=1775005383; darn=lists.php.net; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=fVp9kgqFKl0novpx4tXdPE/oPC7WuYLIEf4M2UZQkzI=; b=GaCMxj6ANrmIKQFdkN/QUCB1xQlhr0yhtRkwOlOt64rn1smnmoThQpkSTkVVtoTXEs pWecR6xmOGJrO+3WKtQr6U/MdPXcVlwuJ0Kd3DLUJgd8vix1Ta7/wTMNFFzqu6ZL2veo 8S/TGBL106HTHyPLJlypy9ozpkhI16j08iI6oWTkeZ3cpo7dxXgynVA9WHMfU2Pefx6j GUieFU6LWB+lwA7uwXHCzjR9gdMT5Wx5OVygvRuYrji5SKlNXsOK0royeeYP9xRfLRDm cGvr55Xt1KXHig50qiogSHxhzWba0KCzhHzH5RRp+09HCltnM/2no4jfUaUjZmZtn6nN d1iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774400583; x=1775005383; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fVp9kgqFKl0novpx4tXdPE/oPC7WuYLIEf4M2UZQkzI=; b=bnVZUZgrrjpFHzuRXnnHDIaJSxtUbkbLpa+tR8tBCK7Bnt22fgIEnB4qwume9sNW3A DoMYU1tDngA8p2qZXofXrGlh8CRNiR0wwdsnYMT1uLE2Gps+2dxezny4UgeqSFYvTcAE KE5jxWHpeYjLXAEKXwD1UhZcQzjjvtkY1OIFAmgL7ZLt626Jk3Bgefq7yLduowqV9FAr kLSUO8UQO93qdsn+RBLfdH68I8ZAa4hVjIvsWJoKTEGYrC4Z8bjpGWybNvXpszu2jwrF lplShvCUMP6qBIxaP5PKcKMAN1bDa1kw48/Y3R5d9czIbbjQw2QsScuQtUgRvTfIXlH3 M/fg== X-Gm-Message-State: AOJu0Yx9G8yVGxewbNVV/qnQTGaAxQu2V6eDuxFRaabpEEy73pfvvYbL 605QqPTZb2T+5L9gFRrEKjR0eyWjTVKWdW19rsll6m70SsYM7ftocdEhrQsk8rBQsUV/m8gSUNa jPpBPLKgV/z4C4IDWspC6B+A1w9u78lE82bilfmmrhnzFQPjw5Cp2rOo= X-Gm-Gg: ATEYQzyH3bNTLbvKqdASNntTE9kTmKCeqP9T0IdSjYDNw/IIE1l8kL44enSDnVVnpcK uIwxCCJFnyk3UP/RjyWfPYOR7BX4XTc3eGeds55UofhXK5QSfK+tHn3fF8reKcEqFOtJP+onThT XkUzsufpCjpifVab9zQ1yD7sRfHP+zUWYvc60j5RfGj03B+FL59ZUNFOVXe5j3j26mkBE7IXqz0 uYcQTauUnW1CdhcoN8GzbVME7UA8+ZnebTu07Lnl5DKINcO6787q4Q08UbNSTDuPO5YH6HX7x/4 7DrRhuQ= X-Received: by 2002:a05:6402:23d2:b0:669:f72b:cecc with SMTP id 4fb4d7f45d1cf-66a826e4e64mr823629a12.23.1774400582944; Tue, 24 Mar 2026 18:03:02 -0700 (PDT) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Date: Wed, 25 Mar 2026 09:02:50 +0800 X-Gm-Features: AQROBzBqHmOOw32zzMEkBafUNze0WkLCLL_JN5d9GXUP8PkbTh_vnI6ENFlnpGs Message-ID: Subject: [PHP-DEV] =?UTF-8?Q?Is_PHP_intentionally_following_Java=E2=80=99s_path=3F?= To: internals@lists.php.net Content-Type: multipart/alternative; boundary="0000000000006f898a064dced4d0" From: haoqin1992@gmail.com (hao qin) --0000000000006f898a064dced4d0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi internals, I=E2=80=99m a developer who uses both Java and PHP regularly, and I=E2=80= =99m writing because I care deeply about PHP=E2=80=99s future. I=E2=80=99ve been following the language=E2=80=99s evolution closely, espec= ially since PHP 7 and PHP 8. I=E2=80=99ve noticed a growing trend of adding features that f= eel very "enterprise-oriented" =E2=80=94 such as typed properties, attributes, and p= roperty hooks. While I understand the value of these features in certain contexts, I can=E2=80=99t help but wonder: is PHP intentionally following Java=E2=80= =99s path? I ask this not as criticism, but out of genuine curiosity about the language=E2=80=99s direction. PHP=E2=80=99s traditional strength has been s= implicity, pragmatism, and being web-native. Java, on the other hand, excels in large-scale enterprise ecosystems with strong type safety and tooling. From a developer=E2=80=99s perspective, when I see PHP adding more Java-lik= e features, it makes me question whether the goal is to compete with Java in the enterprise space =E2=80=94 or if these additions are meant to solve spe= cific problems without changing PHP=E2=80=99s core identity. I=E2=80=99d really appreciate it if you could share some insight into how t= he internals team views this balance. Is there a conscious effort to avoid making PHP feel like "Java for the web"? Or is the thinking that these features are simply useful tools, regardless of where they originate? Thank you for all the hard work you put into maintaining and evolving PHP. I=E2=80=99m looking forward to understanding more about where the language = is headed. Best regards, [haoqin] --0000000000006f898a064dced4d0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi internals,

I=E2=80=99m a developer who uses both Java and PHP regularl= y, and I=E2=80=99m writing because I care deeply about PHP=E2=80=99s future= .

I=E2= =80=99ve been following the language=E2=80=99s evolution closely, especiall= y since PHP 7 and PHP 8. I=E2=80=99ve noticed a growing trend of adding fea= tures that feel very "enterprise-oriented" =E2=80=94 such as type= d properties, attributes, and property hooks. While I understand the value = of these features in certain contexts, I can=E2=80=99t help but wonder:=C2= =A0is PHP intentionally following Java=E2= =80=99s path?

I ask this not as criticism, but out of genuine curiosity ab= out the language=E2=80=99s direction. PHP=E2=80=99s traditional strength ha= s been simplicity, pragmatism, and being web-native. Java, on the other han= d, excels in large-scale enterprise ecosystems with strong type safety and = tooling.

From a developer=E2=80=99s perspective, when I see PHP adding more Java-= like features, it makes me question whether the goal is to compete with Jav= a in the enterprise space =E2=80=94 or if these additions are meant to solv= e specific problems without changing PHP=E2=80=99s core identity.

I=E2=80=99d rea= lly appreciate it if you could share some insight into how the internals te= am views this balance. Is there a conscious effort to avoid making PHP feel= like "Java for the web"? Or is the thinking that these features = are simply useful tools, regardless of where they originate?

Thank you for all th= e hard work you put into maintaining and evolving PHP. I=E2=80=99m looking = forward to understanding more about where the language is headed.

Best regard= s,
[haoqin]

--0000000000006f898a064dced4d0--