Home
last modified time | relevance | path

Searched refs:strpos (Results 1 – 25 of 55) sorted by relevance

123

/dokuwiki/_test/tests/test/
H A Dscope.test.php14 strpos($response->getContent(), 'DokuWiki') >= 0,
26 strpos($response->getContent(), 'DokuWiki') >= 0,
38 strpos($response->getContent(), 'DokuWiki') >= 0,
45 strpos($response->getContent(), 'DokuWiki') >= 0,
H A Dbasic.test.php36 strpos($response->getContent(), 'DokuWiki') !== false,
63 $this->assertTrue(strpos($response->getContent(), 'Andreas Gohr') !== false);
87 $this->assertTrue(strpos($response->getContent(), 'Andreas Gohr') !== false);
119 $this->assertTrue(strpos($response->getContent(), 'Andreas Gohr') !== false);
177 $this->assertTrue(strpos($response->getContent(), 'Netiquette') !== false);
H A Dedit_and_save.test.php86 $hash = strpos($found[0], '#');
169 $hash = strpos($found[0], '#');
/dokuwiki/_test/tests/conf/
H A Dtitle.test.php11 $this->assertTrue(strpos($content,$conf['title']) > 0);
17 $this->assertTrue(strpos($content,'Foo') > 0);
/dokuwiki/_test/tests/inc/parser/
H A Dlexer.test.php421 ["<file>", DOKU_LEXER_ENTER, strpos($doc, '<file>')],
422 ["b", DOKU_LEXER_SPECIAL, strpos($doc, 'b')],
423 ["c", DOKU_LEXER_MATCHED, strpos($doc, 'c')],
424 ["d", DOKU_LEXER_UNMATCHED, strpos($doc, 'd')],
425 ["</file>", DOKU_LEXER_EXIT, strpos($doc, '</file>')],
451 ["<file>", DOKU_LEXER_ENTER, strpos($doc, '<file>')],
452 ["b", DOKU_LEXER_SPECIAL, strpos($doc, 'b')],
453 ["c", DOKU_LEXER_MATCHED, strpos($doc, 'c')],
454 ["d", DOKU_LEXER_UNMATCHED, strpos($doc, 'd')],
455 ["</file>", DOKU_LEXER_EXIT, strpos($doc, '</file>')],
[all …]
H A Dparser_media.test.php78 $substr_start = strpos($url, '&amp;media', $substr_start + $substr_len);
113 $substr_start = strpos($url, $source_webm, $substr_start + $substr_len);
118 $substr_start = strpos($url, $source_ogv, $substr_start + strlen($source_webm));
123 $substr_start = strpos($url, $a_webm, $substr_start + strlen($source_ogv));
128 $substr_start = strpos($url, $a_ogv, $substr_start + strlen($a_webm));
/dokuwiki/vendor/splitbrain/php-jsstrip/src/
H A DJSStrip.php65 while ($idx < $slen && (strpos(self::CHARS, $source[$idx]) === false)) {
73 $endC = strpos($source, '*/', $idx + 2);
82 $beginNC = strpos($source, '/* BEGIN NOCOMPRESS */', $nextNC + 2);
83 $endNC = strpos($source, '/* END NOCOMPRESS */', $nextNC + 2);
106 $endC = strpos($source, "\n", $idx + 2);
210 || strpos(self::OPS, $source[$idx + 1]) === false)) {
212 if ($idx + 1 < $slen && (strpos(self::CHARS, $source[$idx + 1]) !== false)) {
219 if ($lch && (strpos(self::CHARS, $lch) !== false)) {
/dokuwiki/vendor/simplepie/simplepie/src/Content/Type/
H A DSniffer.php71 if (($pos = strpos($content_type, ';')) !== false) {
212 if ($pos < $len && ($pos = strpos($body, '-->', $pos)) !== false) {
218 if ($pos < $len && ($pos = strpos($body, '>', $pos)) !== false) {
224 if ($pos < $len && ($pos = strpos($body, '?>', $pos)) !== false) {
/dokuwiki/_test/tests/inc/
H A Dhtml_secedit_pattern.test.php68 …$this->assertFalse(strpos($xhtml_without_secedit, '<script>'), 'Plain <script> tag found in output…
/dokuwiki/vendor/simplepie/simplepie/
H A Dautoloader.php78 if (strpos($class, 'SimplePie') !== 0)
/dokuwiki/vendor/simplepie/simplepie/src/
H A DIRI.php328 …while (strpos($input, './') !== false || strpos($input, '/.') !== false || $input === '.' || $inpu…
330 if (strpos($input, '../') === 0) {
332 } elseif (strpos($input, './') === 0) {
336 elseif (strpos($input, '/./') === 0) {
342 elseif (strpos($input, '/../') === 0) {
354 elseif (($pos = strpos($input, '/', 1)) !== false) {
671 strpos($this->ipath, ':') !== false &&
672 strpos($this->ipath, '/', 1) !== false &&
673 strpos($this->ipath, ':') < strpos($this->ipath, '/', 1)) {
803 if (($port_start = strpos($remaining, ':', intval(strpos($remaining, ']')))) !== false) {
H A DMisc.php1730 while (($start = strpos($data, '<!--')) !== false) {
1732 if (($end = strpos($data, '-->', $start)) !== false) {
1782 while ($position < $length && ($pos = strpos($string, '(', $position)) !== false) {
1821 if (($pos = strpos($mime, ';')) === false) {
1986 if (strpos($section, '=') !== false) {
2029 if ($pos = strpos($data, "\x00\x00\x00\x3F\x00\x00\x00\x3E")) {
2039 if ($pos = strpos($data, "\x3F\x00\x00\x00\x3E\x00\x00\x00")) {
2049 if ($pos = strpos($data, "\x00\x3F\x00\x3E")) {
2059 if ($pos = strpos($data, "\x3F\x00\x3E\x00")) {
2069 if ($pos = strpos($data, "\x3F\x3E")) {
H A DParser.php111 …== '<?xml' && strspn(substr($data, 5, 1), "\x09\x0A\x0D\x20") && ($pos = strpos($data, '?>')) !== …
376 if ($pos = strpos($string, $this->separator)) {
519 } elseif (strpos($author, 'http') === 0) {
555 if (!empty($photo) && strpos($content, $photo) === false) {
641 } elseif ($position = strpos($data, '<title>')) {
/dokuwiki/lib/plugins/config/_test/
H A DDocumentationTest.php50 $fail = (bool)strpos($check, 'topic does not exist');
/dokuwiki/inc/Utf8/
H A DPhpString.php351 * @see strpos()
354 public static function strpos($haystack, $needle, $offset = 0) function in dokuwiki\\Utf8\\PhpString
360 $pos = strpos($haystack, $needle, $offset + $comp);
/dokuwiki/vendor/simplepie/simplepie/src/Net/
H A DIPv6.php57 if (strpos($ip2, '.') !== false) {
142 if (strpos($ip, '.') !== false) {
/dokuwiki/inc/
H A Dload.php172 $plugin = substr($classPath, 0, strpos($classPath, '/'));
200 $template = substr($classPath, 0, strpos($classPath, '/'));
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
H A DPKCS1.php51 if (strpos($key, 'PUBLIC') !== false) {
53 } elseif (strpos($key, 'PRIVATE') !== false) {
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DPKCS1.php62 if (strpos($key, 'BEGIN EC PARAMETERS') && strpos($key, 'BEGIN EC PRIVATE KEY')) {
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php696 if(strpos($path,':')) {
699 if(!preg_match('#^[a-zA-Z]:#', $path) || false !== strpos($path, ':', 2)) {
710 if(GESHI_SECURITY_PARANOID && false !== strpos($path, '/.')) {
714 if(GESHI_SECURITY_PARANOID && false !== strpos($path, '..')) {
2235 $open_pos = strpos($code, $open, $i);
2246 strpos($code, $close, $matches[$dk][$open]['next_match']+1);
2312 $close_pos = strpos($code, $next_match_pointer['close'], $i);
2588 $close_pos = strpos($part, $char, $start);
2633 … $simple_escape = strpos($part, $this->language_data['ESCAPE_CHAR'], $start);
2762 … while ($close_pos = strpos($part, $this->language_data['HARDQUOTE'][1], $start)) {
[all …]
/dokuwiki/vendor/kissifrot/php-ixr/src/Client/
H A DClientSSL.php209 $contents = substr($contents, strpos($contents, '<'));
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Decode/HTML/
H A DEntities.php61 while (($position = strpos($this->data, '&', $this->position)) !== false) {
/dokuwiki/inc/Cache/
H A DCache.php209 $i = strpos($line, ',');
/dokuwiki/inc/Menu/Item/
H A DAbstractItem.php87 if (strpos($label, '%s')) {
/dokuwiki/_test/core/
H A DDokuWikiTest.php95 $conf['gzip_output'] &= (strpos($_SERVER['HTTP_ACCEPT_ENCODING'],'gzip') !== false);

123