Tags
Asked 3 years ago
19 Jul 2021
Views 379
Shemar

Shemar posted

How to use STDOUT in php ?

How to use STDOUT in php
jabber

jabber
answered Jul 19 '21 00:00

by fopen() function , below code will be used for standard output (stdout)



$fp=fopen('php://stdout','w')

fwrite($fp,'hello world');



Post Answer