Title: SyntaxHighlighter Evolved PHP5
Author: Sandro Bilbeisi
Published: <strong>2011 年 5 月 10 日</strong>
Last modified: 2011 年 11 月 17 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/syntaxhighlighter-evolved-php5.svg)

# SyntaxHighlighter Evolved PHP5

 由 [Sandro Bilbeisi](https://profiles.wordpress.org/sandrobilbeisi/) 開發

[下載](https://downloads.wordpress.org/plugin/syntaxhighlighter-evolved-php5.1.4.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/syntaxhighlighter-evolved-php5/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/syntaxhighlighter-evolved-php5/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/syntaxhighlighter-evolved-php5/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/syntaxhighlighter-evolved-php5/#developers)

 [技術支援](https://wordpress.org/support/plugin/syntaxhighlighter-evolved-php5/)

## 外掛說明

SyntaxHighlighter Evolved PHP5 is a plugin for self-hosted WordPress that adds support
to Alex Mills’ (Viper007) [SyntaxHighlighter Evolved](https://wordpress.org/extend/plugins/syntaxhighlighter/)
plugin for the PHP5 language .

It provides a brush designed to work with the SyntaxHighlighter Evolved WordPress
plugin . To be able to use this plugin, you will need the SyntaxHighlighter Evolved
plugin installed.

#### Features:

 * it includes many improvements over the bundled PHP plugin
    - PHP opening and closing tags are captured
    - Variables within double-quoted strings are captured
    - Numerical values are captured
    - a large superset of PHP’s function names are recognized
    - Custom function names are captured
 * this plugin does not interfere with the standard bundled version of the PHP hightligher;
   both versions can be used together, as shown here :[live demo](http://www.sandrobilbeisi.org/wp/2011/web-development/syntaxhighlighter-test-php5/)

#### Notes:

 * this plugin follows the programming conventions outlined by [Alex Mills](http://www.viper007bond.com/)(
   Viper007) for extending his plugin: [Adding A New Brush (Language)](http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/)
 * uses the advanced javascript brush provided by [David Chambers](http://davidchambersdesign.com/)
   [PHP brush for SyntaxHighlighter](http://davidchambersdesign.com/php-brush-for-syntaxhighlighter/)
 * this plugin is based on similar work by apollox2: [Scott Selikoff](http://www.selikoff.net/)
   [SyntaxHighlighter Evolved AppleScript](https://wordpress.org/extend/plugins/syntaxhighlighter-evolved-applescript/)
 * [SyntaxHighlighter Evolved](https://wordpress.org/extend/plugins/syntaxhighlighter/)
   WordPress plugin by Alex Mills (Viper007) is based on the [SyntaxHighlighter JavaScript package by Alex Gorbatchev](http://alexgorbatchev.com/SyntaxHighlighter/).

## 螢幕擷圖

 * [[
 * This is a sample image of the plugin in action as applied to PHP5 code.

## 安裝方式

### Prerequisite

In order to use SyntaxHighlighter Evolved PHP5, you must first install [SyntaxHighlighter Evolved](https://wordpress.org/extend/plugins/syntaxhighlighter/).

### Installation

Extract all files from the ZIP file, making sure to keep the file/folder structure
intact, and then upload it to /wp-content/plugins/.

### Plugin Activation

Go to the admin area of your WordPress install and click on the “Plugins” menu. 
Click on “Activate” for the “SyntaxHighlighter Evolved: PHP5” plugin.

### Plugin Usage

Just wrap your code in your code here 
 or wrap your code in `[php5]`, such as `[
php5]` code here `[/php5]` .

The shortcodes accept a wide variety of parameters. For details, see the bottom 
of the SyntaxHighlighter Evolved’s settings page.

## 常見問題集

  The code is just being displayed raw. It isn’t being converted into a code box
or anything. What’s wrong?

Make sure your theme’s `footer.php` file has `<?php wp_footer(); ?>` somewhere inside
of it, otherwise the plugin won’t be able to do it’s thing.

> **INFO:** When you find a that a keyword or a other special word of PHP5 is not
> highlighted. Please write entry into the forum of this plugin. -> [Support Forum](https://wordpress.org/tags/syntaxhighlighter-evolved-php5?forum_id=10)

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈SyntaxHighlighter Evolved PHP5〉的開發相關工作。

參與者

 *   [ Sandro Bilbeisi ](https://profiles.wordpress.org/sandrobilbeisi/)

[將〈SyntaxHighlighter Evolved PHP5〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/syntaxhighlighter-evolved-php5)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/syntaxhighlighter-evolved-php5/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/syntaxhighlighter-evolved-php5/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/syntaxhighlighter-evolved-php5/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/syntaxhighlighter-evolved-php5/)。

## 變更記錄

#### 1.4.1

 * Peer review and quality assurance; first version to be officially published

#### 1.4.0

 * Updated php5 brush stylesheet and script to version 3.0.83, as provided by [David Chambers](http://davidchambersdesign.com).

#### 1.3.0

 * Added support for accessing plugin via [php5].

#### 1.2.0

 * Bug fixes.

#### 1.1.0

 * Initial release

## 中繼資料

 *  版本 **1.4.3**
 *  最後更新 **15 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 2.7 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.2.1**
 *  語言
 * [English (US)](https://wordpress.org/plugins/syntaxhighlighter-evolved-php5/)
 * 標籤:
 * [code](https://tw.wordpress.org/plugins/tags/code/)[css](https://tw.wordpress.org/plugins/tags/css/)
   [highlighter](https://tw.wordpress.org/plugins/tags/highlighter/)[php5](https://tw.wordpress.org/plugins/tags/php5/)
   [syntax](https://tw.wordpress.org/plugins/tags/syntax/)
 *  [進階檢視](https://tw.wordpress.org/plugins/syntaxhighlighter-evolved-php5/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/syntaxhighlighter-evolved-php5/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/syntaxhighlighter-evolved-php5/reviews/)

## 參與者

 *   [ Sandro Bilbeisi ](https://profiles.wordpress.org/sandrobilbeisi/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/syntaxhighlighter-evolved-php5/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/donate/)