mirror of
https://github.com/php/php-src.git
synced 2026-04-25 17:08:14 +02:00
5bd18e3fdc
- Use INI sections - Use CGI sections - Move data into a subfolder - Remove ZPP tests - Fix various bugs within tests - Simplify some Found while working on #18879
14 lines
204 B
PHP
14 lines
204 B
PHP
--TEST--
|
|
Test function flock on a zlib stream
|
|
--EXTENSIONS--
|
|
zlib
|
|
--FILE--
|
|
<?php
|
|
$f = __DIR__."/data/test.txt.gz";
|
|
$h = gzopen($f,'r');
|
|
var_dump(flock($h, LOCK_EX));
|
|
gzclose($h);
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|