Title: PHP 7 Compatibility
Last modified: July 10, 2017

---

# PHP 7 Compatibility

 *  Resolved [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/php-7-compatibility-168/)
 * I ran the PHP Compatibility Checker plugin [https://wordpress.org/plugins/php-compatibility-checker/](https://wordpress.org/plugins/php-compatibility-checker/)
   
   checking for PHP 7 compatibility and got this result for this plugin:
 *     ```
       FILE: wp-content/plugins/yourchannel/templates/templates.php
       ------------------------------------------------------------------------------------
       FOUND 0 ERRORS AND 58 WARNINGS AFFECTING 57 LINES
       ------------------------------------------------------------------------------------
         49 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= meta.apikey %>" class="...
         58 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= meta.user %>" class="wp...
         61 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= meta.channel %>" class=...
         73 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= meta.cache %>" name="ca...
         81 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- style.uploads ? 'checke...
         85 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- style.playlists ? 'chec...
         89 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- style.banner ? 'checked...
        100 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%
        104 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= theme %>">
        105 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= titles[theme] %></div>
        110 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% var styles =
        112 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= style[0] %>" <%- th.sty...
        113 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%	}); %>
        121 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= t %>]" value="small" cl...
        125 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= t %>]" value="large" cl...
        133 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= t %>]" value="none" cla...
        137 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= t %>]" value="open" cla...
        141 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= t %>]" value="adjacent"...
        145 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= t %>]" value="closed" c...
        154 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- th.desc ? 'checked' : '...
        160 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= th.carousel.thumbs %>" ...
        163 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= th.carousel.thumbs_to_s...
        166 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= th.carousel.spacing %>"...
        170 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% var cn = th.carousel_nav...
        174 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% [['__sides', '
        175 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- cn.modifier === st[0] ?...
        176 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% }); %>
        181 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% [['left-none', '
        182 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- cn.position === st[0] ?...
        183 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% }); %>
        188 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% [['prepend', '
        189 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- cn.location === st[0] ?...
        190 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% }); %>
        197 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% t++; } %>
        203 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- style.thumb_image_size ...
        207 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- style.thumb_image_size ...
        216 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- style.play_icon === 'al...
        220 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- style.play_icon === 'ho...
        224 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- style.play_icon === '' ...
        233 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- parseInt(style.player_m...
        237 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- (parseInt(style.player_...
        241 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- parseInt(style.player_m...
        245 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- (parseInt(style.player_...
        254 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- style.truncate ? 'check...
        266 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%- meta.onlyonce ? 'checke...
        273 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% if(meta.key !== 'nw'){ %...
        276 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% } %>
        284 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= meta.key %>" class="pbc...
        285 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= meta.user %></span></td...
        286 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= meta.channel %></span><...
        287 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= meta.user %>"<%- meta.t...
        289 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= meta.key %>">
        290 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= meta.key %>">
        291 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% if(YC.is_pro){ %> <a cla...
        291 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% } %>
        300 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% for(var t in terms){ %>
        302 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <%= YC.lang.form_labels[t] ...
        304 | WARNING | Possible use of ASP style opening tags detected. ASP style opening tags have been removed in PHP 7.0. Found: <% } %>
       ------------------------------------------------------------------------------------
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [plugin.builders](https://wordpress.org/support/users/pluginbuilders/)
 * (@pluginbuilders)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/php-7-compatibility-168/#post-9314298)
 * Hi, ASP tags were disabled by default in PHP 5x version. YourChannel uses those
   tags inside `<script>` tags for JS templates, they’re not in PHP code.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/yourchannel/assets/icon-256x256.png?rev=1106592)
 * [YourChannel: Everything you want in a YouTube plugin.](https://wordpress.org/plugins/yourchannel/)
 * [Support Threads](https://wordpress.org/support/plugin/yourchannel/)
 * [Active Topics](https://wordpress.org/support/plugin/yourchannel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yourchannel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yourchannel/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [plugin.builders](https://wordpress.org/support/users/pluginbuilders/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/php-7-compatibility-168/#post-9314298)
 * Status: resolved