Bug #76893 [Com]: Typos in ".inc" files in "ext/spl/internal"

From: Date: Mon, 17 Sep 2018 00:49:15 +0000
Subject: Bug #76893 [Com]: Typos in ".inc" files in "ext/spl/internal"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217085@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76893&edit=1 ID: 76893 Comment by: ejrx7753 at gmail dot com Reported by: ejrx7753 at gmail dot com Summary: Typos in ".inc" files in "ext/spl/internal" Status: Open Type: Bug Package: SPL related Operating System: any PHP Version: 7.2.10 Block user comment: N Private report: N New Comment: Additionally, "spl/internal/cachingiterator.inc" CachingIterator::__construct uses two class constants not defined: self::CIT_TOSTRING_USE_KEY and self::CIT_TOSTRING_USE_CURRENT. Previous Comments: ------------------------------------------------------------------------ [2018-09-17 00:30:36] ejrx7753 at gmail dot com Description: ------------ Just to be clear, this is a cosmetic issue with no demonstrated harm, but there are some apparent typos in "ext/spl/internal/splobjectstorage.inc" and "ext/spl/internal/recursivecachingiterator.inc". Typos are of a few categories: - misnamed methods - extra colons - missing colons I'm not sure what these files are used for exactly, but I ran them as PHP and all of them parse file except for these 4-line exceptions. I'm sure whatever build process if any uses these .inc does not care about theses issues, but these are clearly PHP code files. Details: splobjectstorage.inc --- offsetEsists should be "offsetExists" --- missing commas at end of "current" and "getInfo" recursivecachingiterator.inc "function rewind();" is not abstract, but has a colon Git links: https://github.com/php/php-src/blob/PHP- 7.3/ext/spl/internal/splobjectstorage.inc https://github.com/php/php-src/blob/PHP-7.3/ext/spl/internal/recursivecachingiterator.inc Test script: --------------- n/a Expected result: ---------------- n/a Actual result: -------------- n/a ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76893&edit=1

« previous php.bugs (#217085) next »