computer
 






 

Question by  sathu (157)

What is php syntax highlighting?

 
+7

Answer by  trigonometry (668)

Syntax highlighting means to change font style or color of all key words of a programming language (here php) when displaying the source code.

 
+7

Answer by  DM (228)

Many IDEs (Integrated Development Environments) use syntax highlighting to make code easier to read and understand. PHP (Hypertext Pre-Processor) is a popular language for web programming. PHP syntax highlighting combines these two things.

 
+7

Answer by  alsoftware (117)

Modern text editors like Notepad++ can recognize php code inside a webpage and highlight the code for better understanding. This way the user can immediately see where html code ends and where php code begins. This is really useful when you happen to manage big webpages with inline code, comments etc.

 
+6

Answer by  dxpsteve (10)

Syntax highlighting is a feature included with many Interactive Development Environments (IDEs) in which the editor that is being used to program source code (i.e. php) will display different elements of the code with different display styles as a mean to distinguish these sections of code.

 
+6

Answer by  PowerIsMe (844)

When you are writing code in some software (Integrated Development Environment or IDE), if you have php syntax highlighting, then it simply gives you different colors for different keywords of php. So strings may show up in pink, brackets will be positioned properly automatically etc.

 
+5

Answer by  scdan2002 (40)

Syntax highlighting (all languages) is the act of highlighting specific strings of words (the syntax of the language) in a programming language, to make it easier to read.

 
+4

Answer by  mmonshausen (114)

PHP is a programming language often used to implement websites. As every other programming language it consist of special keywords which are used to define the program logic. PHP syntax highlighting is a feature of programs like text-editing programs which detects the PHP-keywords and marks them. This helps to you control if there are no typos in the php-code.

 
+4

Answer by  AvrilBey (474)

PHP, like many other forms of plain text based programming and scripting languages has a specific way that the code needs to be formatted. This is the syntax. Some programs will highlight or format this in a way to make it more readable.

 
+2

Answer by  gheesh (59)

It is a feature with which PHP code will be displayed using fonts, colors and effects that will greatly increase readability.

 
You have 50 words left!