ARGS
public
mixed
ARGS
= '\\((?<args>[^()]*+(?:\\((?&args)\\)[^()]*+)*+)\\)'
public
mixed
ARGS
= '\\((?<args>[^()]*+(?:\\((?&args)\\)[^()]*+)*+)\\)'
public
mixed
INIT_DIR
= getcwd()
public
mixed
IS_WINDOWS
= substr(PHP_OS, 0, 3) == "WIN"
public
mixed
LEVELDB_ZLIB_RAW_COMPRESSION
= 4
public
mixed
LIB
= '(?(DEFINE)
(?<singleQuotedString>\'[^\\\\\']*+(?:\\\\.[^\\\\\']*+)*+\')
(?<doubleQuotedString>"[^\\\\"]*+(?:\\\\.[^\\\\"]*+)*+")
(?<string>(?&singleQuotedString)|(?&doubleQuotedString))
(?<comment>/\\*[^*]*+(?:\\*(?!/)[^*]*+)*+\\*/)
(?<code>\\{[^\'"/{}]*+(?:(?:(?&string)|(?&comment)|(?&code)|/)[^\'"/{}]*+)*+})
)'
public
mixed
MYSQLI_REFRESH_REPLICA
= 64
public
mixed
PARAMS
= '\\[(?<params>[^[\\]]*+(?:\\[(?¶ms)\\][^[\\]]*+)*+)\\]'
public
mixed
PHP_QA_EMAIL
= 'qa-reports@lists.php.net'
public
mixed
QA_REPORTS_PAGE
= 'http://qa.php.net/reports'
public
mixed
QA_SUBMISSION_PAGE
= 'http://qa.php.net/buildtest-process.php'
public
mixed
T_NAME_FULLY_QUALIFIED
= 'T_NAME_FULLY_QUALIFIED'
public
mixed
T_NAME_QUALIFIED
= 'T_NAME_QUALIFIED'
public
mixed
TEST_PHP_SRCDIR
= getcwd()
public
mixed
TESTED_PHP_VERSION
= `{$php} -n -r "echo PHP_VERSION;"`
public
mixed
TRAVIS_CI
= (bool) getenv('TRAVIS')
public
mixed
VERSIONS
= ["8.0"]
processDirectory(string $dir, Context $context) : array<string|int, FileInfo>
processStubFile(string $stubFile, Context $context) : FileInfo|null
computeStubHash(string $stubCode) : string
extractStubHash(string $arginfoFile) : string|null
parseDocComment(Doc $comment) : array<string|int, DocCommentTag>
parseFunctionLike(PrettyPrinterAbstract $prettyPrinter, FunctionOrMethodName $name, int $classFlags, int $flags, FunctionLike $func, string|null $cond) : FuncInfo
handlePreprocessorConditions(array<string|int, mixed> &$conds, Stmt $stmt) : string|null
getFileDocComment(array<string|int, mixed> $stmts) : Doc|null
handleStatements(FileInfo $fileInfo, array<string|int, mixed> $stmts, PrettyPrinterAbstract $prettyPrinter) : mixed
parseStubFile(string $code) : FileInfo
funcInfoToCode(FuncInfo $funcInfo) : string
findEquivalentFuncInfo(array<string|int, FuncInfo> $generatedFuncInfos, FuncInfo $funcInfo) : FuncInfo|null
generateCodeWithConditions(iteratable<string|int, FuncInfo> $funcInfos, string $separator, Closure $codeGenerator) : string
generateArgInfoCode(FileInfo $fileInfo, string $stubHash) : string
generateFunctionEntries(Name|null $className, array<string|int, FuncInfo> $funcInfos) : string
generateMethodSynopses(array<string|int, FuncInfo> $funcMap, array<string|int, FuncInfo> $aliasMap) : array<string, string>
replaceMethodSynopses(string $targetDirectory, array<string|int, FuncInfo> $funcMap, array<string|int, FuncInfo> $aliasMap) : array<string, string>
installPhpParser(string $version, string $phpParserDir) : mixed
initPhpParser() : mixed
show_usage() : void
One function to rule them all, one function to find them, one function to bring them all and in the darkness bind them.
main() : void
This is the entry point and exit point überfunction. It contains all the code that was previously found at the top level. It could and should be refactored to be smaller and more manageable.
hrtime([bool $as_num = false ]) : array<string|int, mixed>|float|int
verify_config() : void
write_information() : void
save_or_mail_results() : void
find_files(string $dir[, bool $is_ext_dir = false ][, bool $ignore = false ]) : void
test_name(array<string|int, mixed>|string $name) : string
test_sort(array<string|int, mixed>|string $a, array<string|int, mixed>|string $b) : int
mail_qa_team(string $data[, bool $status = false ]) : bool
save_text(string $filename, string $text[, string|null $filename_copy = null ]) : void
error_report(string $testname, string $logname, string $tested) : void
system_with_timeout(string $commandline[, array<string|int, mixed>|null $env = null ][, string|null $stdin = null ][, bool $captureStdIn = true ][, bool $captureStdOut = true ][, bool $captureStdErr = true ]) : false|string
run_all_tests(array<string|int, mixed> $test_files, array<string|int, mixed> $env[, string|array<string|int, mixed>|null $redir_tested = null ]) : void
The heart of parallel testing.
run_all_tests_parallel(array<string|int, mixed> $test_files, array<string|int, mixed> $env, string|array<string|int, mixed>|null $redir_tested) : void
send_message(mixed $stream, array<string|int, mixed> $message) : void
kill_children(array<string|int, mixed> $children) : void
run_worker() : void
show_file_block(string $file, string $block[, string|null $section = null ]) : void
run_test(string $php, string|array<string|int, mixed> $file, array<string|int, mixed> $env) : string
comp_line(string $l1, string $l2, bool $is_reg) : bool|int
count_array_diff(array<string|int, mixed> $ar1, array<string|int, mixed> $ar2, bool $is_reg, array<string|int, mixed> $w, int $idx1, int $idx2, int $cnt1, int $cnt2, int $steps) : int
generate_array_diff(array<string|int, mixed> $ar1, array<string|int, mixed> $ar2, bool $is_reg, array<string|int, mixed> $w) : array<string|int, mixed>
generate_diff(string $wanted, string|null $wanted_re, string $output) : string
error(string $message) : void
settings2array(array<string|int, mixed> $settings, mixed &$ini_settings) : void
settings2params(array<string|int, mixed> $ini_settings) : string
compute_summary() : void
get_summary(bool $show_ext_summary) : string
show_start(mixed $start_time) : void
show_end(mixed $end_time) : void
show_summary() : void
show_redirect_start(string $tests, string $tested, string $tested_file) : void
show_redirect_ends(string $tests, string $tested, string $tested_file) : void
show_test(int $test_idx, string $shortname) : void
clear_show_test() : void
parse_conflicts(string $text) : array<string|int, mixed>
show_result(string $result, string $tested, string $tested_file[, string $extra = '' ][, array<string|int, mixed>|null $temp_filenames = null ]) : void
junit_init() : void
junit_save_xml() : void
junit_get_suite_xml([string $suite_name = '' ]) : string
junit_enabled() : bool
junit_mark_test_as(array<string|int, mixed>|string $type, string $file_name, string $test_name[, float|null $time = null ][, string $message = '' ][, string $details = '' ]) : void
junit_suite_record(string $suite, string $param[, float $value = 1 ]) : void
junit_get_timer(string $file_name) : float
junit_start_timer(string $file_name) : void
junit_get_suitename_for(string $file_name) : string
junit_path_to_classname(string $file_name) : string
junit_init_suite(string $suite_name) : void
junit_finish_timer(string $file_name) : void
junit_merge_results(array<string|int, mixed> $junit) : void
init_output_buffers() : void
check_proc_open_function_exists() : void
init_steps(Context $context) : Generator
crash_protector_test(Context $context, string $adminName) : Generator
composerRequiref5c30eae39144cb65ebc6b143eb36a61(string $fileIdentifier, string $file) : void
preprocessGrammar(mixed $code) : mixed
resolveNodes(mixed $code) : mixed
resolveMacros(mixed $code) : mixed
assertArgs(mixed $num, mixed $args, mixed $name) : mixed
resolveStackAccess(mixed $code) : mixed
removeTrailingWhitespace(mixed $code) : mixed
regex(mixed $regex) : mixed
magicSplit(mixed $regex, mixed $string) : mixed
ensureDirExists(mixed $dir) : mixed
execCmd(mixed $cmd) : mixed
libdeflate_deflate_compress(string $data[, int $level = 6 ]) : string
array_is_list(array<string|int, mixed> $array) : bool
enum_exists(string $enum[, bool $autoload = true ]) : bool