takeme2web Posted February 9, 2010 Share Posted February 9, 2010 All, Is Standard PHP Library is part of PHP 5.2.11 version? Or Do I have to download the SPL from some URL? Please let me know. Please note that I have posted the same message in the "Other Scripts" forum too. Thanks Takeme2web-Bala Quote Link to comment https://forums.phpfreaks.com/topic/191559-is-spl-part-of-php-5211/ Share on other sites More sharing options...
trq Posted February 10, 2010 Share Posted February 10, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/191559-is-spl-part-of-php-5211/#findComment-1009800 Share on other sites More sharing options...
salathe Posted February 10, 2010 Share Posted February 10, 2010 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: 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). Quote Link to comment https://forums.phpfreaks.com/topic/191559-is-spl-part-of-php-5211/#findComment-1009955 Share on other sites More sharing options...
Mchl Posted February 10, 2010 Share Posted February 10, 2010 echo extension_loaded('spl'); Quote Link to comment https://forums.phpfreaks.com/topic/191559-is-spl-part-of-php-5211/#findComment-1009960 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.