<?php
set_error_handler(function() {
echo "WTF?";
});
class User
{
public function getName()
{
return "Daniel Ribeiro";
}
}
$user = new User();
$user->getN4me();
Fatal error: Uncaught Error: Call to undefined method User::getN4me() in /in/A8luW:16
Stack trace:
#0 {main}
thrown in /in/A8luW on line 16
Process exited with code 255.