Strict type declarations and resource

后端 未结 0 977
逝去的感伤
逝去的感伤 2021-02-06 08:32

What data type would I use if I want to return a resource within a function?

This isn\'t allowed and causes a fatal error:

function test():resource {
...
}         


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