devwiki:php

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
devwiki:php [2021/12/14 17:40] – [Python to Php] yingdevwiki:php [2021/12/23 08:46] – [Python to Php] ying
Line 53: Line 53:
 | | res_list.append(tmp_img) | array_push($res_list, $tmp_img); | | | res_list.append(tmp_img) | array_push($res_list, $tmp_img); |
 | |  | $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 == '#': pass; elif mark == '*' | if($mark==="#"){} elseif($mark==="*"){} |+| if id in check_list: | if(in_array($id, $check_list)){} | 
 +| logic | if mark == '#': pass; elif mark == '*' | if($mark==="#"){} elseif($mark==="*"){} |
  
 <code> <code>
  • devwiki/php.txt
  • Last modified: 2022/11/16 16:16
  • by ying