Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
devwiki:php [2021/12/14 17:40] – [Python to Php] ying | devwiki:php [2021/12/23 08:46] – [Python to Php] ying | ||
---|---|---|---|
Line 53: | Line 53: | ||
| | res_list.append(tmp_img) | array_push($res_list, | | | res_list.append(tmp_img) | array_push($res_list, | ||
| | | $res_list[] = $tmp_img; | | | | | $res_list[] = $tmp_img; | | ||
- | | logic | for each in word_list: | foreach($word_list as $each){} | | + | | | for each in word_list: | foreach($word_list as $each){} | |
- | | | if mark == '#': | + | | | if id in check_list: | if(in_array($id, |
+ | | logic | if mark == '#': | ||
< | < |