09.
Private Access
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
Whoops, an error! Please, try again later.
5 Comments
There are __get() and _set() magic methods that can be used rather than creating separate ones.
Comparing numbers to "Jar Jar Binks" is easy!
We all know that "Jar Jar Binks" is a zero,
so any positive integer is bigger than "Jar Jar Binks".
Haha, you took our bad joke to a new low... I love it! <3
Can you share your IDE and Browser settings? Error handling renders differently, ie without tables etc. for me. Otherwise I love your work!
Yo Sajjad!
IDE is PHPStorm, and I *love* it - I highly recommend.
For error handling, it's not the browser exactly - it's likely a PHP extension called Xdebug. If this is installed and enabled in your PHP (you can do a phpinfo() to find out), then literally when you var_dump();, it renders with HTML markup that makes things look awesome. Anyways, try this out and let me know if it's what you're looking for :). Additionally, Symfony has a library called VarDumper which gives you a dump() function in PHP, which dumps even *more* beautifully: http://symfony.com/doc/curr...
Cheers!
"Houston: no signs of life"
Start the conversation!