/
vshmidt
/
php
Обзор
Документация
Войти
/
vshmidt
/
php
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
ext/zlib/tests/zlib_scheme_file_basic.phpt
32 строки
574 B
Gina Peter Banyard
ext/zlib: Refactor tests (#18887)
21 июн 2025, 20:03
Не верифицирован
21 июн 2025, 20:03
5bd18e3
Код
Авторство
О чём код?
--TEST-- Test compress.zlib:// scheme with the file --EXTENSIONS-- zlib --FILE-- <?php $inputFileName = __DIR__."/data/test.txt.gz"; $srcFile = "compress.zlib://$inputFileName"; $contents = file($srcFile); var_dump($contents); ?> --EXPECT-- array(6) { [0]=> string(36) "When you're taught through feelings " [1]=> string(26) "Destiny flying high above " [2]=> string(38) "all I know is that you can realize it " [3]=> string(18) "Destiny who cares " [4]=> string(19) "as it turns around " [5]=> string(39) "and I know that it descends down on me " }