Jump to content
Larry Ullman's Book Forums

gricewill

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by gricewill

  1. In Script 8.1, some of the functions seem not to be directly defined. For example, the write function is: function write($data) { if (@!fwrite($this->_fp, $data . "\n")) {throw new Exception(...); } It seems like it should say positively to execute "fwrite($this->_fp, $data)", but instead it just says if it doesn't do this, then throw an exception. It seems like the conditional would always be true since the script never told the computer to do it. What am I missing?
×
×
  • Create New...