Subversion Repositories php-qbpwcf

Rev

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

Rev 226 Rev 238
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="20250222";
-
 
66
 
65
 
67
#函式說明:
66
#函式說明:
68
#抓取命令列的參數.
67
#抓取命令列的參數.
69
#回傳結果:
68
#回傳結果:
70
#$result["status"],執行是否正常,"true"代表正常,"false"代表不正常.
69
#$result["status"],執行是否正常,"true"代表正常,"false"代表不正常.
Line 149... Line 148...
149
$samples=array();
148
$samples=array();
150
 
149
 
151
#增加 phpLib::updateCopyRightYear 的範例資訊
150
#增加 phpLib::updateCopyRightYear 的範例資訊
152
$samples[]=array("name"=>"20250122","comnent"=>"initial test case");
151
$samples[]=array("name"=>"20250122","comnent"=>"initial test case");
153
$samples[]=array("name"=>"20250213","comment"=>"multi threads test case");
152
$samples[]=array("name"=>"20250213","comment"=>"multi threads test case");
154
$samples[]=array("name"=>"20250222","comment"=>"debug 20250213");
-
 
155
 
153
 
156
#針對每個範例資訊
154
#針對每個範例資訊
157
foreach($samples as $sample){
155
foreach($samples as $sample){
158
 
156
 
159
	#如果找到對應的範例
157
	#如果找到對應的範例