Page MenuHomePhabricator
Paste P955

debug.php
ActivePublic

Authored by epriestley on Oct 21 2013, 6:48 PM.
Tags
None
Referenced Files
F73079: debug.php
Oct 21 2013, 6:48 PM
Subscribers
None
<?php
$spec = array(
0 => array('pipe', 'r'),
1 => array('pipe', 'w'),
2 => array('pipe', 'w'),
);
$pipes = array();
$proc = proc_open('ls', $spec, $pipes);
var_dump($proc);
var_dump(proc_get_status($proc));
var_dump(proc_close($proc));
var_dump(proc_get_status($proc));

Event Timeline

epriestley changed the title of this paste from untitled to debug.php.
epriestley updated the paste's language from autodetect to autodetect.
epriestley changed the visibility from "All Users" to "Public (No Login Required)".