PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
It compares the second elements from the arrays $a and $b, or the second character if $a and $b are strings, and returns -1 if the element/character in $a is less than the element/character in $b, or returns 0 otherwise.