PHP 5 Released

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • merk
    Senior Member
    • Jul 2001
    • 4149

    #16
    I must say i am very impressed with some of the PHP5 stuff, though i cant see that much use of the new features for my coding needs

    Comment

    • Colin F
      Senior Member
      • May 2004
      • 17689

      #17
      Thanks filburt1, now I understood it.

      chrispadfield destroyed all that joy, but oh well
      Best Regards
      Colin Frei

      Please don't contact me per PM.

      Comment

      • filburt1
        Senior Member
        • Feb 2002
        • 6606

        #18
        Originally posted by chrispadfield
        Filburt, thats only for OOP; not functional code; and vb dosen't use much OOP; in PHP 5, that code would still print 12, in both PHP4 and PHP5 you would need:

        function foo(&$bar) {

        to make it print 13.
        I suppose it works like Java, then, in that primitives (and strings) are still immutable.
        --filburt1, vBulletin.org/vBulletinTemplates.com moderator
        Web Design Forums.net: vB Board of the Month
        vBulletin Mail System (vBMS): webmail for your forum users

        Comment

        • jamslam
          Senior Member
          • Mar 2003
          • 293
          • 3.0.7

          #19
          Yea... I am truly excited for PHP5's OOP... Supposedly it is a lot like java, and I love java's structure and organization... Sure it's a little picky, but I think it's a real advantage once you get used to it.
          http://www.webtrickscentral.com/images/wtcsig.jpg

          Comment

          • chrispadfield
            Senior Member
            • Aug 2000
            • 5366

            #20
            Originally posted by Colin F
            Thanks filburt1, now I understood it.

            chrispadfield destroyed all that joy, but oh well
            http://www.phppatterns.com/index.php...leview/23/1/2/ should help you out
            Christopher Padfield
            Web Based Helpdesk
            DeskPRO v3.0.3 Released - Download Demo Now!

            Comment

            • Dean C
              Senior Member
              • Mar 2002
              • 4571
              • 3.5.x

              #21
              @chris - That is a great article, phppatterns is a great resource for those wishing to take their knowledge in PHP that little bit further
              Dean Clatworthy - Web Developer/Designer

              Comment

              • Colin F
                Senior Member
                • May 2004
                • 17689

                #22
                I'm all into getting image manipulation to work at the moment, but I'll have a look at that, thanks!


                [edit]hmmm... I think that's still above my level of knowledge... I don't code in classes...
                Last edited by Colin F; Wed 14 Jul '04, 4:54pm.
                Best Regards
                Colin Frei

                Please don't contact me per PM.

                Comment

                • Ksilebo
                  Senior Member
                  • May 2001
                  • 848
                  • 3.0.1

                  #23
                  I was just curious if it worked, didn't want to agitate people

                  http://i.ksilebo.com/ksicom_button.png
                  http://i.ksilebo.com/simpli_button.png

                  Comment

                  • Olate
                    Member
                    • Jan 2004
                    • 61
                    • 3.0.0 Release Candidate 3

                    #24
                    Originally posted by Ksilebo
                    I was just curious if it worked, didn't want to agitate people
                    I installed PHP5 onto my dedicated server yesterday evening. I first upgraded from PHP4.3.6 to 4.3.8 and backed-up my php.ini and httpd.conf files. I had to install libxml2 from source as it is required by PHP5, but apart from that I had no problems. It is just a case of copying your ./configure line from your phpinfo() output and appending --with-mysql to ensure you can use MySQL. Then make and make install and everything is done for you. All that is left is to comment out the PHP4 module loading in httpd.conf and restart Apache!

                    Everything on my site seems to be working without any problems at all - my custom CMS, vBulletin, my mailing list system, phpBB (forum template styles demo).

                    And I have noticed a speed increase I'm now looking forward to tweaking it and trying out the new features...particularly MySQli.

                    Comment

                    • MrNase
                      Senior Member
                      • Jun 2003
                      • 3575
                      • 3.8.x

                      #25
                      I'll try out PHP 5 on an old 1000mhz pc which is on my loft.

                      For now iam reading http://www.php.net/manual/en/migration5.php which ist kind of interesting in my eyes
                      That's the end of that!

                      Comment

                      • Floris
                        Senior Member
                        • Dec 2001
                        • 37767

                        #26
                        Originally posted by Dean C
                        @chris - That is a great article, phppatterns is a great resource for those wishing to take their knowledge in PHP that little bit further
                        Definitly. A nice article and thank you for pointing it out

                        Comment

                        • jamslam
                          Senior Member
                          • Mar 2003
                          • 293
                          • 3.0.7

                          #27
                          Has anyone looked into SQLite? It's truly a wonderful addon to PHP in my opinion. Extremely versatile, and great for smaller applications that people want to be able to use without the extra process of setting up a database.
                          http://www.webtrickscentral.com/images/wtcsig.jpg

                          Comment

                          • Olate
                            Member
                            • Jan 2004
                            • 61
                            • 3.0.0 Release Candidate 3

                            #28
                            Originally posted by jamslam
                            Has anyone looked into SQLite? It's truly a wonderful addon to PHP in my opinion. Extremely versatile, and great for smaller applications that people want to be able to use without the extra process of setting up a database.
                            Seems like a waste of space to me - I wouldn't use it at all because it cannot match MySQL. But I suppose it could be useful for small apps...although MySQL could do the job better.

                            Comment

                            • merk
                              Senior Member
                              • Jul 2001
                              • 4149

                              #29
                              Originally posted by Olate
                              Seems like a waste of space to me - I wouldn't use it at all because it cannot match MySQL. But I suppose it could be useful for small apps...although MySQL could do the job better.
                              Even when mysql is unavailable or the overhead of running a seperate daemon is not needed?

                              MySQL is useful for alot of things, but not for a small application that doesnt need a full blown engine. MySQL couldnt do a better job at using less memory, cpu and disk space

                              Comment

                              • nVaux
                                Member
                                • Jun 2004
                                • 69
                                • 2.3.5

                                #30
                                Ive been running vbulletin 3.x since PHP 5 beta's and I havent really found any problems, board seems to run fine.
                                http://www.bitmonkeys.com - Visit us

                                - nVaux

                                Comment

                                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                                Working...