Files
Gustavo Lopes 78b7a5f63b Add musl-based build environment and Docker CI infrastructure
Add a musl/LLVM Docker build environment for compiling portable Linux
binaries that work on both musl and glibc systems, along with a minimal
PHP Docker image for testing. Add CI workflows to build and publish
these images to ghcr.io. Update test and build scripts to use the new
Docker-based environment, and remove SKIPIF guards from tests since the
extension is always present and doing otherwise would mask extension
loading failures.
2026-03-14 22:31:52 +00:00

29 lines
424 B
PHP

--TEST--
RarArchive has_property gives a fatal error
--FILE--
<?php
$f1 = dirname(__FILE__) . "/latest_winrar.rar";
$a = RarArchive::open($f1);
var_dump(isset($a[0]));
var_dump(!empty($a[0]));
var_dump(isset($a[2]));
var_dump(!empty($a[2]));
var_dump(isset($a["jsdf"]));
var_dump(!empty($a["jlkjlk"]));
echo "\n";
echo "Done.\n";
--EXPECTF--
bool(true)
bool(true)
bool(false)
bool(false)
bool(false)
bool(false)
Done.