2018-01-20

2018-01-30  本文已影响0人  xcentiot

1.PHP基础面试题练习;

ol:ordered list

ordered list

function array_unique(arr){

    var result = arr

    for(var i = 0;i<arr.length;i++;){

            temp = arr[i];

            if(temp == arr[i+1]) {

                   result.splice(i+j+1,1);

            }

      }

    return result;

}

array_unique

设计模式

class Mysql{

        private static $instance = null;

        private function __construct(){

                $conn = mysql_connect();

       }    

        public static function getInstance(){

                if(!self::$instance instance of self){

                                self::$instance = new self;

                }

                return self::$instance;

        }

}

2.记录自己生活

3.创作您的创造

上一篇下一篇

猜你喜欢

热点阅读