3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tokens = array( '1-fcc45343dd6e792a02039485696f7fc3' => array('time' => 1234567890, 'url' => 'login'), '2-fcc45343dd6e792a02039485696f7fc3' => array('time' => 1234567890, 'url' => 'logout'), '3-fcc45343dd6e792a02039485696f7fc3' => array('time' => 1234567890, 'url' => 'login'), '4-fcc45343dd6e792a02039485696f7fc3' => array('time' => 1234567890, 'url' => 'login'), ); if (in_array('logout', $tokens)) { echo 'aaa'; } echo 'finish';
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
finish