svn: /pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/Runphpt/ Runner.php

From: Date: Thu, 24 Dec 2009 14:28:38 +0000
Subject: svn: /pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/Runphpt/ Runner.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-58358@lists.php.net to get a copy of this message
dufuz Thu, 24 Dec 2009 14:28:38 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=292597 Log: We don't have any PHP version lower than PHP 5 Changed paths: U pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/Runphpt/Runner.php Modified: pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/Runphpt/Runner.php =================================================================== --- pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/Runphpt/Runner.php 2009-12-24 13:57:21 UTC (rev 292596) +++ pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/Runphpt/Runner.php 2009-12-24 14:28:38 UTC (rev 292597) @@ -65,19 +65,11 @@ function system_with_timeout($commandline, $env = null, $stdin = null) { $data = ''; - if (version_compare(phpversion(), '5.0.0', '<')) { - $proc = proc_open($commandline, array( - 0 => array('pipe', 'r'), - 1 => array('pipe', 'w'), - 2 => array('pipe', 'w') - ), $pipes); - } else { - $proc = proc_open($commandline, array( - 0 => array('pipe', 'r'), - 1 => array('pipe', 'w'), - 2 => array('pipe', 'w') - ), $pipes, null, $env, array('suppress_errors' => true)); - } + $proc = proc_open($commandline, array( + 0 => array('pipe', 'r'), + 1 => array('pipe', 'w'), + 2 => array('pipe', 'w') + ), $pipes, null, $env, array('suppress_errors' => true)); if (!$proc) { return false;

« previous php.pear.cvs (#58358) next »