[php-src] Issue #9962: It is recommended to add the function of assigning object types to variables

From: Date: Wed, 16 Nov 2022 04:10:43 +0000
Subject: [php-src] Issue #9962: It is recommended to add the function of assigning object types to variables
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242830@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/9962 Author: yinbug ### Description It is recommended to add the function of assigning object types to variables Like the type conversion of C # example: ```php class A{} $var = serialize(new A()); $a = unserialize($var) as \A::class; ``` C# ![image](https://user-images.githubusercontent.com/37343304/202080122-48a2808a-9350-47a8-b3c4-736a6cefc62d.png)

« previous php.bugs (#242830) next »