Merge branch 'PHP-7.4'

This commit is contained in:
Nikita Popov 2019-04-10 13:39:59 +02:00
commit 4e6a33dc2b
4 changed files with 5 additions and 4 deletions

View File

@ -8,7 +8,7 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
$thisTestDir = 'gzfile_variation15.dir';
$testName = 'gzfile_variation15';
require_once('reading_include_path.inc');
//define the files to go into these directories, create one in dir2

View File

@ -16,7 +16,7 @@ if (!extension_loaded("zlib")) {
echo "*** Testing gzopen() : usage variation ***\n";
$thisTestDir = 'gzopen_variation4.dir';
$testName = 'gzopen_variation4';
require_once('reading_include_path.inc');
//define the files to go into these directories, create one in dir2

View File

@ -8,7 +8,7 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
$thisTestDir = 'readgzfile_variation15.dir';
$testName = 'readgzfile_variation15';
require_once('reading_include_path.inc');
//define the files to go into these directories, create one in dir2

View File

@ -1,10 +1,11 @@
<?php
$thisTestDir = $testName . '.dir';
mkdir($thisTestDir);
chdir($thisTestDir);
//create the include directory structure
$workingDir = "workdir";
$filename = "afile.txt.gz";
$filename = $testName . ".txt.gz";
$scriptDir = dirname(__FILE__);
$baseDir = getcwd();
$secondFile = $baseDir."/dir2/".$filename;