Home  >  Article  >  Backend Development  >  php 超级好用函数记要

php 超级好用函数记要

WBOY
WBOYOriginal
2016-06-13 12:29:43855browse

php 超级好用函数记录


1:?extract() 函数从数组中把变量导入到当前的符号表中

? ?

<?php
$a = 'Original';
$my_array = array("a" => "Cat","b" => "Dog", "c" => "Horse");
extract($my_array);
echo "\$a = $a; \$b = $b; \$c = $c";
?>

?

?2:ci框架?

BASEPATH为 ?system目录如果要加载什么 则用这个目录

?

?

?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn