3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "Are You Looking For The Best Website Review"; print_r(array_splice(array_reverse(str_word_count($str,1)),0,4));
Output for 7.0.0 - 7.2.0
Notice: Only variables should be passed by reference in /in/rYnc3 on line 4 Array ( [0] => Review [1] => Website [2] => Best [3] => The )
Output for 5.3.20 - 5.6.28
Strict Standards: Only variables should be passed by reference in /in/rYnc3 on line 4 Array ( [0] => Review [1] => Website [2] => Best [3] => The )