<?php $object = new DateTime(); var_dump($object::class); echo "\n"; $string = 'whatever'; var_dump(whatever::class); var_dump('whatever'::class); // Why does this work... var_dump($string::class); // ... while this doesn't?
You have javascript disabled. You will not be able to edit any code.