Skip to content

Octal values is malformed #31

@adambisek

Description

@adambisek

When I write chmod octal value, leading zero is stripped and an integer returned:

Example code:
fileMode: 0777 -> returns int(777)

In PHP (and eg. Symfony Container as well) is it intepreted as an octal value and converted to integer:
var_dump(0777); // int(511)

I hope this is not intended behaviour, may we solve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions