Can I write a function in php with multiple optional arguments but at least one HAS to be used?

后端 未结 0 1248
無奈伤痛
無奈伤痛 2021-02-01 15:16

I\'m still new to PHP, so I wonder if it is possible to write a function with several optional parameters but at least one of those needs to be used?

Something like

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