PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $arr = [ 1 => 'one', 'two' => 2, 3 => 'three' ]; $res = array_filter( array_keys($arr), fn($el) => is_numeric($el) ); print_r($res);
Show:  
Copy Clear