参照元:http://zapanet.info/phpdoc/function.substr.html…