Subversion Repositories php-qbpwcf

Rev

Blame | Last modification | View Log | RSS feed

<?php

#用命名空間
namespace qbpwcf{

        #匯入外部套件
        include("../allInOne.php");

        #說明要測試的案例
        echo"<hr>arrays::create - testCase 1<br>";

        $exitComment="
                <script>
                alert('我是最後一個執行的程式喲!');
                </script>
                ";

        #函式說明:
        #停止執行程式,中止前一刻會印出一段內容
        #回傳結果:
        #$result["status"],執行是否正常,正常的話為"true",不正常的話為"false".
        #$result["error"],錯誤訊息.
        #$result["function"],當前執行的函數名稱.
        #必填參數:
        #$conf["comment"],字串,要顯示的錯誤訊息.
        $conf["comment"]=$exitComment;
        #參考資料:
        #exit=>http://php.net/manual/en/function.exit.php
        var_dump(stop::exitWithComment($conf));
        unset($conf);
        
        echo "我不會出現!";

        }#namespace qbpwcf end

?>