Slashdot Mirror


PHP 4.3.0 Released

aftk2 writes "PHP.Net has just reported the release of PHP 4.3.0. The update sports a unified method of handling files and sockets, a bundled GD library (for working with images), and finalizes PHP's command line interface. For other information, check out the ChangeLog."

3 of 231 comments (clear)

  1. In a related note.... by Davorama · · Score: 5, Informative
    ...this just came in to my inbox. PEAR at version 1.0. Good job folks!
    The new PEAR package PEAR-1.0 (stable) has been released at http://pear.php.net/.

    Release notes
    -------------
    * set default cache_ttl to 1 hour
    * added "clear-cache" command

    Package Info
    -------------
    The PEAR package contains:
    * the PEAR base class
    * the PEAR_Error error handling mechanism
    * the PEAR installer, for creating, distributing
    and installing packages

    Related Links
    -------------
    Package home: http://pear.php.net/package-info.php?package=PEAR
    Changelog: http://pear.php.net/package-changelog.php?package= PEAR
    Download: http://pear.php.net/get/PEAR-1.0.tgz

    Authors
    - ------------
    Stig Bakken <ssb@fast.no> (lead)
    Thomas V.V.Cox <cox@idecnet.com> (developer)
    Martin Jansen <mj@php.net> (helper)
    --

    Davo -- Free speech, free software, AND free beer.

  2. consider running an opcode cache by Kunta+Kinte · · Score: 4, Informative
    Most server side scripting engines nowadays employ opcode caching. Code is compiled the first time executed, but run from memory the rest of the time.

    This is different from HTML output caching.

    Opcode caching is said to increase performance by 30-200% depending on the cache code you use and your app.

    With about 30% of apache installs running PHP, and with more than 50% of the web running apache, I'm surprise the PHP does not include an opcode cache with the install.

    That's a lot of wasted cpu cycles :) Just compiling PHP scripts on every page hit.

    There are open source caches out there, see the link in my sig.

    --
    Based on upvotes, Ageism is the only "-ism" Slashdotters care about and think isn't SJW
  3. Re:Most needed feature for newbies...... by caluml · · Score: 5, Informative

    I can't believe you're saying this.
    The PHP docs are brilliant.
    You just type in the function name, and there are enough examples to get you running until you actually start understanding the language.

    I learnt PHP purely from www.uk.php.net, and I have always found the Java and Perl docs to have too much stuff in them.

    The PHP docs are like this:
    mysql_connect ([hostname],[username],[password]) Returns true if successful.
    What more do you need to know? What goes into a function, what comes out.

    I'm genuinely not trolling here, I'm just surprised that anyone could moan about the PHP docs.