Description
The following code:
File:chmod(__DIR__, 750, true, true, true);
<?php
Resulted in this output:
ArgumentCountError: chmod() expects exactly 2 arguments, 5 given in /Application/vendor/raxon/framework/src/Cli/Cache/Plugin/Cache.Clear.php:22
But I expected this output instead:
it should be :
so the call was a static call to the class file, but was missing a ':' and because of that it does unwanted behaviour like triggering a different function named chmod
PHP Version
app version
Raxon-framework version: 2026.06.1233, Built: 2026-06-02 09:53:26
Copyright (c) 2018-2026 Remco van der Velde
Installation directory: /Application/
PHP 8.4.21 Copyright (c) The PHP Group
root@a99653007cb0:/Application#
Operating System
Debian Trixie
Description
The following code:
Resulted in this output:
But I expected this output instead:
it should be :
File::chmod()so the call was a static call to the class file, but was missing a ':' and because of that it does unwanted behaviour like triggering a different function named chmod
PHP Version
Operating System
Debian Trixie