错误原因因为end函数的原因。end函数: mixed end ( array &$array )你可以看到end的参数是一个引用(reference),而你只能把一个变量的引用作为一个参数传给函数,而你直接把explode('.',$name)作为参数传给end函数,所以才有这个提示。你可以这样....
分类:
Web程序 时间:
2014-07-03 06:52:15
阅读次数:
234
内容:一:简单介绍二:安装及配置三:应用四:综述參考资料关于作者 相关内容: TCP/IP 介绍 TCP/IP 介绍 !== End...
分类:
其他好文 时间:
2014-07-03 06:38:43
阅读次数:
182
先上一个场景的基本模版: 1 local ModelScene = class("ModelScene", function() 2 return display.newScene("ModelScene") 3 end) 4 5 function ModelScene:ctor() 6 ...
分类:
其他好文 时间:
2014-07-02 21:17:07
阅读次数:
334
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1 ...
分类:
其他好文 时间:
2014-07-02 21:13:05
阅读次数:
170
(一)二分的模版:
int binary_search(int *array, int length, int key) {
int start = 0, end = length - 1;
while(end >= start) {
int middle = start + (end - start) / 2;
int tmp = array[middle];
if(tmp <...
分类:
其他好文 时间:
2014-07-02 08:19:05
阅读次数:
211
题目:Remove Nth Node From End of ListGiven a linked list, remove thenthnode from the end of list and return its head.For example, Given linked list: 1.....
分类:
其他好文 时间:
2014-07-01 20:34:50
阅读次数:
232
Lua提供了一组传统的,小巧的控制结构,包括用于条件执行的if,用于迭代的while、repeat和for。所有的控制结构都有一个现实的终止符号:if for while 都以end结尾,repeat以until作为结尾。控制结构中的条件表达式可以使任何的值,Lua将所有false和nil的值视为“...
分类:
其他好文 时间:
2014-07-01 12:41:38
阅读次数:
253
(Procedure Language,过程化语言)SQL 1999各大数据库厂商通用的一种结构化语言 PL/SQL只支持Oracle数据库
基本语法
多行注释 /* */ 单行注释 --
PLSQL程序块
结构
[declare]
定义变量
begin
过程语句
[exception]
处理 异常
end;
例子 输出helloworld
begin
dbms_output.put_line('hello');
end;
--如果...
分类:
数据库 时间:
2014-07-01 11:23:51
阅读次数:
313
(Procedure Language,过程化语言)SQL 1999各大数据库厂商通用的一种结构化语言 PL/SQL只支持Oracle数据库
基本语法
多行注释 /* */ 单行注释 --
PLSQL程序块
结构
[declare]
定义变量
begin
过程语句
[exception]
处理 异常
end;
例子 输出helloworld
begin
dbms_output.put_line('hello');
end;
--如果...
分类:
数据库 时间:
2014-06-30 18:55:36
阅读次数:
337
使用dmesg检查是否有关于磁盘错误的信息,果不其然发现大量磁盘扇区错误的信息,如下:end_request:I/O error, dev 03:06 (sda), sector 从上面的输出我们判定扇区可能出现了问题,使用badblocks -s -v -o /root/badblocks.log...
分类:
系统相关 时间:
2014-06-30 15:27:18
阅读次数:
330