public static void main(String[] args) {
 
        System.out.println("\n-----------------------------------------\n");
        System.out.println("\n区间求和[] -> sum : " + array_sum(0, -3));
        System.out.println("\n区间求和[] -> sum : " + array_sum(-1, -100));
        System.out.println("\n区间求和[] -> sum : " + array_sum(-100, -1));
        System.out.println("\n区间求和[] -> sum : " + array_sum(-100, -1, 2));
        System.out.println("\n-----------------------------------------\n");
 
        System.out.println("\n-----------------------------------------\n");
        Object[] a = { 1, 2, 3, 5, 6, 66, "fuckyou", new Date() };
        System.out
                .println("\n测试array_sum[java]-> :{ 1, 2, 3, 5, 6, 66, fuckyou, new Date() };\n 结果"
                        + array_sum(a));
        System.out.println("\n-----------------------------------------\n");
        /**
         * ----------------------------------------- 輸出 测试array_sum[java]-> :{
         * 1, 2, 3, 5, 6, 66, fuckyou, new Date() }; 结果83
         * -----------------------------------------
         * */
 
        System.out.println("\n-----------------------------------------\n");
        System.out.println("测试array_range[java](-1,6)");
        for (int num : array_range(-1, 6))
            System.out.print(num + ",");
        System.out.println("\n-----------------------------------------\n");
        /**
         * ----------------------------------------- 輸出
         * 测试array_range[java](-1,6) -1,0,1,2,3,4,5,6,
         * -----------------------------------------
         * */
 
        System.out.println("\n-----------------------------------------\n");
        System.out.println("测试array_range[java](5,100,5[步长])");
        for (int num : array_range(5, 100, 5))
            System.out.print(num + ",");
        System.out.println("\n-----------------------------------------\n");
        /**
         * ----------------------------------------- 輸出
         * 测试array_range[java](5,100,5[步长])
         * 5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,
         * -----------------------------------------
         * */
 
        System.out.println("\n-----------------------------------------\n");
        System.out.println("测试array_range[java](a,z,3[步长])");
        for (char c : array_range('a', 'z', 3))
            System.out.print(c + ",");
        System.out.println("\n-----------------------------------------\n");
        /**
         * ----------------------------------------- 輸出
         * 测试array_range[java](a,z,3[步长]) a,d,g,j,m,p,s,v,
         * -----------------------------------------
         * */
 
        System.out.println("\n-----------------------------------------\n");
        System.out.println("测试array_range[java](z,b[步长])");
        for (char c : array_range('Z', 'A'))
            System.out.print(c + ",");
        /**
         * ----------------------------------------- 输出
         * 测试array_range[java](z,b[步长])
         * z,y,x,w,v,u,t,s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d,c,b,a,
         * -----------------------------------------
         * */
        System.out.println("\n-----------------------------------------\n");
 
        System.out.println("\n-----------------------------------------\n");
        System.out.println("测试php_md5('hello world')");
        System.err.println(php_md5("hello world"));
        /**
         * ----------------------------------------- 输出 测试php_md5('hello world')
         * 5eb63bbbe01eeed093cb22bb8f5acdc3
         * */
        System.out.println("\n-----------------------------------------\n");
 
        System.out.println("\n-----------------------------------------\n");
        System.out.println("测试php_parse_DateAndString(new Date())");
        try {
            System.err.println(php_parse_DateAndString(new Date()));
        } catch (ParseException e) {
        }
        /**
         * ----------------------------------------- 输出 Exception in thread
         * "main" java.lang.RuntimeException: 非法电子邮件
         * */
        System.out.println("\n-----------------------------------------\n");
 
        System.out.println("\n-----------------------------------------\n");
        System.out.println("测试php_Validate_email('helloworld@123.com.com')");
        System.err.println(php_Validate_Email("helloworld@123.com.com"));
        /**
         * ----------------------------------------- 输出 Exception in thread
         * "main" java.lang.RuntimeException: 非法电子邮件
         * */
        System.out.println("\n-----------------------------------------\n");
 
    }