1 Star 0 Fork 0

rinuo/learngit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
count.php 351 Bytes
一键复制 编辑 原始数据 按行查看 历史
rinuo 提交于 2020-01-11 19:09 . add dump function
<?php
namespace learngit;
class count{
/**
* 返回数字a和b的和
* @param int $a 数字
* @param int $b 数字
*/
public static function add(int $a,int $b){
return "count:".$a+$b;
}
// add dump function
public static function dump($var)
{
echo '<pre>';
print_r($var);
echo '</pre>';
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rinuo/learngit.git
git@gitee.com:rinuo/learngit.git
rinuo
learngit
learngit
master

搜索帮助

Cb406eda 1850385 E526c682 1850385