<?php $str = 'Eli\ is\ beautiful Fran\ is\ ugly Oso\ is\ nice';$params = preg_split('/(?<!\\\\) /', $str); var_dump($params);
Standard input is empty
array(3) { [0]=> string(18) "Eli\ is\ beautiful" [1]=> string(14) "Fran\ is\ ugly" [2]=> string(13) "Oso\ is\ nice" }
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!