PHP  
 PHP_7_2
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Skip Report for ext/standard/tests/file/bug69442.phpt

Script

<?php

$code 
= <<< 'EOC'
    <?php
    $descriptors = array(array("pty"), array("pty"), array("pty"), array("pipe", "w"));
    $pipes = array();
    $process = proc_open('echo "foo";', $descriptors, $pipes);
EOC;

    
$tmpFile tempnam(sys_get_temp_dir(), "bug69442");
    
file_put_contents($tmpFile$code);

    
exec($_SERVER['TEST_PHP_EXECUTABLE']." -d display_errors=1 -d error_reporting=E_ALL ".$tmpFile." 2>&1"$output);
    
$output join("\n"$output);
    
unlink($tmpFile);

    if (
strstr($output"pty pseudo terminal not supported on this system") !== false) {
        die(
"skip PTY pseudo terminals are not supported");
    }

Reason

PTY pseudo terminals are not supported

 

Generated at Sat, 09 Dec 2017 10:21:20 +0000 (3 days ago)

Copyright © 2005-2017 The PHP Group
All rights reserved.