3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = '6'; $b = array( 6 => 'CARD online', 9 => 'CardAvantaj online', 10 => 'BonusCard online', 11 => 'CardRaiffeisen online', 12 => 'CardTransilvania online', 13 => 'CardEurolineAmericanExpress online', 16 => 'ePay', 19 => 'iTransfer' ); echo +in_array($a, array_keys($b));
based on KpQoC
Output for 4.3.0 - 7.2.0
1