[php-src] PR #25032: test: Add skipif() helper for SKIPIF sections
| From: | jorgsowa | Date: | Thu, 29 Oct 2026 14:12:48 +0000 |
| Subject: | [php-src] PR #25032: test: Add skipif() helper for SKIPIF sections | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40055@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25032
Author: jorgsowa
Provide
skipif($condition, $reason) via auto_prepend_file as a clearer alternative to
die('skip ...'). Convert a few tests and replace the conflicting local
skipif() helpers in ext/xml and windows_acls tests.
I was also thinking about function name skip_if().
This may resolve some of the confusion I had in the past and other contributors across the years:
- https://github.com/php/php-src/pull/14025
- https://github.com/php/php-src/pull/24776