Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update helpers.php #378

Merged
merged 1 commit into from
Jul 17, 2023
Merged

Update helpers.php #378

merged 1 commit into from
Jul 17, 2023

Conversation

zjkal
Copy link
Contributor

@zjkal zjkal commented Jul 13, 2023

添加input助手函数, 可以方便获取GET或POST中的数据,支持默认值. 如果不传入参数名称, 会返回所有参数键值对的数组.
使用方式完全复刻ThinkPHP的input()助手函数, 不仅为了方便ThinkPHP开发者, Copilot等的AI类代码提示助手, 也习惯使用input()函数获取参数.

添加input助手函数, 可以方便获取GET或POST中的数据,支持默认值. 如果不传入参数名称, 会返回所有参数键值对的数组.
@walkor walkor merged commit 1efb850 into walkor:master Jul 17, 2023
@walkor
Copy link
Owner

walkor commented Jul 17, 2023

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants