摘要:
1 class talker { 2 private $data = 'Hi'; 3 public function &get() { 4 return $this->data; 5 } 6 public function out() { 7 var_dump($this->data); 8 } 9 }10 11 $aa = new talker();12 $d = &$aa->get();13 14 $d = array('You');15 $aa->out();1 ---------- PHP ----------2. 阅读全文
摘要:
1,先到Oracle网站下载Instant Client :http://www.oracle.com/technology/global/cn/software/tech/oci/instantclient/index.html根据你的操作系统选择不同的Instant Client版本下载回是一个压缩文件,解压之后的文件夹叫:D:/instantclient_11_2.放在你喜欢的目录即可.例如:D:/instantclient_11_22.在D:/instantclient_11_2目录下新建目录network,在network目录下再新建admin目录,在admin目录下新建文件tnsn 阅读全文