Deprecated: Return type of ExtendedSPLHeap::compare($a, $b) should either be compatible with SplHeap::compare(mixed $value1, mixed $value2): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/oShut on line 5
There are 2 cities in the heap
FROM NORTH TO SOUTH
Bristol +51.4600 -2.6000
Birmingham +52.4800 -1.9100
Fatal error: Uncaught RuntimeException: Can't peek at an empty heap in /in/oShut:48
Stack trace:
#0 /in/oShut(48): SplHeap->top()
#1 {main}
thrown in /in/oShut on line 48
Process exited with code 255.
There are 2 cities in the heap
FROM NORTH TO SOUTH
Bristol +51.4600 -2.6000
Birmingham +52.4800 -1.9100
Fatal error: Uncaught RuntimeException: Can't peek at an empty heap in /in/oShut:48
Stack trace:
#0 /in/oShut(48): SplHeap->top()
#1 {main}
thrown in /in/oShut on line 48
Process exited with code 255.
There are 2 cities in the heap
FROM NORTH TO SOUTH
Bristol +51.4600 -2.6000
Birmingham +52.4800 -1.9100
Fatal error: Uncaught exception 'RuntimeException' with message 'Can't peek at an empty heap' in /in/oShut:48
Stack trace:
#0 /in/oShut(48): SplHeap->top()
#1 {main}
thrown in /in/oShut on line 48
Process exited with code 255.
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/oShut on line 3
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/oShut on line 15
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/oShut on line 18
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/oShut on line 25
Fatal error: Class 'SPLHeap' not found in /in/oShut on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/oShut on line 3
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/oShut on line 5
Process exited with code 255.
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/oShut on line 3
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/oShut on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/oShut on line 3
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/oShut on line 5
Process exited with code 255.