PHP 与go 通讯,php和golang通信,双向管道
新建php文件,保存为proc.php$descriptorspec = array(0 => array("pipe", "r"),1 => array("pipe", "w"));//创建双向管道$handle = proc_open('./test_proc',$descriptorspec,$pipes);//写入管道fwrite($pipes['0'], "123\n&