Jump to content

Recommended Posts

Is Standard PHP Library is part of PHP 5.2.11 version? Or Do I have to download the SPL from some URL?

 

From the manual

Note: As of PHP 5.3.0 this extension can no longer be disabled and is therefore always available.

 

Please note that I have posted the same message in the "Other Scripts" forum too.

 

Removed. Not only is it against our TOS to double post, the Other Scripts board (whch doesn't actually exist) would be completely unrelated to your question.

The SPL was added in PHP 5 (strictly 5.0.0 beta 4) and has been continuously improved upon since that point with new changes coming in the latest versions of PHP.  If you browse to the manual page for a particular method of an SPL class, the version where it was introduced is printed at the top of the page.

 

For example, for IteratorIterator::current:

2jVq

 

As thorpe quoted, as of PHP 5.3.0 the SPL extension cannot be disabled. Before that point, there is no guarantee that it will be enabled (but in my experience it is not common to disable it).

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.