Get Data from Twice Slash

Now, you can get data from twice slash like this:

  • If there link like this http://localhost/post/1

  • Get a slash data

<?php
echo getSlashData("post/1"); // {"before": "post", "after": "1"}
?>

Last updated