# Adding PHP option to Template node's Syntax Highlight

**URL:** https://discourse.nodered.org/t/adding-php-option-to-template-nodes-syntax-highlight/70368
**Category:** Feature Requests
**Created:** [10 November 2022 01:14 UTC](https://discourse.nodered.org/t/adding-php-option-to-template-nodes-syntax-highlight/70368 "2022-11-10T01:14:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Steveorevo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steveorevo/32/33290_2.png) [@Steveorevo](https://discourse.nodered.org/u/Steveorevo)
#### Post date: [10 November 2022 01:14 UTC](https://discourse.nodered.org/t/adding-php-option-to-template-nodes-syntax-highlight/70368/1 "2022-11-10T01:14:33Z")

</div>

For discussion (or merge, please please please):

> Technically this should be in dev branch as a "feature request" vs master as "bug fix"; not sure how this got appended to my initial pull request. It should be separate; apologies for any confusion. The logic behind this change is as follows:

> - Support is trivial, baked in, and just needed an entry in the select drop down.
> - PHP runs a majority chunk of the web (well over 75% of the web)
> - PHP is in the top 3 languages on GitHub, above Python and JavaScript

> While there are limited nodes that leverage/have to do with PHP, I will be releasing dozens of open source nodes that leverage it. Adding this simple "fix" to the native template node would help heaps!

> <https://github.com/node-red/node-red/commit/c81cd5450f9d0c450c42b6566c7f88cd9e7b66c7#commitcomment-89433633>

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [9 January 2023 01:14 UTC](https://discourse.nodered.org/t/adding-php-option-to-template-nodes-syntax-highlight/70368/2 "2023-01-09T01:14:34Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
