Advertisement
opsftw

PHP: Artistic definition.

Sep 18th, 2013
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.31 KB | None | 0 0
  1. Prints out:
  2. PHP:Hypertext Proccessor - An extremly flexible and versile scripting language.
  3. Hello world:
  4. $message="hello world!";
  5. echo $message;
  6.  
  7. ---------------------------------------------------------------------------------------------------------------
  8. <!--PPPPPPPPPPPPPPPPPPPPPPPPPPP-->     <!--HHH-->          <!--HHH-->   <!--PPPPPPPPPPPPPPPPPPPPPPPPPPP-->
  9. <ext><?php error_reporting(6);if(0     ==0&&empty          /*HP*/($z)   ){$theP=1;/*:Hypert*/while((($theP
  10. )%80)!=0                  ){$n=(3%2)   ;$theP+=$n          ;/*ext P*/   $n=(3%3)                  ;/*rocce*/
  11. }}if ( 0                   ){die('Go'  .'_home,'.          'your_dr'.   'unk!.')                   ;}function
  12. pintTheP                   ($duhP){if  (!$duhP===           70&&$duhP   !=8080){                   printf('p'
  13.  /**/ )                  ;}}function   get_cm/**/           ($theFile   ){/*ss*/                   $aPointer=
  14. $theFile                  ;if(true){   $i='lolol           o';/*or*/    $pNumber                  =(13%(13))
  15. ;}/* - An*/ $value=file_get_contents   ($theFile);$vals=explode('/'.   '*', $val);foreach($val as $thisOne)
  16. {$coment=explode('*'.'/',$thisOne);    printf /* extre*/ ( $coment[0]   )/*mly*/;}/* flexible and versil*/}
  17. $tokens=token_get_all(/**//**//**/     file_get_contents(__FILE__));    $comments=array();foreach($tokens as
  18. $token){if($token[0]==T_COMMENT||      $token[0] == T_DOC_COMMENT){     $comments[]=
  19. $token[1];                             }}$theP='';          foreach(    $comments      
  20. as $c/**/                              ){$array=            array('/'   ,'\\','*')
  21. ;$theP.=                               str_replace          ($array ,   '', $c );}
  22. function                               theother (           $thekey){   if('a7'
  23. ==/*e */                               $thekey) {           $p=89+19;   $r='';$r
  24. .=chr($p                               );/*scri*/           /*pting*/   $r.='d:<br>'
  25. .'$mess'                               .'age="he'           .'llo wo'   ./* la*/
  26. /*ngua*/                              'rld!";<br>'          .'echo $'   .'messa'
  27. .'ge;';}                               /*ge.<br>            H*/printf   ($r);/**/
  28. }/*ell*/                                printf (            chr(80));   /*o wor*/
  29. printf (                               $theP  );            theother(   'a7');?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement