Advertisement
P22DX

togel.php

Aug 3rd, 2020
1,720
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.69 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Copyright (c) 2020 Ramdhan Firmansyah
  4.  * File              : a.php
  5.  * @author           : Cvar1984 <gedzsarjuncomuniti@gmail.com>
  6.  * Date              : 04.08.2020
  7.  * Last Modified Date: 04.08.2020
  8.  * Last Modified By  : Cvar1984 <gedzsarjuncomuniti@gmail.com>
  9.  */
  10.  
  11. function prediksi_togel(int $hari, int $bulan, int $tahun)
  12. {
  13.     $_1 = substr(round (($hari + $bulan + $tahun) / $tahun), 0, 1);
  14.     $_2 = substr(round (($hari - $bulan - $tahun) * $tahun), 0, 1);
  15.     $_3 = substr(round (($hari * $bulan * $tahun) - $tahun), 0, 1);
  16.     $_4 = substr(round (($hari / $bulan / $tahun) + $tahun), 0, 1);
  17.     return str_replace('-', 0, $_1  . $_2 . $_3 . $_4);
  18. }
  19. echo prediksi_togel(4, 8, 20), PHP_EOL;
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement