Skip to:
Content
Pages
Categories
Search
Top
Bottom

PHP 7.0 Compatibility

  • @texiwill

    Participant

    Hello,

    I ran the PHP 7 Compatibility test against bbPress with the following results. Be nice if they could be fixed so I can use bbPress with PHP 7.

    FILE: /usr/share/wordpress/wp-content/plugins/bbpress/includes/admin/converter.php
    ------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------------
     310 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    ------------------------------------------------------------------------------------------------
    
    FILE: /usr/share/wordpress/wp-content/plugins/bbpress/includes/admin/parser.php
    --------------------------------------------------------------------------------------------------------
    FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES
    --------------------------------------------------------------------------------------------------------
      293 | ERROR   | Deprecated PHP4 style constructor are not supported since PHP7
     1149 | ERROR   | preg_replace() - /e modifier is forbidden in PHP 7.0
     1150 | ERROR   | preg_replace() - /e modifier is forbidden in PHP 7.0
     1386 | WARNING | The use of function split is discouraged from PHP version 5.3; use preg_split instead
    --------------------------------------------------------------------------------------------------------

    THank you,
    Edward

Viewing 1 replies (of 1 total)
  • @netweb

    Keymaster

    bbPress compatible with PHP 7 and HHVM

    The warnings you see are from a 3rd party library, these issues would only affect you if you are importing forums from another forum software package.

    You can see our Travis CI PHP 7 tests here: https://travis-ci.org/ntwb/bbPress/jobs/147321446
    (We don’t have 100% code coverage yet but we are progressing nicely)

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar