Check out this code:
$last = end($p = explode('/', $someString));
Getting this notice:
Only variables should be passed by reference
I'm really confused because $p is a variable.
Check out this code:
$last = end($p = explode('/', $someString));
Getting this notice:
Only variables should be passed by reference
I'm really confused because $p is a variable.