3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $filter = array("isSystem" => TRUE, "isBlackList" => FALSE);$tag = new stdClass;$tag->id = 1;$tag->name = "Joho";$tag->isSystem = TRUE;$tag->isBlackList = TRUE;$result = array_diff($filter, (array)$tag);print_r($result);
based on SGR3M
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Array ( [isBlackList] => )
Output for hhvm-3.10.0

Process exited with code 153.