3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array('word1' => 'siteblabla.com', 'word2' => 'blablaetc.com', 'word3' => 'newsite.com'); var_dump(array_keys($array));
Output for 4.3.0 - 7.1.0
array(3) { [0]=> string(5) "word1" [1]=> string(5) "word2" [2]=> string(5) "word3" }