<?php array_key_last(array $array): int|string|null
<?php '\{first}' => '{first}', '{first}' => array_key_first(is_array($target) ? $target : collect($target)->all()), '\{last}' => '{last}', '{last}' => array_key_last(is_array($target) ? $target : collect($target)->all()), default => $segment, };
<?php $this->oneOfManySubQuery = $subQuery; } if (array_key_last($columns) == $column) { $this->addOneOfManyJoinSubQuery( $this->query, $subQuery,
<?php $output = (string) $this->dump($data, true); $lines = explode("\n", $output); $lines[array_key_last($lines) - 1] .= $this->getDumpSourceContent(); $this->output->write(implode("\n", $lines));