You can execute PHP code straight from your web browser with tools like PHP Tester.
Simply copy-paste the code into the window and replace the secret, winningNumber, hash and lottery values for your own. Execute the code to verify the roll.
For more information about provably fair.