[GitHub] logging-log4php pull request #14: Replaced the deprecated function split() t...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] logging-log4php pull request #14: Replaced the deprecated function split() t...

nturner
GitHub user alexiskulash opened a pull request:

    https://github.com/apache/logging-log4php/pull/14

    Replaced the deprecated function split() that will be removed in PHP 7.

    Replaced split() with explode() to ensure smooth transition to PHP 7. WordPress is soon updating to PHP 7, and this code is used within the FBIA WordPress plugin making the swap necessary.
   
    For more information, see http://php.net/manual/en/function.split.php

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/alexiskulash/logging-log4php master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/logging-log4php/pull/14.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #14
   
----
commit 2a6235022b44bb944af2bc55a87e6fe0d2684621
Author: alexiskulash <[hidden email]>
Date:   2016-07-08T16:15:05Z

    The function split() is deprecated and will be removed in php 7. Replaced split() with explode() to ensure smooth transition to php 7.
    For more information, see http://php.net/manual/en/function.split.php

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [hidden email] or file a JIRA ticket
with INFRA.
---