PHP output to console?

Discussion about the open-source Phalanger [?] project.

PHP output to console?

Postby noname0x100 » March 28th, 2012, 11:58 am

Hello, how can i do output from php library to my application console? Likes echo.. or print...
noname0x100
 
Posts: 13
Joined: March 17th, 2012, 12:37 pm

Re: PHP output to console?

Postby Jakub Misek » March 30th, 2012, 12:39 am

Hi, are you calling your PHP library from C# code?

In such case, just change PHP.Core.ScriptContext.CurrentContext.Output and OutputStream to whatever you want.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 13 guests

User Control Panel

Login

Who is online

In total there are 13 users online :: 0 registered, 0 hidden and 13 guests (based on users active over the past 5 minutes)
Most users ever online was 787 on May 12th, 2024, 11:50 am

Users browsing this forum: No registered users and 13 guests