When using on-my-zsh, there are multiple % signs after the php output

When I wrote a command-line gadget in php today, I suddenly found that after the echo output, there would always be multiple %numbers. I thought it was a code problem, and then I created a new code file:

<?php
echo 'hello world';

Output result:

hello world%

Later, I found that as long as I wrap (add \n) myself, this problem will not occur. I used bash to execute the code again, it was completely normal, and then I came to the conclusion that on-my-zsh did not automatically add\n

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325092494&siteId=291194637