Php Convert Variable To Integer Python Example Elif