Home php教程 php手册 PHP Extended CHM 中文手册

PHP Extended CHM 中文手册

Jun 13, 2016 am 10:35 AM
chm extended php superior Chinese function ha manual recommend Comment user of

推荐 强力推荐的哈 php.net上用户对于函数的注释都有 我滴饿大神啊,早咋没有让我发现这好东西呢
使用方法:
1.解压到php_manual_zh文件夹
2.php_manual_zh.chm打开这个文件使用

相对于普通的 CHM 手册,Extended CHM 版额外提供了以下几种主要特性:
1、附带非常实用用户注释,其价值不亚于用户手册,这是最大的优点!关键啊
2、可以使用自定义的 CSS 文件来切换外观,可自定义右键菜单;
3、PHP 代码块以语法高亮显示;!看起来是比较舒服了
4、PHP 代码块中的函数为超链接形式,点击自动跳转至相应的函数;!这个也赞
5、可以很方便地集成于大多数 IDE 和编辑器;

尽管 Extended CHM 格式的 PHP 手册提供了这么多优秀特性,但 PHP 官方网站却只提供了英文版,始终没有提供简体中文版。因此我就趁空闲之机编译了这套手册。虽然网上也有其他热心 PHPER 编译提供的中文版,但大多只是简单的从 CVS 上 Checkout出来编译了一下,并没有针对中文版的特殊情况做些处理,因此就出现了诸如“不能搜索中文”、“搜索到的条目中文标题显示为乱码”或“页面中某些中文显示为数字编码”等 BUG,本版本几乎完美的解决了这些 BUG ,欢迎大家测试使用,反馈请到http://www.php.net 和 http://www.yAnbiN.org,我只负责编译问题。:-)(PS:我只负责转载)


压缩包内的文件说明:

php_manual_zh.chm 是手册的主文件,如果你只需要纯文本的手册,可以只保留这个文件。
php_manual_notes.chm 是手册对应章节的用户注释部分,不能单独打开,只能配合 php_manual_zh.chm 使用。这是一个很有用的东东,补充了一些手册没有的或不宜加入的部分,并且是随时更新的。
php_manual_prefs.js 负责为上面两个 chm 文件载入相应的 skin ,并且提供了对自定义右键菜单功能的支持。
context.ini 即是右键菜单的定义部分。你可以使用 php_manual_prefs.exe 这个 GUI 程序来配置,也可以直接手动编辑context.ini文件,但是编辑前注意和 php_manual_prefs.js 相关部分对应。
/skins/ 这个目录保存的即是一些另外的skin(High和Low两种Skin已经内置在两个chm文件中),可以根据自己的喜好来定。
mirrors.ini 里面保存所有php.net的镜像网址,在手册主文件当中,有个在线版本的连接,可以在 php_manual_prefs.exe 中定义采用哪个镜像来访问。
附上一条使用技巧--在 EditPlus 中集成本手册的方法:
【工具(Tools)】–>【用户工具(User Tools)】–>【添加工具(Add Tool)】:
菜单文本(Menu Text):PHP 手册
命令(Command): HH X:XXXXXXphp_manual_zh.chm (此处X:XXXX替换为您的 chm 帮助文件的位置)
参数(Argument): ::/_function.html#$(CurWord)
初始目录(Initial): $(FileDir) (可不填)

使用方法:把点击某一关键词,然后按快捷键(如:Ctrl+1,这个快捷键可以在【工具(Tools)】菜单下看到)即可

下载地址:http://www.phpchina.com/download/handbook/php_manual_zh.zip

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian Dec 24, 2024 pm 04:42 PM

PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

How To Set Up Visual Studio Code (VS Code) for PHP Development How To Set Up Visual Studio Code (VS Code) for PHP Development Dec 20, 2024 am 11:31 AM

Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c

7 PHP Functions I Regret I Didn't Know Before 7 PHP Functions I Regret I Didn't Know Before Nov 13, 2024 am 09:42 AM

If you are an experienced PHP developer, you might have the feeling that you’ve been there and done that already.You have developed a significant number of applications, debugged millions of lines of code, and tweaked a bunch of scripts to achieve op

How do you parse and process HTML/XML in PHP? How do you parse and process HTML/XML in PHP? Feb 07, 2025 am 11:57 AM

This tutorial demonstrates how to efficiently process XML documents using PHP. XML (eXtensible Markup Language) is a versatile text-based markup language designed for both human readability and machine parsing. It's commonly used for data storage an

Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Apr 05, 2025 am 12:04 AM

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

PHP Program to Count Vowels in a String PHP Program to Count Vowels in a String Feb 07, 2025 pm 12:12 PM

A string is a sequence of characters, including letters, numbers, and symbols. This tutorial will learn how to calculate the number of vowels in a given string in PHP using different methods. The vowels in English are a, e, i, o, u, and they can be uppercase or lowercase. What is a vowel? Vowels are alphabetic characters that represent a specific pronunciation. There are five vowels in English, including uppercase and lowercase: a, e, i, o, u Example 1 Input: String = "Tutorialspoint" Output: 6 explain The vowels in the string "Tutorialspoint" are u, o, i, a, o, i. There are 6 yuan in total

Explain late static binding in PHP (static::). Explain late static binding in PHP (static::). Apr 03, 2025 am 12:04 AM

Static binding (static::) implements late static binding (LSB) in PHP, allowing calling classes to be referenced in static contexts rather than defining classes. 1) The parsing process is performed at runtime, 2) Look up the call class in the inheritance relationship, 3) It may bring performance overhead.

What are PHP magic methods (__construct, __destruct, __call, __get, __set, etc.) and provide use cases? What are PHP magic methods (__construct, __destruct, __call, __get, __set, etc.) and provide use cases? Apr 03, 2025 am 12:03 AM

What are the magic methods of PHP? PHP's magic methods include: 1.\_\_construct, used to initialize objects; 2.\_\_destruct, used to clean up resources; 3.\_\_call, handle non-existent method calls; 4.\_\_get, implement dynamic attribute access; 5.\_\_set, implement dynamic attribute settings. These methods are automatically called in certain situations, improving code flexibility and efficiency.

See all articles