PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $arr = [ 'title' => 'Title', 'description' => 'Описание', 'date' => '12.02.2024' ]; $arr2 = array_values($arr); [$last, $prelast] = [array_pop($arr), array_pop($arr)]; print_r($last); echo "\n"; print_r($prelast);
Show:  
Copy Clear