is that possible in PHP to pass variables into a function when they are not set as parameters? I mean something like the following:
$pdo=PDOconnection;
$arr=someArray;
function myFunction(){
if(no-parameters){
$input=$pdo;
//or
$input=$arr;
}
}