php 超级好用函数记要

WBOY
Release: 2016-06-13 12:29:43
Original
879 people have browsed it

php 超级好用函数记录

Copy after login

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

? ?

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

?

?2:ci框架?

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

?

?

?

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template