Array Keys and Values in PHP
Given an array:
<?php
$arr = ['a' => 1, 'b' => 2, 'c' => 3];
?>
Get the array of keys of this array.
Given an array:
<?php
$arr = ['a' => 1, 'b' => 2, 'c' => 3];
?>
Get the array of values of this array.
Given an array:
<?php
$arr = ['a' => 1, 'b' => 2, 'c' => 3];
?>
Get the array of keys of this array.
Given an array:
<?php
$arr = ['a' => 1, 'b' => 2, 'c' => 3];
?>
Get the array of values of this array.