Score
0
Watch 25 Star 104 Fork 12

Gitee星球的小活动 / 第 0 届 代码编故事接力赛

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
让我们点燃程序员写作之魂,一人用代码写一段故事玩玩吧~ spread retract

Clone or download
php - AI 465 Bytes
Copy Edit Web IDE Raw Blame History
jim authored 2020-03-25 14:44 . add php - AI.
public function ai(){
// $str = '我想你了';
$str = '你是谁';
$str = '你是小白吗?';
$str = '我不是小白?';
$str = str_replace('吗','',$str);
$str = str_replace('我','我也',$str);
$str = str_replace('谁','小可爱',$str);
$str = str_replace('你','我',$str);
$str = str_replace('?','!',$str);
$str = str_replace('?','!',$str);
echo $str;
}

Comment ( 1 )

Sign in for post a comment

1
https://gitee.com/Selected-Activities/Code-relay.git
git@gitee.com:Selected-Activities/Code-relay.git
Selected-Activities
Code-relay
第 0 届 代码编故事接力赛
master

Help Search

220309 7019f5b6 1899542 220318 4015cbb9 1899542