fork(1) download
  1. <?php
  2.  
  3. $text = '32137hyb8bhbhu837218nhbuhuh&3298j19j2n39';
  4.  
  5. echo substr($text, 0, strrpos($text, '&'));
Success #stdin #stdout 0.01s 52488KB
stdin
Standard input is empty
stdout
32137hyb8bhbhu837218nhbuhuh