Tinnin Posted June 21, 2013 Share Posted June 21, 2013 "Because the $public variable is public, it can be accessed by either class. you could also access it outside of the class using $parent->public or $child->pubic" Unhelpful post, I know, but it's Friday, work is slow and it made me laugh. And yes, I am immature. Loving the book. I'll be checking out Yii shortly. Link to comment Share on other sites More sharing options...
HartleySan Posted June 21, 2013 Share Posted June 21, 2013 Ah, the classic "public"/"pubic" mistake. I worked as a technical documentation editor for several years, and I've seen way worse (which I really shouldn't share here). Link to comment Share on other sites More sharing options...
Larry Posted June 21, 2013 Share Posted June 21, 2013 Yeah... Link to comment Share on other sites More sharing options...
Guest Deleted Posted June 22, 2013 Share Posted June 22, 2013 Poor Larry *patpat* typos can happen to the best of us!! Tinnin: I'm not any less grateful that you took the time to point this out, but it's already in the errata: http://www.larryullman.com/books/php-advanced-and-object-oriented-programming/errata/ If you find any more errors that aren't in that errata, though, feel free to share! Hmm..that reminds me...I found one that wasn't in there...and now I forgot where I read it. Oops! lol (Don't worry Larry it's not as bad as the one Tinnin found.) Link to comment Share on other sites More sharing options...
Recommended Posts