- --set-timeout <n> sets the timeout in seconds for the call to stream_select() during system_with_timeout()
- -x sets an environmental variable, SKIP_SLOW_TESTS, which can be checked for during a SKIPIF clause
#!/usr/bin/php
<?php
+putenv('TEST_PHP_EXECUTABLE=C:/sandbox/php5/Debug_TS/php.exe');
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
function save_text($filename, $text, $filename_copy = null)
{
global $DETAILED;
-
+file_put_contents('steph.test.again.php', $text);
if ($filename_copy && $filename_copy != $filename) {
if (@file_put_contents($filename_copy, $text) === false) {
error("Cannot open file '" . $filename_copy . "' (save_text)");