PHP/mdetect.php
function DetectMobileLong()
   {
      if ($this->DetectMobileQuick() == $this->true) 
         return $this->true; 
      if ($this->DetectGameConsole() == $this->true) 
         return $this->true; 
         
      if (($this->DetectDangerHiptop() == $this->true) 
			|| ($this->DetectMaemoTablet() == $this->true)
			|| ($this->DetectSonyMylo() == $this->true)
			|| ($this->DetectArchos() == $this->true))
         return $this->true; 

       if ((stripos($this->useragent, $this->devicePda) > -1) &&
		 !(stripos($this->useragent, $this->disUpdate) > -1))
         return $this->true;
      
       //Detect older phones from certain manufacturers and operators. 
       if ((stripos($this->useragent, $this->uplink) > -1) 
			|| (stripos($this->useragent, $this->engineOpenWeb) > -1)
       		|| (stripos($this->useragent, $this->manuSamsung1) > -1)
       		|| (stripos($this->useragent, $this->manuSonyEricsson) > -1)
       		|| (stripos($this->useragent, $this->manuericsson) > -1)
       		|| (stripos($this->useragent, $this->svcDocomo) > -1)
       		|| (stripos($this->useragent, $this->svcKddi) > -1)
       		|| (stripos($this->useragent, $this->svcVodafone) > -1))
         return $this->true; 

      return $this->false; 
   }
function DetectMobileLong()
   {
      if ($this->DetectMobileQuick() == $this->true) 
         return $this->true; 
      if ($this->DetectGameConsole() == $this->true) 
         return $this->true; 
         
      if (($this->DetectDangerHiptop() == $this->true) 
			|| ($this->DetectMaemoTablet() == $this->true)
			|| ($this->DetectSonyMylo() == $this->true)
			|| ($this->DetectArchos() == $this->true))
         return $this->true; 

       if ((stripos($this->useragent, $this->devicePda) > -1) &&
		 !(stripos($this->useragent, $this->disUpdate) > -1))
         return $this->true;
      
       //Detect older phones from certain manufacturers and operators. 
       if ((stripos($this->useragent, $this->uplink) > -1) 
			|| (stripos($this->useragent, $this->engineOpenWeb) > -1)
       		|| (stripos($this->useragent, $this->manuSamsung1) > -1)
       		|| (stripos($this->useragent, $this->manuSonyEricsson) > -1)
       		|| (stripos($this->useragent, $this->manuericsson) > -1)
       		|| (stripos($this->useragent, $this->svcDocomo) > -1)
       		|| (stripos($this->useragent, $this->svcKddi) > -1)
       		|| (stripos($this->useragent, $this->svcVodafone) > -1))
         return $this->true; 

      return $this->false; 
   }
function DetectMobileLong ( ) { if ( $ this -> DetectMobileQuick ( ) == $ this -> true ) return $ this -> true ; if ( $ this -> DetectGameConsole ( ) == $ this -> true ) return $ this -> true ; if ( ( $ this -> DetectDangerHiptop ( ) == $ this -> true ) || ( $ this -> DetectMaemoTablet ( ) == $ this -> true ) || ( $ this -> DetectSonyMylo ( ) == $ this -> true ) || ( $ this -> DetectArchos ( ) == $ this -> true ) ) return $ this -> true ; if ( ( stripos ( $ this -> useragent , $ this -> devicePda ) > - 1 ) && ! ( stripos ( $ this -> useragent , $ this -> disUpdate ) > - 1 ) ) return $ this -> true ; //Detect older phones from certain manufacturers and operators. 
 if ( ( stripos ( $ this -> useragent , $ this -> uplink ) > - 1 ) || ( stripos ( $ this -> useragent , $ this -> engineOpenWeb ) > - 1 ) || ( stripos ( $ this -> useragent , $ this -> manuSamsung1 ) > - 1 ) || ( stripos ( $ this -> useragent , $ this -> manuSonyEricsson ) > - 1 ) || ( stripos ( $ this -> useragent , $ this -> manuericsson ) > - 1 ) || ( stripos ( $ this -> useragent , $ this -> svcDocomo ) > - 1 ) || ( stripos ( $ this -> useragent , $ this -> svcKddi ) > - 1 ) || ( stripos ( $ this -> useragent , $ this -> svcVodafone ) > - 1 ) ) return $ this -> true ; return $ this -> false ; }
but no promises on thoroughness!
but no promises on thoroughness!