-

xiyuetaASP().tophp() 属性方法

转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 有所不同