PHP: get_object_vars for uninitialized typed fields to get field names

后端 未结 0 358
自闭症患者
自闭症患者 2021-02-05 15:03

I am starting a PHP project, although I am usually a java dev. I found out that PHP 7.4 finally allows typed properties. So I created a class like so:

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题