<?php $array[]='foo'; $data=2; $userNowId = ($array && $data); var_dump($userNowId);
Standard input is empty
bool(true)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!