array_walk

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Apply a user supplied function to every member of an array
<?php array_walk(array|object &$array, callable $callback, mixed $arg = null): bool
<?php     public function reset()

    {

        array_walk($this->names, [$this, 'resetTag']);

    }
<?php     public function flush()

    {

        array_walk($this->names, [$this, 'flushTag']);

    }
<?php         $this->fireAppCallbacks($this->bootingCallbacks);



        array_walk($this->serviceProviders, function ($p) {

            $this->bootProvider($p);

        });



        $this->booted = true;
<?php                 };

            }



            array_walk($array, $transform);

            asort($array);

            array_walk($array, $restore);

        };
<?php             array_walk($array, $transform);

            asort($array);

            array_walk($array, $restore);

        };



        $stable_sort($weightList);