From 2bc1cc12ad7e8e45f4858af70e490baaf1dd0642 Mon Sep 17 00:00:00 2001 From: tianfenghan Date: Wed, 22 Jul 2026 18:22:24 +0800 Subject: [PATCH] feat(examples): add const new expression example - Introduce constant declaration with new object instance - Add var_dump to display the constant object - Create basic example demonstrating PHP's new operator in constant context --- examples/const-new.php | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 examples/const-new.php diff --git a/examples/const-new.php b/examples/const-new.php new file mode 100644 index 00000000..6c416c9b --- /dev/null +++ b/examples/const-new.php @@ -0,0 +1,5 @@ +