PHP coding challenge

Magic constants

āœØ Your Task

Use a magic constant to detect and return the name of the current function.

āœļø PHP PHP version: 8.1
šŸ‘‰ Press "Run" and check the result below.
Test cases
Function magic() should return a string value magic