From: tiffany
Operating system: Windows 10
PHP version: 8.0.8
Package: Doc Build problem
Bug Type: Bug
Bug description:Rendering docs with fresh clones results in a bunch of SQLite errors on 8
Description:
------------
I believe this issue only occurs when attempting to render the docs on
PHP 8 on Windows 10, as the docs render fine on 7.4.0. I've tried with
PHP 8.0.0 and PHP 8.0.8.
I've freshly cloned doc-en, doc-base and phd locally.
Following the instructions from
http://doc.php.net/tutorial/local-setup.php,
when I attempt to run `php
/tmp/phd/render.php --docbook /tmp/git/doc-en/doc-base/.manual.xml
--package PHP --format php`, I receive dozens or hundreds of SQLite
errors:
phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context)
must be
passed by reference, value given
[19:50:15 - E_WARNING ]
D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context)
must be
passed by reference, value given
[19:50:15 - E_WARNING ]
D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context)
must be
passed by reference, value given
[19:50:15 - E_WARNING ]
D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context)
must be
passed by reference, value given
[19:50:15 - E_WARNING ]
D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context)
must be
passed by reference, value given
[19:50:15 - E_WARNING ]
D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context)
must be
passed by reference, value given
[19:50:15 - E_WARNING ]
D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context)
must be
passed by reference, value given
[19:50:15 - E_WARNING ]
D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context)
must be
passed by reference, value given
[19:50:15 - E_WARNING ]
D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context)
must be
passed by reference, value given
[19:50:15 - E_WARNING ]
D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context)
must be
passed by reference, value given
[19:50:15 - E_WARNING ]
D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context)
must be
passed by reference, value given
[19:50:15 - E_WARNING ]
D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context)
must be
passed by reference, value given
[19:50:15 - E_WARNING ]
D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context)
must be
passed by reference, value given
[19:50:15 - E_WARNING ]
D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context)
must be
passed by reference, value given
--
Edit bug report at https://bugs.php.net/bug.php?id=81221&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81221&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81221&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81221&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81221&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81221&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81221&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81221&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81221&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81221&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81221&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81221&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81221&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81221&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81221&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81221&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81221&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81221&r=mysqlcfg