Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get highest key value

$arr = array( 1 => "A", 10 => "B", 5 => "C" );
max(array_keys($arr));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #highest #key
ADD COMMENT
Topic
Name
7+6 =