-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.php
More file actions
36 lines (23 loc) · 780 Bytes
/
test.php
File metadata and controls
36 lines (23 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
// echo password_hash('dzakianggelika', PASSWORD_ARGON2I);
// echo PHP_EOL;
// echo mt_rand(10000000, 10000000000);
// $str = "satu, dua, tiga";
// print_r($arr = explode(",", $str));
// $string = 'satu dua tiga';
// $key_password = hash('sha256', 'bimsalabim');
// $newPass = $string . $key_password;
$data = 'aku adalahh abim & dzaki';
echo htmlspecialchars($data);
// $hash = base64_encode($data);
// echo base64_decode($hash);
// $password = password_hash($newPass, PASSWORD_ARGON2I);
// if(password_verify($newPass, '$argon2i$v=19$m=65536,t=4,p=1$WUdJczZjbHFqQUQ1ZGhHTg$7s/l3sI3v/rb9lzy5SFrVqSrCEYgajXsyA01IPiXeQQ')) {
// echo 'bener';
// } else {
// echo 'salah';
// }
$st = "aku, kamu, dia";
$arr = explode(",", $st);
array_pop($arr);
var_dump($arr);