Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Copyright (c) 2020 Ramdhan Firmansyah
- * File : a.php
- * @author : Cvar1984 <gedzsarjuncomuniti@gmail.com>
- * Date : 04.08.2020
- * Last Modified Date: 04.08.2020
- * Last Modified By : Cvar1984 <gedzsarjuncomuniti@gmail.com>
- */
- function prediksi_togel(int $hari, int $bulan, int $tahun)
- {
- $_1 = substr(round (($hari + $bulan + $tahun) / $tahun), 0, 1);
- $_2 = substr(round (($hari - $bulan - $tahun) * $tahun), 0, 1);
- $_3 = substr(round (($hari * $bulan * $tahun) - $tahun), 0, 1);
- $_4 = substr(round (($hari / $bulan / $tahun) + $tahun), 0, 1);
- return str_replace('-', 0, $_1 . $_2 . $_3 . $_4);
- }
- echo prediksi_togel(4, 8, 20), PHP_EOL;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement