fork(1) download
  1. <?php
  2. $url = 'http://w...content-available-to-author-only...m.br/pastaimagem/logos/imageLogo.jpg';
  3.  
  4. echo 'Com problema: '. json_encode($url) ."\n";
  5. echo 'Sem problema: '. json_encode($url, JSON_UNESCAPED_SLASHES) ."\n";
Success #stdin #stdout 0.02s 24448KB
stdin
Standard input is empty
stdout
Com problema: "http:\/\/www.meusite.com.br\/pastaimagem\/logos\/imageLogo.jpg"
Sem problema: "http://w...content-available-to-author-only...m.br/pastaimagem/logos/imageLogo.jpg"