Try   HackMD

PHP 雙層for 優化紀錄

tags: PHP 學習紀錄

起因

  • Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
  • 原本是用雙重foreach 對比兩個array 的value,符合的才做動作
  • 想降低時間複雜度,思考能否用一個foreach解決問題

邏輯內容

  • 有一個作者名單array
  • 有一個等待整理檔案名單array

試作過程

參考