Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: BASIC for web programming?  (Read 7461 times)

0 Members and 1 Guest are viewing this topic.

ghostdog74



    Specialist

    Thanked: 27
    Re: BASIC for web programming?
    « Reply #15 on: March 18, 2009, 05:59:35 PM »

    PHP cannot be a programming language, since it is interpreted by the server at run-time.
    PHP, like Python or Perl, can be used to run PHP scripts, not necessary in a web environment. PHP provides basic programming constructs, data types such as arrays, loops, flow control much like any others. therefore its also a programming language.
    Code: [Select]
    # php5 -r 'echo "hello world\n";'
    hello world


    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: BASIC for web programming?
    « Reply #16 on: March 19, 2009, 08:51:27 AM »
    PHP, like Python or Perl, can be used to run PHP scripts, not necessary in a web environment. PHP provides basic programming constructs, data types such as arrays, loops, flow control much like any others. therefore its also a programming language.
    Code: [Select]
    # php5 -r 'echo "hello world\n";'
    hello world



    I know! I was being sarcastic, silly  :)

    if VBScript wasn't a programming language, as some here claim, then PHP couldn't be either  :P
    I was trying to dereference Null Pointers before it was cool.

    ghostdog74



      Specialist

      Thanked: 27
      Re: BASIC for web programming?
      « Reply #17 on: March 19, 2009, 10:38:13 AM »
      I know! I was being sarcastic, silly  :)
      oh...i see. :)