3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $id = false; $now = time(); $id || $data['created'] = $now; var_dump($id, $data);
Output for 4.3.0 - 5.3.25, 5.3.27 - 7.2.0
bool(false) array(1) { ["created"]=> int(1403595263) }
Output for 5.3.26
bool(false) array(1) { ["created"]=> int(1403595262) }