Guest User

Naming hack

a guest
Jan 8th, 2020
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.38 KB | None | 0 0
  1. <?php
  2.     header('Content-type: text/plain; charset=utf-8');
  3.     define('+1', 16384);
  4.     ${'*.'} = function ($a, $b) {
  5.         return floor($a * $b / constant('+1'));
  6.     };
  7.  
  8.     ${'/.'} = function ($a, $b) {
  9.         return floor($a * constant('+1') / $b);
  10.     };
  11.  
  12.     echo ${'/.'}(1, 1) . "\n";
  13.     echo ${'/.'}(1, 2) . "\n";
  14.     echo ${'/.'}(7, 34) + ${'/.'}(23, 99) . "\n";
Add Comment
Please, Sign In to add comment