自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 php里parent,::和self的分别

原文出处:[url]http://www.wangchao.net.cn/bbsdetail_14848.html[/url][code]/*self的特点*/class a{ public static $a1="我是类a"; function ca() { echo "这是类a:".self::$a1;//self的特点是:只能访问静态变量(static) echo ""

2009-10-14 16:00:00 1801

转载 Zend Framework 中的 Php 编码标准 (五) - 错误与异常

Zend Framework 中的 Php 编码标准 (五) - 错误与异常原文 : http://kbs.kimbs.cn/blog/list/post/27/title/zend-framework-coding-standards-for-php-errors-and-exceptions1. Zend Framework 的代码应该不存在 E_STRICT 兼容

2009-10-09 10:43:00 1383

转载 Zend Framework 中的 Php 编码标准 (四) - 内嵌文档

原文 : http://kbs.kimbs.cn/blog/list/post/26/title/zend-framework-coding-standards-for-php-inline-documentationZend Framework 中的 Php 编码标准 (四) - 内嵌文档1. Docblocks start always with "/*" or "

2009-10-09 10:41:00 1410

转载 Zend Framework 中的 Php 编码标准 (三) - 编码风格

 原文 : http://kbs.kimbs.cn/blog/list/post/25/title/zend-framework-coding-standards-for-php-coding-styleZend Framework 中的 Php 编码标准 (三) - 编码风格1. PHP 代码必须以完整的形式来定界,短定界符只能用在视图。例如 :

2009-10-09 10:37:00 1384

转载 Zend Framework 中的 Php 编码标准 (二) - 命名约定

原文 : http://kbs.kimbs.cn/blog/list/post/24/title/zend-framework-coding-standards-for-php-naming-conventionsZend Framework 中的 Php 编码标准 (二) - 命名约定1. 类命名总是对应于其所属文件的目录结构。这源于 PEAR 命名约定,能让人从类名

2009-10-09 10:36:00 1381

转载 Zend Framework 中的 Php 编码标准 (一) - 文件格式

原文 : http://kbs.kimbs.cn/blog/list/post/22/title/zend-framework-coding-standards-for-php-file-formattingZend Framework 中的 Php 编码标准 (一) - 文件格式1. 对于只含有 php 代码的文件,我们将在文件结尾处忽略掉 "?>" 。这是为了防止多余的

2009-10-09 10:33:00 1359

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除