- Output for 7.1.25, 7.2.0 - 7.2.13, 7.3.0 - 7.3.1
- Fatal error: Cannot use $this as parameter in /in/2qUMA on line 5
Process exited with code 255.
<?php
class Insurance
{
function clsName($this)
{
echo get_class();
}
}
$cl = new Insurance();
$cl->clsName();
Insurance::clsName();