-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstring-function.php
More file actions
69 lines (49 loc) · 1.4 KB
/
Copy pathstring-function.php
File metadata and controls
69 lines (49 loc) · 1.4 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> -->
<link rel="icon" href="assets/images/logo.png" type="image/gif" sizes="16x16">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<?php
// Function Ta kintu aktu bujar ace
$jim = "I am a full stake developer!!";
function gameing(){
global $jim;
return $jim;
}
echo gameing();
echo "<br><br><br>";
echo "This is a string Function start!!!";
// Back / user korar jonnno ata
$str = "<br>Hello World!";
echo addcslashes($str,"W")." <br><br>";
$stra = "Hello World!";
echo bin2hex($stra)." <br><br>";
$str = "Hello World! <br><br>";
echo $str . "<br> <br><br>";
echo chop($str,"Hello");
// Name to string code
$rak = convert_uuencode("Md.Rakib Hosen");
echo ($rak)."<br>";
$rakib = $rak;
echo convert_uudecode($rakib)."<br>";
// $str = "Hello World!";
// echo count_chars($str,3);
// charanter convert number
// $str = crc32("Md.Rakib hosen");
// echo($str);
// charecter value count
$str = "Hello world. It's a beautiful day.";
print_r (explode(" ",$str))."<br><br><br>";
echo lcfirst("Hello world!");
echo "<br><br>";
echo strcspn("Hello .world!","w");
echo "<br><br>";
echo strripos("This is a php developer","PHP");
?>
</body>
</html>