fork(1) download
  1. <?php
  2.  
  3. $s = "user-profile/id=3";
  4. echo explode("/", $s)[1];
Success #stdin #stdout 0.01s 52488KB
stdin
Standard input is empty
stdout
id=3