3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $query = $db->getQuery(true); $fields = array($db->quoteName('introtext') . ' = ' $db->quote($introtextString)); $conditions = array( $db->quoteName('id') . ' = ' . $this->contentId); $query->update($db->quoteName('nac321_content'))->set($fields)->where($conditions); $db->setQuery($query); $result = $db->query();
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '$db' (T_VARIABLE), expecting ')' in /in/8gGtN on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE, expecting ')' in /in/8gGtN on line 4
Process exited with code 255.