3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $zoneTri = array(1 => 'prix_euros', 2 => 'date_annonce', 3 => 'surface_habitable', 4 => 'nb_pieces', 5 => 'exclusivite'); echo max(array_keys($zoneTri));
Output for 4.3.0 - 7.1.0
5