fork download
  1. <?php
  2. $query = $this->getQueryBuilder()
  3. ->insert('files_table')
  4. ->values(array(
  5. 'name' => '?',
  6. 'format' => '?',
  7. )
  8. );
  9.  
  10. $preparedQuery = $this->getPreparedQuery($query);
  11. $query->bindValue(1, $fileName);
  12. $query->bindValue(2, $format);
  13.  
  14. try {
  15. return $query->execute();
  16. }
Runtime error #stdin #stdout #stderr 0.02s 52432KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Fatal error:  Cannot use try without catch or finally in /home/qmxJJo/prog.php on line 16