摘要: Purpose: To separate strategies and to enable fast switching between them. Also this pattern is a good alternative to inheritance (instead of having a 阅读全文
posted @ 2019-06-10 05:37 Victor!!!! 阅读(89) 评论(0) 推荐(0)
摘要: UTF-8 at PHP Level: Must use the mb_* functions (such as mb_strpos() and mb_strlen() ) whenever operate on Unicode string. For example you use substr( 阅读全文
posted @ 2019-06-10 05:36 Victor!!!! 阅读(195) 评论(0) 推荐(0)