3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php assert(function_exists('glob')); assert(function_exists('dirname')); assert(defined('__FILE__')); if ($post_types = glob(dirname(__FILE__) . '/post-types/*.php')) foreach ($post_types as $post_type) require_once $post_type;
Output for 7.0.0 - 7.1.0
Warning: assert(): assert(defined('__FILE__')) failed in /in/16B5u on line 6
Output for 4.3.2 - 5.6.26
Warning: assert(): Assertion failed in /in/16B5u on line 6
Output for 4.3.0 - 4.3.1
Warning: assert() [http://www.php.net/function.assert]: Assertion failed in /in/16B5u on line 6