转php代码,第一个参数为是否引用配置ASP程序的函数
xiyuetaASP().tophp(true)属性方法,一种调用方式:
1、xiyuetaASP().tophp(true); //转php代码
尝试一下>>
<script src="https://www.xiyueta.com/js/xiyueta.min.js"></script> <script>
var asp='<'+'%\nif 1=2 then \n else \n end if\n%>'; $.log( xiyuetaASP().parse(asp).tophp() );
</script>
<?PHP
if(1==2){
}else{
}
?>
asp里的 xor 和php里的 xor 有所不同