fork download
  1. <?php
  2.  
  3. $str = 'Short content with <span>HTML</span>: <img src=\"https://w...content-available-to-author-only...m.bh/cms/2024-04/vox-cover.jpg\"> And there was an image before this!';
  4. echo strip_tags($str);
Success #stdin #stdout 0.02s 25648KB
stdin
Standard input is empty
stdout
Short content with HTML:  And there was an image before this!