Jonghwan Hyeon
Jonghwan Hyeon

Reputation: 77

How can i redirect console output in real-time on PHP?

How can i redirect console output in real-time on PHP?

When i use ob_start() function, it stores outputs in buffer, and calling ob_end_flush() the stored outputs are out.

But.. i want to redirect outputs in real-time..

Please help me

Upvotes: 0

Views: 729

Answers (1)

deceze
deceze

Reputation: 522470

Sounds like you're looking for passthru without any output buffering.

Upvotes: 1

Related Questions