Skip to content

Instantly share code, notes, and snippets.

@bm2ilabs
Created August 19, 2019 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bm2ilabs/7efc65e5cb60b9c4689419603aa8620d to your computer and use it in GitHub Desktop.
Save bm2ilabs/7efc65e5cb60b9c4689419603aa8620d to your computer and use it in GitHub Desktop.
explode new line to array
<?php
explode(PHP_EOL, $string);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment