fork(2) download
  1. <?php
  2.  
  3.  
  4. $url = urlencode( 'Casamento Joao + Maria | Ensaio' );
  5.  
  6. $url = str_replace( '%7C', '|', $url );
  7. $url = str_replace( '+', '-', $url );
  8. $url = str_replace( '%2B', '+', $url );
  9.  
  10. echo $url;
  11.  
  12.  
Success #stdin #stdout 0.02s 52472KB
stdin
Standard input is empty
stdout
Casamento-Joao-+-Maria-|-Ensaio