Heim >php教程 >PHP源码 >一段asp转php

一段asp转php

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-08 17:30:591137Durchsuche
<script>ec(2);</script>
 
程序是共通的...
下面是asp转php的代码
虽然有的地方不太清楚.基本上还是可以看出.任何语言都是可以互相转换的.
上面是php下面是asp
 
//-------------------------------------------------------------------------------------
class clsThief
{
       //__________________
       private $value_;
       private $src_;
       private $isGet_;
      
       public function setSrc($str)
       {
              $this->src_ = $str;
       }
      
       public function getSrc()
       {
              return $this->src_;
       }
      
       public function getValue()
       {
              return $this->value_;
       }
      
       public function getVersion()
       {
              return "Version 2005";
       }
      
       function __construct()
       {
              $this->value_ = "";
 
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn