Home  >  Article  >  Backend Development  >  求PHP实现javascript escape和unescape方法的代码

求PHP实现javascript escape和unescape方法的代码

WBOY
WBOYOriginal
2016-06-06 20:38:02858browse

如题 PHP实现javascript escape和unescape方法的代码

回复内容:

如题 PHP实现javascript escape和unescape方法的代码

http://php.net/manual/zh/function.urlencode.php
http://php.net/manual/zh/function.urldecode.php

这里有一个php实现的jsPseudo-implementation of JavaScript for PHP 5,你可以看看

,与你这个相反的,还有js实现php的一些方法的js库,叫做 php.js,比较有意思。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn