I ran into an integral a little while ago that looks like an elliptic integral of the first kind, however I am having trouble seeing how it can be put into the standard form. I've tried messing around with some trig identities but didn't get anywhere. Perhaps there is some other definition that I'm missing. Here it is. If it is solvable by contour integration I would be open to this as well.
$$ \int_0^{\phi_0} \frac{d\phi}{\sqrt{1-a\sin{\phi}}}$$
EDIT
If it makes it any easier, let $a=2$ and $\phi_0=\frac\pi6$. By standard form I mean: $$ \int_0^{\phi_0} \frac{d\phi}{\sqrt{1-k^2\sin^2{\phi}}}=F(\phi_o,k) $$
A Mathematica calculation reveals (using the constants I mentioned):
$$\int_0^{\pi/6} \frac{d\phi}{\sqrt{1-2\sin{\phi}}}=i\left(2F(\pi/4,4)-K(1/4)\right)$$
Where $F$ is an incomplete elliptic integral of the first kind and $K$ is a complete elliptic integral of first kind. Note that Mathematica uses a different convention where $k$ is replaced by the parameter $m=k^2$. This answer leads me to believe that the integral should be split up somehow.