Here you can test PHP functions online.
You won't have to write a single line of code.
You just need to select a function to get the result.
Each function comes with a few examples.
You may of course change the function arguments at will.
The corresponding page of the manual is also displayed automatically.