phpでワンライナー

user@hoge%php -r 'var_dump( $GLOBALS );'