Subversion Repositories php-qbpwcf

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14 liveuser 1
<?php
2
 
3
#用命名空間
4
namespace qbpwcf{
5
 
6
	#匯入外部套件
7
	include("../allInOne.php");
8
 
9
	#說明要測試的案例
10
	echo"<hr>arrays::create - testCase 1<br>";
11
 
12
	$exitComment="
13
		<script>
14
		alert('我是最後一個執行的程式喲!');
15
		</script>
16
		";
17
 
18
	#函式說明:
19
	#停止執行程式,中止前一刻會印出一段內容
20
	#回傳結果:
21
	#$result["status"],執行是否正常,正常的話為"true",不正常的話為"false".
22
	#$result["error"],錯誤訊息.
23
	#$result["function"],當前執行的函數名稱.
24
	#必填參數:
25
	#$conf["comment"],字串,要顯示的錯誤訊息.
26
	$conf["comment"]=$exitComment;
27
	#參考資料:
28
	#exit=>http://php.net/manual/en/function.exit.php
29
	var_dump(stop::exitWithComment($conf));
30
	unset($conf);
31
 
32
	echo "我不會出現!";
33
 
34
	}#namespace qbpwcf end
35
 
36
?>