Skip to content

Instantly share code, notes, and snippets.

@ilyasozkurt
Created February 15, 2023 19:58
Show Gist options
  • Save ilyasozkurt/299a182ef865b0c1a877926095de79ec to your computer and use it in GitHub Desktop.
Save ilyasozkurt/299a182ef865b0c1a877926095de79ec to your computer and use it in GitHub Desktop.
<?php
$str = "Thisisaphpstring";
$output = chunk_split($str, 4, ' ');
echo $output;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment