[php-src] master: Fix bug66338.phpt mangling path containing '.php' sequences

From: Date: Mon, 19 Oct 2026 10:25:27 +0000
Subject: [php-src] master: Fix bug66338.phpt mangling path containing '.php' sequences
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-142438@lists.php.net to get a copy of this message
Author: hakre (hakre) Committer: Jorg Sowa (jorgsowa) Date: 2026-10-19T12:21:54+02:00 Commit: https://github.com/php/php-src/commit/fd3a97d1c83bf3841db3918b9c99af450314cb3a Raw diff: https://github.com/php/php-src/commit/fd3a97d1c83bf3841db3918b9c99af450314cb3a.diff Fix bug66338.phpt mangling path containing '.php' sequences Closes GH-24420 Changed paths: M ext/opcache/tests/bug66338.phpt Diff: diff --git a/ext/opcache/tests/bug66338.phpt b/ext/opcache/tests/bug66338.phpt index 16bed0da0fb6..112a08961753 100644 --- a/ext/opcache/tests/bug66338.phpt +++ b/ext/opcache/tests/bug66338.phpt @@ -8,7 +8,7 @@ opcache server --FILE-- <?php -$root = str_replace('.php', "", __FILE__); +$root = __DIR__ . '/' . basename(__FILE__, '.php'); $base = basename( $root ); file_put_contents( "$root-Officials.inc", '<?php

« previous php.cvs (#142438) next »