<?php declare(strict_types = 1); class ArrayWalk { public function withObject() { $object = (object)['foo' => 'bar']; array_walk($object, function ($v) { return '_' . $v; }); } } (new ArrayWalk())->withObject();
You have javascript disabled. You will not be able to edit any code.