<?php $str = 'a b c d'; var_dump(json_encode($str)); var_dump(preg_split('/(\r\n|\r|\n)/',$str));
You have javascript disabled. You will not be able to edit any code.