Skip to content

Instantly share code, notes, and snippets.

@seanbuscay
Last active September 7, 2018 19:31
Show Gist options
  • Save seanbuscay/bd08a19b64fcdd2471c1 to your computer and use it in GitHub Desktop.
Save seanbuscay/bd08a19b64fcdd2471c1 to your computer and use it in GitHub Desktop.

Revisions

  1. seanbuscay revised this gist Jun 10, 2014. 1 changed file with 0 additions and 4 deletions.
    4 changes: 0 additions & 4 deletions gistfile1
    Original file line number Diff line number Diff line change
    @@ -1,4 +0,0 @@
    function firstSentence($string) {
    $sentences = explode(".", $string);
    return $sentences[0];
    }
  2. seanbuscay revised this gist Jun 10, 2014. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions misc.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    function firstSentence($string) {
    $sentences = explode(".", $string);
    return $sentences[0];
    }
  3. seanbuscay created this gist Sep 1, 2013.
    4 changes: 4 additions & 0 deletions gistfile1
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    function firstSentence($string) {
    $sentences = explode(".", $string);
    return $sentences[0];
    }