Subversion Repositories php-qbpwcf

Rev

Rev 218 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 218 Rev 225
Line 1... Line 1...
1
<?php
1
<?php
2
 
2
 
3
/*
3
/*
4
 
4
 
5
        QBPWCF, Quick Build PHP website Component base on Fedora Linux.
5
        QBPWCF, Quick Build PHP website Component base on Fedora Linux.
6
    Copyright (C) 2014~2025 Min-Jhin,Chen
6
    Copyright (C) 2014~2025 MIN ZHI, CHEN
7
 
7
 
8
    This file is part of QBPWCF.
8
    This file is part of QBPWCF.
9
 
9
 
10
    QBPWCF is free software: you can redistribute it and/or modify
10
    QBPWCF is free software: you can redistribute it and/or modify
11
    it under the terms of the GNU General Public License as published by
11
    it under the terms of the GNU General Public License as published by
Line 48... Line 48...
48
#$result["argu"],所使用的參數.
48
#$result["argu"],所使用的參數.
49
#$result["found"],是否有找到符合格式的連續字串內容,"true"代表有找到,"false"代表沒有找到.
49
#$result["found"],是否有找到符合格式的連續字串內容,"true"代表有找到,"false"代表沒有找到.
50
#$result["content"],陣列,每段符合格式的段落資訊.
50
#$result["content"],陣列,每段符合格式的段落資訊.
51
#$result["content"][$i]["lineS"],字串,為第 $i+1 個符合格式的段落起始行數.
51
#$result["content"][$i]["lineS"],字串,為第 $i+1 個符合格式的段落起始行數.
52
#$result["content"][$i]["ori"],陣列,為第 $i+1 個符合格式的段落每行原始內容.
52
#$result["content"][$i]["ori"],陣列,為第 $i+1 個符合格式的段落每行原始內容.
53
#$result["content"][$i]["new"],陣列,為第 $i+1 個符合格式的段落每行置換後內容.	
53
#$result["content"][$i]["new"],陣列,為第 $i+1 個符合格式的段落每行置換後內容.
54
#$result["content"][$i]["vars"],陣列,為第 $i+1 個符合格式的段落每行變數解析的結果.
54
#$result["content"][$i]["vars"],陣列,為第 $i+1 個符合格式的段落每行變數解析的結果.
55
#必填參數:
55
#必填參數:
56
#$conf["input"],字串陣列,要檢查的每行字串.
56
#$conf["input"],字串陣列,要檢查的每行字串.
57
$conf["input"]=$inputs;
57
$conf["input"]=$inputs;
58
#$conf["format"],格式字串陣列,要尋找的每行格式字串集合.格式為固定的字串("fixedStr format")與變數("${keyWordVarName}")組成.
58
#$conf["format"],格式字串陣列,要尋找的每行格式字串集合.格式為固定的字串("fixedStr format")與變數("${keyWordVarName}")組成.
Line 67... Line 67...
67
unset($conf);
67
unset($conf);
68
 
68
 
69
#debug
69
#debug
70
var_dump($findConMatchStrs);
70
var_dump($findConMatchStrs);
71
 
71
 
72
?>
-
 
73
72
?>
-
 
73