-
- Notifications
You must be signed in to change notification settings - Fork 36
Closed
Description
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
Labels
No labels