Since upgrading to php 5.4, issuing echo commands no longer includes automatic line breaks. In order to get similar behavior, you must now append your own; otherwise, you get the prompt on the same line as your output.
php > echo "some output";
some outputphp >
some outputphp > echo "some output", "\n";
some output
php >
Is there a configuration option to turn them on?