3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array( 'one' => 1, 'two' => 2, 'three' => '0', 'four' => null ); var_dump(isset($a['three'])); var_dump(empty($a['three'])); var_dump(isset($a['four'])); var_dump(empty($a['four']));
Output for 4.3.0 - 7.1.0
bool(true) bool(true) bool(false) bool(true)