Utilizing PHP5

Discussion in 'PHP' started by sowers, Jan 28, 2009.

  1. #1
    I have scripts written for PHP 4. They work fine in a PHP5 environment but I am curious to know what PHP5 has to offer to make scripts faster and more efficient. Does using static methods, adding private public functions, etc help improve the actual performance of the script?
     
    sowers, Jan 28, 2009 IP
  2. InFloW

    InFloW Peon

    Messages:
    1,488
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Object oriented features will be slower than procedural. You make up with that on how much easier it is to manage the program. Now is the performance difference that big? No not really but it's worth noting anyways. If you're already using objects and things like that then having private and publc functions can help make it easier to manage the program.
     
    InFloW, Jan 28, 2009 IP
  3. attila123

    attila123 Active Member

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    For performance use php accelerator. eAccelerator is good one.
     
    attila123, Feb 1, 2009 IP