programmers - php4 or 5 or both???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • georgeyw
    58008 53773
    • Jul 2005
    • 9865

    #1

    programmers - php4 or 5 or both???

    Do you code your scripts for both php4 & 5 or just only 4?

    I'm getting the shits having to code everything twice and am contemplating going 5 only.

    Would like to hear thoughts on doing this?
    TripleXPrint on Megan Fox
    "I would STILL suck her pussy until her face caved in. And then blow her up and do it again!"
  • J.P.
    Confirmed User
    • Jun 2004
    • 689

    #2
    PHP's support for version 4 has been discontinued since 31st of December 2007... Why would you support it still? But then again, I could be wrong :P
    Webmasters! Looking for new affiliate programs to promote?
    Affiliate Program Search <-- Search for programs with FHGs, RSS feed, specific niche sponsors, ...

    Comment

    • Nookster
      Confirmed IT Professional
      • Nov 2005
      • 3744

      #3
      It's not so tough to do both at the same time (meaning make the software compatible with both) depending on what you're doing. What issues are you having and with what?
      The Best Affiliate Software, Ever.

      Comment

      • georgeyw
        58008 53773
        • Jul 2005
        • 9865

        #4
        Originally posted by J.P.
        PHP's support for version 4 has been discontinued since 31st of December 2007... Why would you support it still? But then again, I could be wrong :P
        haha yeah that doesn't mean 4 billion servers aren't still using it

        Originally posted by Nookster
        It's not so tough to do both at the same time (meaning make the software compatible with both) depending on what you're doing. What issues are you having and with what?
        No big issue - parsing xml - php5 is so much better equipped to parse xml.
        TripleXPrint on Megan Fox
        "I would STILL suck her pussy until her face caved in. And then blow her up and do it again!"

        Comment

        • Tube Ace
          So Fucking Banned
          • Nov 2008
          • 4941

          #5
          yup, parsing XML in PHP 5 is a breeze.

          Comment

          • J.P.
            Confirmed User
            • Jun 2004
            • 689

            #6
            Originally posted by georgeyw
            haha yeah that doesn't mean 4 billion servers aren't still using it
            Yep, that's true, sadly I guess it all depends on who you're writing the code for. If you develop scripts targeted to many webmasters to use it, then yes, you should still support PHP4. I know I haven't written a line of code in PHP4 for years now, but I do develop strictly for clients that also host with us, and that means PHP5 is installed on the server
            Webmasters! Looking for new affiliate programs to promote?
            Affiliate Program Search <-- Search for programs with FHGs, RSS feed, specific niche sponsors, ...

            Comment

            • quantum-x
              Confirmed User
              • Feb 2002
              • 6863

              #7
              Originally posted by georgeyw
              haha yeah that doesn't mean 4 billion servers aren't still using it

              No big issue - parsing xml - php5 is so much better equipped to parse xml.
              There's absolutely no reason that I can think of to continue using 4.
              Backwards compatibility has been solid for years now.

              The main advantage of PHP5 and 6 is the growing maturity of its OO + exception + interface frameworks.
              PrettyInCash.com - BoozedGFs.com - TeenGFs.com - JizzGFs.com- MilfUploads.com -

              Comment

              • georgeyw
                58008 53773
                • Jul 2005
                • 9865

                #8
                Originally posted by J.P.
                Yep, that's true, sadly I guess it all depends on who you're writing the code for. If you develop scripts targeted to many webmasters to use it, then yes, you should still support PHP4. I know I haven't written a line of code in PHP4 for years now, but I do develop strictly for clients that also host with us, and that means PHP5 is installed on the server
                There's the problem
                TripleXPrint on Megan Fox
                "I would STILL suck her pussy until her face caved in. And then blow her up and do it again!"

                Comment

                • Klen
                  • Aug 2006
                  • 32235

                  #9
                  I'll go with php 6 :D

                  Comment

                  • V_RocKs
                    Damn Right I Kiss Ass!
                    • Nov 2003
                    • 32449

                    #10
                    Php 5........

                    Comment

                    • who
                      So Fucking Banned
                      • Aug 2003
                      • 19593

                      #11
                      Php 5 - always.

                      Comment

                      • k0nr4d
                        Confirmed User
                        • Aug 2006
                        • 9231

                        #12
                        always php 5...
                        Mechanical Bunny Media
                        Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

                        Comment

                        • CaptainHowdy
                          Too lazy to set a custom title
                          • Dec 2004
                          • 94733

                          #13
                          Originally posted by k0nr4d
                          always php 5...
                          Thread closed...

                          Comment

                          Working...