Skip to content

Critical: rewinddir is completely different function from rewind and definitely not its alias #80

@nekromoff

Description

@nekromoff

fmt.stub.php line 6820:

			'rewind' => 'rewinddir',

rewind

(PHP 4, PHP 5, PHP 7, PHP 8)
rewind — Rewind the position of a file pointer

rewinddir

(PHP 4, PHP 5, PHP 7, PHP 8)
rewinddir — Rewind directory handle

Solution

Needs to be removed from the stub file. Once removed, the replacement does not happen with "AliasToMaster".

Otherwise CRITICAL code breaking happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions