Iam new for php and trying to learn, i want to know what is this line of code mean :
$_PROFILER->mark('afterRoute') : null;
-> ?? what does it used for and what is it mean ?
and 'afterRoute' ???
thanks for all ;)
$_PROFILER is an object.
-> means you want to use a method or property of that object.
mark() is a method (function).
null means 'no value'.
'afterRoute' is a string, but it's meaning depends on the rest of the code.
Am not sure about the colon, I'd have to see the surrounding code. My guess is that it's part of a ternary operator.