我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

@param - 这个符号在面向对象的php中做了什么

I was wondering what is the point of @access, @return and @param in a PHP class. I figure it would be easy to understand if someone could explain in simple words.

Cheers

These are phpDocumentor keywords: @param and @access

in simple words, it does not affect the code in away, but helps other programmers to generate a documentation or understand what each code is doing, returning, or what parameters it needs.. Some IDEs look for these.

近期文章

  • 在PHP中搜索并将搜索结果插入数据库
  • 如何使用PHP将HTML输入与mysql数据库进行比较? [关闭]
  • 如何将表单脚本中的记录插入到mysql数据库中?
  • 为什么我的代码显示已经发送的标题,即使它处于if else条件下? [重复]
  • 我正在尝试创建一个方程式,使用直到月末的时间作为变量..任何建议?
  • 简单的PHP脚本,向我朋友的网站发送HTTP发布请求
  • php登录脚本无法加载[关闭]
  • 根据php中的小时或日期设置内容
  • PHP语言编辑器,数组键
  • 在mysql php中选择相同的字段[关闭]
  • 拆分/解析php表单数据一个输入
  • mysql_insert_id返回奇数?
  • 输出xml数组解析php重复六次[关闭]
  • 父类的公共变量在子类中变空? [重复]
  • 登录数据库失败
  • 基本的PHP联系表格
  • 多个密钥生成
  • 找不到驱动程序(php,PDO)
  • 这个PHP的语法错误[关闭]
  • Php MySQL按日期排序(自定义)

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华