fork download
  1. <?php
  2.  
  3. $obj=$bands->new band(); //возвращает id
  4. $obj=$bands->band()->set_name('Watain');
  5. $obj=$bands->band()->set_logo('watain.png');
  6. $obj=$bands->band()->set_logo(NULL);
  7. $obj=$bands->band()->get_albums()->where('year','>',2005);
  8. $obj=$bands->band()->delete();
  9. $obj=$bands->get_bands()->where('end_year','=',NULL);
  10. ?>
Runtime error #stdin #stdout #stderr 0.01s 20552KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Parse error:  syntax error, unexpected 'band' (T_STRING) in /home/2ZFGWF/prog.php on line 3