Last active
December 21, 2015 20:29
-
-
Save ljyf5593/6361884 to your computer and use it in GitHub Desktop.
解决php无法解析中文引号的问题
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
str_replace( | |
array(' ',' ', '&', '"', ''', '“', '”', '—', '<', '>', '·', '…'), | |
array('∵',' ', '&', '"', "'", '“', '”', '—', '<', '>', '·', '…'), | |
$str); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment