From 439f2662b4f32c0a520c1c778ec6f5bd731f313d Mon Sep 17 00:00:00 2001 From: Thomas Papapaschos Date: Wed, 17 Oct 2018 21:18:27 +0300 Subject: [PATCH] fix spelling error (#19623) --- .../php/PHP Syantax and Comments/index.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/guide/english/php/PHP Syantax and Comments/index.md b/guide/english/php/PHP Syantax and Comments/index.md index d1ef146a43..b6c1de4231 100644 --- a/guide/english/php/PHP Syantax and Comments/index.md +++ b/guide/english/php/PHP Syantax and Comments/index.md @@ -1,10 +1,10 @@ --- -title: PHP Syantax and Comments +title: PHP Syntax and Comments --- -### PHP Syantx +### PHP Syntax -The structure of a PHP syantax somewhat looks like: +The structure of a PHP syntax somewhat looks like: ```shell ``` + This PHP script can be placed anywhere in the document. -A PHP file generally have HTML tags, and some scripting code . +A PHP file generally has HTML tags, and some scripting code. The default file extension for PHP files is `.php`. ### How to make comments in PHP? A comment in PHP code is a line that is not read/executed as part of the program. Its only purpose is to be read by someone who is looking at the code. -In PHP, comments can be make by two ways either single lined or multi-lined. -The code snippet given below explains it: +In PHP, comments can be made by two ways either single-lined or multi-lined. + +The code snippet given below explains multiple ways of commenting: ```shell