Subversion Repositories php-qbpwcf

Rev

Rev 239 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 239 Rev 316
Line 60... Line 60...
60
$logFile=$_SERVER["DOCUMENT_ROOT"].$_SERVER["PHP_SELF"].".log";
60
$logFile=$_SERVER["DOCUMENT_ROOT"].$_SERVER["PHP_SELF"].".log";
61
 
61
 
62
#要使用的範例name
62
#要使用的範例name
63
$nameOfSample="20250122";
63
$nameOfSample="20250122";
64
$nameOfSample="20250213";
64
$nameOfSample="20250213";
-
 
65
$nameOfSample="20260330";
65
 
66
 
66
#函式說明:
67
#函式說明:
67
#抓取命令列的參數.
68
#抓取命令列的參數.
68
#回傳結果:
69
#回傳結果:
69
#$result["status"],執行是否正常,"true"代表正常,"false"代表不正常.
70
#$result["status"],執行是否正常,"true"代表正常,"false"代表不正常.
Line 148... Line 149...
148
$samples=array();
149
$samples=array();
149
 
150
 
150
#增加 phpLib::updateCopyRightYear 的範例資訊
151
#增加 phpLib::updateCopyRightYear 的範例資訊
151
$samples[]=array("name"=>"20250122","comnent"=>"initial test case");
152
$samples[]=array("name"=>"20250122","comnent"=>"initial test case");
152
$samples[]=array("name"=>"20250213","comment"=>"multi threads test case");
153
$samples[]=array("name"=>"20250213","comment"=>"multi threads test case");
-
 
154
$samples[]=array("name"=>"20260330","comment"=>"test exclude hidden folder and no hang");
153
 
155
 
154
#針對每個範例資訊
156
#針對每個範例資訊
155
foreach($samples as $sample){
157
foreach($samples as $sample){
156
 
158
 
157
	#如果找到對應的範例
159
	#如果找到對應的範例