PHP coding challenge

Type casting

āœØ Your Task

Convert the input to an integer and return the result.

āœļø PHP PHP version: 8.1
šŸ‘‰ Press "Run" and check the result below.
Test cases
Return value should have a type integer
Return value should match the input