downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/book.expect.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/refs.fileprocess.process.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'book.expect.php',
   
1 => 'Expect',
  ),
 
'up' =>
  array (
   
0 => 'refs.fileprocess.process.php',
   
1 => 'Process Control Extensions',
  ),
 
'prev' =>
  array (
   
0 => 'function.system.php',
   
1 => 'system',
  ),
 
'next' =>
  array (
   
0 => 'intro.expect.php',
   
1 => 'Introduction',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div>
 <h1 class="title">Expect</h1>
 
 
 
 
 
 







 





 







 


 





<ul class="chunklist chunklist_book"><li><a href="intro.expect.php">Introduction</a></li><li><a href="expect.setup.php">Installing/Configuring</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="expect.requirements.php">Requirements</a></li><li><a href="expect.installation.php">Installation</a></li><li><a href="expect.configuration.php">Runtime Configuration</a></li><li><a href="expect.resources.php">Resource Types</a></li></ul></li><li><a href="expect.constants.php">Predefined Constants</a></li><li><a href="expect.examples.php">Examples</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="expect.examples-usage.php">Expect Usage Examples</a></li></ul></li><li><a href="ref.expect.php">Expect Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.expect-expectl.php">expect_expectl</a> — Waits until the output from a process matches one
  of the patterns, a specified time period has passed, or an EOF is seen</li><li><a href="function.expect-popen.php">expect_popen</a> — Execute command via Bourne shell, and open the PTY stream to
  the process</li></ul></li></ul></div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites