3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if(in_array($post['company_id'], array_keys($this->big_company)) && ( true == $post['is_xiaoquad'] || true == $post['is_jingjia'] || true == $post['is_security'] || (!empty($post['house_id'] || !empty($post['stickyIcon']))) )){ echo '<p class="list-part"><span class="fc-999 fl">名企:' . $this->big_company[$post['company_id']]['name'] . '</span><i title="名企房源" class="ico-v"></i></p>'; }
Output for 7.0.0 - 7.1.0
Notice: Undefined variable: post in /in/XS0To on line 2 Fatal error: Uncaught Error: Using $this when not in object context in /in/XS0To:2 Stack trace: #0 {main} thrown in /in/XS0To on line 2
Process exited with code 255.
Output for 5.5.24 - 5.6.28
Notice: Undefined variable: post in /in/XS0To on line 2 Fatal error: Using $this when not in object context in /in/XS0To on line 2
Process exited with code 255.
Output for 5.4.0 - 5.4.45
Parse error: syntax error, unexpected '||' (T_BOOLEAN_OR), expecting ')' in /in/XS0To on line 7
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_BOOLEAN_OR, expecting ')' in /in/XS0To on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_BOOLEAN_OR, expecting ')' in /in/XS0To on line 7
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/XS0To on line 7
Process exited with code 255.