Advertisement
opsftw

PHP - Not a Function

Sep 16th, 2013
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.07 KB | None | 0 0
  1. prints out the encased non-function.
  2.  
  3. <pre><?php $f='n';$u='o';$n='i';/* o*/$c='t';$t='c';/*  d */$i='n';$o='u';/* :) */$n='f';$nl='function';
  4. /* f */$nu=strrev($f./**/$u.$n./**/$c./*i*/$t./*o*/$i./*.*/$o./*.*/$n);$n='function'.' */';echo $nl.' ';
  5. $null[15]=                                                                                  ('0'==null);
  6. echo((0)?"                         function null()                                          ":'null()');
  7. $f= "". /*                         {                                                        */"\n\t".''.
  8. '/* Not a'                               /* Not a function */                               .' '.$n;/**/
  9. $zero=1;/*                         }                                                        while(1){}*/
  10. $ns="\x27                                                                                   ".PHP_EOL;/*
  11. */$notafunction="\n".'}';$x=2;while($x){$x--;$f=str_replace("     ","",$f);}$f="\n{".$f;echo $f.'';/**/;
  12. $x670='notafuncti0n';$printf=$x670;if($null[15]){echo"";}echo@$$x670.$notafunction;/* opsftw - Tux. */?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement