NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Where to see what echo outputs in CLI mode


Joined: 19 Mar 2010
Posts: 3
Reply with quote
I am simply running/debugging a simple php file with some echo commands in CLI mode inside PhpED (with the green "play" buttons). Where can I see, what actually is echoed?

Thanks in advance for help!
- badera
View user's profileFind all posts by baderaSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
You should be able to see your echoes in the PhpED Output tab (View > Debug Windows > Output).

If the PHP has output buffering enabled, you may not see the output immediately. You can change the PHP configuration and/or use the ob_ statements to control that.

I would imagine that most CLI code would not have output buffering enabled.
View user's profileFind all posts by plugnplaySend private message


Joined: 19 Mar 2010
Posts: 3
Reply with quote
Dear plugnplay

It is exactly what I was looking for! Thank you!
- badera
View user's profileFind all posts by baderaSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Tools->Settings->Run & Debug settings->CLI mode, output targe
You may want to select External Window here

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Where to see what echo outputs in CLI mode
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic