[DOC-CVS] [doc-base] master: Remove confusing run numbers (#286)
[email protected] (Kamil Tekiela via GitHub) Thu, 23 Apr 2026 20:22:59 +0000
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Kamil Tekiela (kamil-tekiela)
Committer: GitHub (web-flow)
Pusher: kamil-tekiela
Date: 2026-04-23T21:22:56+01:00
Commit: https://github.com/php/doc-base/commit/d40394454e23aef6ddcfd649dd0b8d62431fdaf4
Raw diff: https://github.com/php/doc-base/commit/d40394454e23aef6ddcfd649dd0b8d62431fdaf4.diff
Remove confusing run numbers (#286)
Changed paths:
M configure.php
Diff:
diff --git a/configure.php b/configure.php
index 6e11b0ef55..762a0ca966 100755
--- a/configure.php
+++ b/configure.php
@@ -667,9 +667,8 @@ function dom_saveload( DOMDocument $dom , string $filename = "" ) : string
if ( dom_load( $dom , "{$ac['srcdir']}/{$ac["INPUT_FILENAME"]}" ) )
{
- echo "1 ";
dom_saveload( $dom ); // correct file/line/column on error messages
- echo "2 done.\n";
+ echo " done.\n";
}
else
{
@@ -711,11 +710,12 @@ function individual_xml_broken_check()
function xinclude_run_byid( DOMDocument $dom )
{
+ // libxml does not implements the XInclude 1.1 spec,
+ // so we need to simulate its *recursive* nature here.
$total = 0;
$maxrun = 10; //LIBXML_VERSION >= 21100 ? 1 : 10;
for( $run = 0 ; $run < $maxrun ; $run++ )
{
- echo "$run ";
$xpath = new DOMXPath( $dom );
$xpath->registerNamespace( "xi" , "http://www.w3.org/2001/XInclude" );
$xincludes = $xpath->query( "//xi:include" );
@@ -767,7 +767,6 @@ function xinclude_run_xpointer( DOMDocument $dom ) : int
$total = 0;
for( $run = 0 ; $run < 10 ; $run++ )
{
- echo "$run ";
libxml_clear_errors();
$was = count( xinclude_residual_list( $dom ) );