PHP Comments in Hindi

PHP Comments In Hindi – PHP In Hindi

PHP

PHP Comments In HindiPHP In Hindi – PHP Code Main Comments Kaise Likhe Ye Ham Is Post Main Dekhne Wale Hai |

Read Also : PHP Syntax

What Is Comments in Hindi:- Comments Vah Part Hota Hai Jo Program Ke Bich Mai Likha To Jata Hai Par Vah Code Ke Rup Main Execute Nhi Hota Hai Yani Ki Ham Comments Ko Isliye Likhte Hai Taki Ham Bahut Year/Month Ke Bad Bhi Aapne Code Ko Comments Ke Rup Main Understand Kar Sake |

Yadi Aapne  HTML Full Course  And CSS Full Course Nhi Read Kiya Hai To Aap Vah Bhi Read Kar Sakte Hai |

PHP Comments In Hindi

PHP Script Ko Start Karne Se Pahle <?php Or End Main ?> Main Likha Jata Hain Or <?php Ke Under PHP Code Hota Hain ?>

PHP Comments Ko Ham <?php Ke Under Likh Sakte Hai ?>

For Example:

<?php
// This is PHP Comments 
?>

Types Of Comments In PHP In Hindi

PHP 2 Types Ke Comments Ko Support Karta Hain |

  • Single Line Comment
  • Multiple Line Comment

Single Line Comment

Single Line Comment Ka Matlab Hain Ki Ek Line Main Comments Likhna. And Single Line Comment Ko // Or # Ke Duvara PHP Main Define Karte Hai.

Example:

<?php
// This is a single-line comment

# This is also a single-line comment
?>

Single Line Comment

Multiple Line Comment Ka Matlab Hain Ki Ham Comment Ko Multiple Line Main Likh Sakte Hai And Multiple Line Comment Ko Start /* And End */ Se Kiya Jata Hain.

Example:

<?php
/*
This is a multiple-lines comment block
that spans over multiple
lines
*/
?>

Friends Comments Ko Or Jyada Understand Karne Ke Liye Ham Aani Wali Sabhi Post Main Istemal Karne Wale Hai |

Friends Mujhe Umeed Hai Ki Aapko PHP Comments in Hindi Ke Bare Mai 100% Jankari Ho Gayi Hogi | Agar Aapko Learn Karne Main Dikkat Aa Rahi Hai To Aap Mere Se Contact Kar Sakte Hai |

Leave a Reply

Your email address will not be published. Required fields are marked *