3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r( array_unique('aa','aa','aa','aa','aa','aa','aa','aa','aaw','saa','aaa','aaa','aa','aa','aaa','aa','aaa','aaa','aaa','aax','aa','sms','aax','aax','aa','sms','aax','aax','aa','sms','aax','aax','aa','aax','aa','aaa','aaa','row','row','aa','out','aa','aa','aa','aa','aa','aa','aa','aa','aa','sms','sms','aax','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','a','aa','a','aa','a','aa','aa','aa','a','aa','aaac','aa','aaa','aaa','aaa','aaa','aaa','aacc','aacc','aadd','aac','aa','aa','aa','a','aa','a','aa','aa','aa','aax','aaa','aa','aax','aaa','aa','aa','tmp','tmp2','bonus','aaa','aa','aaa','aa','aa','aa','aaa','aa','aa','aa','aa','aaa','aaa','aacc','aa','aaa','aaa','aaa','aaa','aacc','aacc','aadd','aac','aaa','aaa','aaa','aa','aa','aa','aa','aac','b','ab','aac','aa','aa','aa','a','aa','a','aa','aa','a','a','aa','aa','aa','aa','aa','aa','aa','aaa','aaa','aaa','aaa','aacc','aacc','aadd','aac','aa','aa','aa','a','aa','a','aa','a','aa','aa','aa','phpsms','aa','bb','bb','bb','bb','aaa','aa','aaa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aaa','aaa','aaa','aaa','aaa','aaa','aa','cc','cc','cc','aaa','cc','phpsms','service','aa','aaa','aaa','aaa','aac','aac','row','row','aa','aa','aa','aa','aa','tmp','aax','aaa','con','aa','aa','tmp','aax','aaa','con','aa','con','aa','aax','con','aan','tmp','aan','aan','dd','aa','a','a','aa','a','aa','aax','provize','aa','aa','av','av','aa','a','aa','av','av','aa','a','aa','aa','a','aa','aa','aaa','y','a','a','a','aa','a','a','a2','aa','aa','aa','aa','aa','aa','aa','aa','aa','a','aa','aaa','aaa','aaa','aaa','aaa','aaa','aaa','bonus','aa','aa','aaa','aaa','aaa','aacc','aacc','aadd','aac','aa','a','aa','a','aa','a','aa','aaa','aaa','aacc','aacc','bonus','aa','aa','aaa','aaa','aaa','aa','aa','cc','row','row','a','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','a','x','aaa','aa','a','aa','aa','aa','aa','aa','aa','aa','aa','aa','aaw','saa','aaa','aaa','aa','aa','aaa','aa','aaa','aaa','aaa','aax','aa','sms','aax','aax','aa','sms','aax','aax','aa','sms','aax','aax','aa','aax','aa','aaa','aaa','row','row','aa','out','aa','aa','aa','aa','aa','aa','aa','aa','aa','sms','sms','aax','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','a','aa','a','aa','a','aa','aa','aa','a','aa','aaac','aa','aaa','aaa','aaa','aaa','aaa','aacc','aacc','aadd','aac','aa','aa','aa','a','aa','a','aa','aa','aa','aax','aaa','aa','aax','aaa','aa','aa','tmp','tmp2','bonus','aaa','aa','aaa','aa','aa','aa','aaa','aa','aa','aa','aa','aaa','aaa','aacc','aa','aaa','aaa','aaa','aaa','aacc','aacc','aadd','aac','aaa','aaa','aaa','aa','aa','aa','aa','aac','b','ab','aac','aa','aa','aa','a','aa','a','aa','aa','a','a','aa','aa','aa','aa','aa','aa','aa','aaa','aaa','aaa','aaa','aacc','aacc','aadd','aac','aa','aa','aa','a','aa','a','aa','a','aa','aa','aa','phpsms','aa','bb','bb','bb','bb','aaa','aa','aaa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aaa','aaa','aaa','aaa','aaa','aaa','aa','cc','cc','cc','aaa','cc','phpsms','service','aa','aaa','aaa','aaa','aac','aac','row','row','aa','aa','aa','aa','aa','tmp','aax','aaa','con','aa','aa','tmp','aax','aaa','con','aa','con','aa','aax','con','aan','tmp','aan','aan','dd','aa','a','a','aa','a','aa','aax','provize','aa','aa','av','av','aa','a','aa','av','av','aa','a','aa','aa','a','aa','aa','aaa','y','a','a','a','aa','a','a','a2','aa','aa','aa','aa','aa','aa','aa','aa','aa','a','aa','aaa','aaa','aaa','aaa','aaa','aaa','aaa','bonus','aa','aa','aaa','aaa','aaa','aacc','aacc','aadd','aac','aa','a','aa','a','aa','a','aa','aaa','aaa','aacc','aacc','bonus','aa','aa','aaa','aaa','aaa','aa','aa','cc','row','row','a','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','a','x','aaa','aa','a','aa','aa','aa','aa','aa','aa','aa','aa','aa','aaw','saa','aaa','aaa','aa','aa','aaa','aa','aaa','aaa','aaa','aax','aa','sms','aax','aax','aa','sms','aax','aax','aa','sms','aax','aax','aa','aax','aa','aaa','aaa','row','row','aa','out','aa','aa','aa','aa','aa','aa','aa','aa','aa','sms','sms','aax','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','a','aa','a','aa','a','aa','aa','aa','a','aa','aaac','aa','aaa','aaa','aaa','aaa','aaa','aacc','aacc','aadd','aac','aa','aa','aa','a','aa','a','aa','aa','aa','aax','aaa','aa','aax','aaa','aa','aa','tmp','tmp2','bonus','aaa','aa','aaa','aa','aa','aa','aaa','aa','aa','aa','aa','aaa','aaa','aacc','aa','aaa','aaa','aaa','aaa','aacc','aacc','aadd','aac','aaa','aaa','aaa','aa','aa','aa','aa','aac','b','ab','aac','aa','aa','aa','a','aa','a','aa','aa','a','a','aa','aa','aa','aa','aa','aa','aa','aaa','aaa','aaa','aaa','aacc','aacc','aadd','aac','aa','aa','aa','a','aa','a','aa','a','aa','aa','aa','phpsms','aa','bb','bb','bb','bb','aaa','aa','aaa','aa','aa','aa','aa','aa','aa','aa','aa','aa','aaa','aaa','aaa','aaa','aaa','aaa','aa','cc','cc','cc','aaa','cc','phpsms','service','aa','aaa','aaa','aaa','aac','aac','row','row','aa','aa','aa','aa','aa','tmp','aax','aaa','con','aa','aa','tmp','aax','aaa','con','aa','con','aa','aax','con','aan','tmp','aan','aan','dd','aa','a','a','aa','a','aa','aax','provize','aa','aa','av','av','aa','a','aa','av','av','aa','a','aa','aa','a','aa','aa','aaa','y','a','a','a','aa','a','a','a2','aa','aa','aa','aa','aa','aa','aa','aa','aa','a','aa','aaa','aaa','aaa','aaa','aaa','aaa','aaa','bonus','aa','aa','aaa','aaa','aaa','aacc','aacc','aadd','aac','aa','a','aa','a','aa','a','aa','aaa','aaa','aacc','aacc','bonus','aa','aa','aaa','aaa','aaa','aa','aa','cc','row','row','a','aa','aa','aa','aa','aa','aa','aa','aa','aa','aa','a','x','aaa','aa','a','aa') );
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Warning: array_unique() expects at most 2 parameters, 1041 given in /in/fsADQ on line 3