<?php $text= "asdsaasdassadas"; preg_match_all("|.+|",$text,$matches);print_r($matches);
Standard input is empty
Array ( [0] => Array ( [0] => asdsa [1] => asdas [2] => sadas ) )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!