3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r( array_unique(array('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 4.3.0 - 5.6.25, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => aa [8] => aaw [9] => saa [10] => aaa [19] => aax [21] => sms [37] => row [40] => out [72] => a [82] => aaac [89] => aacc [91] => aadd [92] => aac [109] => tmp [110] => tmp2 [111] => bonus [143] => b [144] => ab [182] => phpsms [184] => bb [207] => cc [213] => service [230] => con [242] => aan [246] => dd [254] => provize [257] => av [272] => y [279] => a2 [342] => x )