PHP print in Basic page
This is working as intended.


  I have a Basic Page with PHP code in it. In this PHP code, I have some "Print".


You should not have any PHP (not "print" or anything else) as part of the content of a node.  Drupal is designed to treat PHP in nodes as text, and will just output it verbatim. Anything else would create a huge security hole in your site.

Just delete those "print" statements, and they will no longer appear.