3v4l.org

run code in 300+ PHP versions simultaneously
<?php $messagebody = '<div style="background-color:#fff;border:1px solid #a5cae4;border-radius:5px;padding:5px;">'; { $messagebody .= $LANG['FormName'].': '.$this->name."<br />\n"; if ($GB_PG['base_url'] != '') ?> <a href="http://www.depoldervlieg.nl">depoldervlieg</a> <?php } { $messagebody .= "<br />\n<br />\n<div style=\"background-color:#f0f7fc;border-top:1px solid #d7edfc;padding:2px;\">"; if ($sql_usertable == LAZ_TABLE_PREFIX.'_data') { $urlDivider = (strpos($this->db->VARS['laz_url'], '?') > 0) ? '&' : '?'; $messagebody .= $LANG['EmailAdminSubject']."<br>\n"; } $messagebody .= '</div>'; } $messagebody .= '</div>'; ?>
Output for 8.3.0 - 8.3.6
Warning: Undefined variable $LANG in /in/L9QGN on line 4 Warning: Trying to access array offset on null in /in/L9QGN on line 4 Fatal error: Uncaught Error: Using $this when not in object context in /in/L9QGN:4 Stack trace: #0 {main} thrown in /in/L9QGN on line 4
Process exited with code 255.
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18
Warning: Undefined variable $LANG in /in/L9QGN on line 4 Warning: Trying to access array offset on value of type null in /in/L9QGN on line 4 Fatal error: Uncaught Error: Using $this when not in object context in /in/L9QGN:4 Stack trace: #0 {main} thrown in /in/L9QGN on line 4
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Notice: Undefined variable: LANG in /in/L9QGN on line 4 Notice: Trying to access array offset on value of type null in /in/L9QGN on line 4 Fatal error: Uncaught Error: Using $this when not in object context in /in/L9QGN:4 Stack trace: #0 {main} thrown in /in/L9QGN on line 4
Process exited with code 255.
Output for 7.3.32 - 7.3.33
Fatal error: Uncaught Error: Using $this when not in object context in /in/L9QGN:4 Stack trace: #0 {main} thrown in /in/L9QGN on line 4
Process exited with code 255.
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31
Notice: Undefined variable: LANG in /in/L9QGN on line 4 Fatal error: Uncaught Error: Using $this when not in object context in /in/L9QGN:4 Stack trace: #0 {main} thrown in /in/L9QGN on line 4
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Notice: Undefined variable: LANG in /in/L9QGN on line 4 Fatal error: Using $this when not in object context in /in/L9QGN on line 4
Process exited with code 255.

preferences:
256.82 ms | 402 KiB | 329 Q