#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Posts
    9
    Rep Power
    0

    Is PHP script different from PHP code?


    Hi,

    I am new to PHP. Now I am confused of the concept of PHP script and PHP code. Are they refer to the same thing? Is there any difference between.
  2. #2
  3. --
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2012
    Posts
    3,959
    Rep Power
    1014
    Hi,

    PHP code is a bunch of PHP statements. A script is an executable PHP file (consisting of code).
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2012
    Location
    USA
    Posts
    33
    Rep Power
    0
    Different pairs of opening and closing tags which can be used in PHP. Two of those, <?php ?>
    And Script looks like, <script language="php"> </script> which is always there.
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Posts
    11
    Rep Power
    0

    PHP development


    A typical programming high level language will be processed by a compiler to turn it into directly executable code. A scripting language will generally be interpreted line by line in text form to carry out the scripted operations.

IMN logo majestic logo threadwatch logo seochat tools logo