3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo str_replace('class="','class="grid__cell nav-category-grid', 'class="level0 nav-2"');
based on ECfIg
Output for 4.3.0 - 7.1.0
class="grid__cell nav-category-gridlevel0 nav-2"