The problem that the output of php under the command line is handled by sh

I wrote a cli Mini Program in php. I was ready to make a startup screen (character drawing) for him on a whim, but I encountered the problem that the output character painting was handled by sh!
as shown below

09.40.06sh !!!!?




Php
Mar.02,2021

this is caused by the use of the ``symbol to assign multiple-line strings to the $logo variable. In bash, statements wrapped in the ``symbol are executed as commands. And you will eventually output to shell, of course, you have to follow this rule.
there are three solutions:

  1. assign a value to the $logo variable without ``. Of course it's too troublesome.
  2. change the statement for printing from echo to print.
  3. when assigning a value to the $logo variable, add content from beginning to end to make it an available bash command. As follows:
  document  
`is the command executor

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a24c-2c1e3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a24c-2c1e3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?