我用的是拉拉。我需要知道phpdoc是如何在php 8中用attibutes编写的。 * Transform the resource into an array.public function toArray($request) //Some code }
请有人解释一下上面的代码是如何用属性来编写的。
我想编写一个php脚本,通过访问"“页面重定向到不同的”“文档--例如,我的脚本用于"”。我走了那么远:$targets = array("ABC+DEF" => "test.txt" /*, more redirects.. not the only one i have */ );
编辑:是的,我是勇敢的,修正了它,甚至没有urlencode。