3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // test.php assert_options(ASSERT_ACTIVE, true); $value = '1'; var_dump(assert(is_string($value))); var_dump(assert('is_string($value)'));
Output for 4.3.0 - 7.1.0
bool(true) bool(true)