(PHP 5 >= 5.3.0, PHP 7)
Compare priorities in order to place elements correctly in the heap while sifting up.
public int SplPriorityQueue::compare ( mixed $priority1, mixed $priority2 )
Compare priority1 with priority2.
Parameters:
priority1
The priority of the first node being compared.
priority2
The priority of the second node bein