Title: PHP 7 code compatibility
Last modified: October 3, 2017

---

# PHP 7 code compatibility

 *  Resolved [pol](https://wordpress.org/support/users/pscolv/)
 * (@pscolv)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-7-code-compatibility/)
 * Hi,
 * I have run a checker plugin for preparing migration towards PHP7, and I got an
   issue with mashare.
 * Hope this helps,
 * Regards,
 * Pascal.
 * FILE: /home/goutu/www/wp-content/plugins/mashsharer/includes/libraries/class-
   bitly-shorturl.php
    ————————————————————————————————————————————————————————–
   FOUND 2 ERRORS AFFECTING 1 LINE ————————————————————————————————————————————————————————–
   61 | ERROR | Indirect access to variables, properties and methods will be evaluated
   strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
   61 | ERROR | Indirect access to variables, properties and methods will be evaluated
   strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.————————————————————————————————————————————————————————–

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Chance Strickland](https://wordpress.org/support/users/chancestrickland/)
 * (@chancestrickland)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php-7-code-compatibility/#post-9685927)
 * Following up on this question, as I’m also preparing to migrate a site that uses
   this plugin. PHP 7 incompatibility is holding me up. I checked this file against
   the library it references here, [https://github.com/Falicon/BitlyPHP/blob/master/bitly.php](https://github.com/Falicon/BitlyPHP/blob/master/bitly.php),
   and I see some variance.
 *  [Rene Hermenau](https://wordpress.org/support/users/renehermi/)
 * (@renehermi)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php-7-code-compatibility/#post-9729947)
 * Hi,
 * this is fixed in current version.
    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP 7 code compatibility’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mashsharer_33bbee.svg)
 * [MashShare - Social Media Share Buttons, Social Share Icons](https://wordpress.org/plugins/mashsharer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mashsharer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mashsharer/)
 * [Active Topics](https://wordpress.org/support/plugin/mashsharer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mashsharer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mashsharer/reviews/)

## Tags

 * [mashare](https://wordpress.org/support/topic-tag/mashare/)
 * [php-7](https://wordpress.org/support/topic-tag/php-7/)

 * 2 replies
 * 3 participants
 * Last reply from: [Rene Hermenau](https://wordpress.org/support/users/renehermi/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/php-7-code-compatibility/#post-9729947)
 * Status: resolved