3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo( [0 => 'admin', 1 => 'oloco'] === ['admin', 'oloco'] ? 1 : 0); echo( [0 => 'admin', 0 => 'oloco'][0] != 'admin' ? 1 : 0); echo((int) 'admin');
based on 4B2Ak
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.1.0 - 7.3.0beta1
110