Magento Expert Forum - Improve your Magento experience

Results 1 to 3 of 3

How will you define a constant in PHP?

  1. #1
    New member
    Join Date
    Jan 2017
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How will you define a constant in PHP?

    To define a constant you have to use define() function and to retrieve the value of a constant, you have to simply specifying its name. Unlike with variables, you do not need to have a constant with a $. If you are a PHP developer.and you searching best job on PHP developing. Then you must need a best resume for your best career. so i have a good suggestion resume writing service reviews is one of the effective solutions to the knowledge about how to write a best resume be professional. This site contains different type of the resume forms, structures and tips, and also helps to give best guidelines about all the resume writing. This is very good and clear one.

    View more threads in the same category:


  2. #2
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    228
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Hi Everyone...

    A constant is an identifier (name) for a simple value. The value cannot be changed during the script. A valid constant name starts with a letter or underscore (no $ sign before the constant name). Note: Unlike variables, constants are automatically global across the entire script.

    Thanks..

  3. #3
    Senior Member
    Join Date
    Aug 2018
    Posts
    107
    Thanks
    1
    Thanked 4 Times in 4 Posts

    Default

    Hi......!
    A constant is an identifier (name) for a simple value. The value cannot be changed during the script. A valid constant name starts with a letter or underscore (no $ sign before the constant name). Note: Unlike variables, constants are automatically global across the entire script.
    Thanks...

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •