3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $admin = false; $moderator = true; echo ($admin ===true) ? 'You are an admin' . (($moderator ===true) ? ' You are also a moderator' : '') : 'You are not an admin';
based on 1Vnc3
Output for 4.3.0 - 7.2.0
You are not an admin