I'm not sure how to write this in php, so any help will be appreciated -
In vb6, I would have had a function similar to this code -
Function GetReserve()
Dim xAmount As Integer, xValue As Integer
Select Case xAmount 'Where xAmount is an Integer
Case Is = 0 And < 99
xValue = 5
Case Is = 100 And < 199
xValue = 10
End Select
How can I rewrite AND use this in php, please.