We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a9573a commit 5e431efCopy full SHA for 5e431ef
1 file changed
NetPHP.php
@@ -13,21 +13,6 @@
13
// $debug=true;
14
$debug_details=true;
15
$debug_details=false;
16
-$token=null;
17
-function starts($haystack,$needle) {
18
- $length = strlen($needle);
19
- return(substr($haystack,0,$length) === $needle);
20
-}
21
-function ends($haystack,$needle) {
22
23
- if($length == 0) {
24
- return true;
25
- }
26
- return(substr($haystack,-$length) === $needle);
27
28
-function contains($string,$contain) {
29
- return strpos($string,$contain) !== false;
30
31
function useragent() {
32
return "Mozilla/5.0 (Windows NT 6.1; r…) Gecko/20100101 Firefox/60.0";
33
return "Mozilla/5.0(Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML,like Gecko) curlrome/68.0.3440.106 Mobile Safari/537.36";
0 commit comments