Doc #80486 [NEW]: Undocumented backward incompatible change between 7.4.8 and 7.4.9

From: Date: Fri, 04 Dec 2020 19:17:06 +0000
Subject: Doc #80486 [NEW]: Undocumented backward incompatible change between 7.4.8 and 7.4.9
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18200@lists.php.net to get a copy of this message
From: php4fan at gmail dot com Operating system: all PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:Undocumented backward incompatible change between 7.4.8 and 7.4.9 Description: ------------ --- From manual page: https://php.net/migration74.incompatible --- Something has changed between 7.4.8 and 7.4.9 that affects passing parameters to a function by eference. Leaving aside the fact that such bc-breaking changes shouldn't be introduced between sub-minor versions (i.e. from x.x.y to x.x.z) to begin with, this change is not documented. I would expect to find it here: https://www.php.net/manual/en/migration74.incompatible.php (given that there is not a section named "migrating from 7.4.8 to 7.4.9) The script below runs without errors or warnings in all versions <= 7.4.8 (including ancient ones), and causes fatal errors starting from 7.4.9 See https://3v4l.org/SMK9U Test script: --------------- <?php function test(&$value) { echo $value; } test(intval(3)); Expected result: ---------------- bc-breaking change should be documented -- Edit bug report at https://bugs.php.net/bug.php?id=80486&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80486&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80486&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80486&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80486&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80486&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80486&r=support Expected behavior: https://bugs.php.net/fix.php?id=80486&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80486&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80486&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80486&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80486&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80486&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80486&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80486&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80486&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80486&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80486&r=mysqlcfg

« previous php.doc.bugs (#18200) next »