in bash there is something like
$_
which is a temporary variable that stores the last argument of previous command
is there a similar variable or construct in PHP or how can I access the last used variable in the script?
this would be very handy for simple debugging functions or if you need a function that you have to add in several places at your code.
Or you could add something like:
do_some_more($_);
in several places in your code