Shorthand ternary operator:
$x = $x ?: 'default';
If $x evaluates as truthy, $x will have its own value, otherwise $x has a 'default' value. Useful for null checking.
Type: Posts; User: Chandrew
Shorthand ternary operator:
$x = $x ?: 'default';
If $x evaluates as truthy, $x will have its own value, otherwise $x has a 'default' value. Useful for null checking.
I use Sublime Text on Mac OS X.
For PHP web development, I recommend checking out Laravel. https://laracasts.com/series/laravel-5-fundamentals has good 'getting started' series.
Any reason to not use json_encode()?
I wanted to, but currently do not have the time :( My post was a suggestion
How about a ladder / ranking system?
if you don't mind, i put it on my github! Easier for me to reference
https://github.com/chandrewz/PHP_UserManager_OOP
Anyone get into the Bitcoin fad?
Recently been looking into it. Solo mining is tough :( Faucets / buying are probably the best way to get started.
Tried my apartment mate's win8 and didn't like it. Start menu was not to my liking. Overall didn't find the improvement I'd expect. Wanted to go Mac after that experience.
anyone care to go in depth on how tOrMeNtIuM cp3 worked and overall design of it (maybe too general of a question)? it used GAIA tributes? deleting? speed?
i was infected :( believing it to be a neat zonehacks of some sort. took control of my computer and monitored my activity. happened to be a young guy in middle school / high school.
curious what the top guys of zonehacks does for a living! the elite zh members (that i remember from the zone and their names appearing besides zh downloads) would be like spec, sypher, rancid, BW,...
I thought this might go here. Currently an earlier message is waiting approval for the original thread:...
basically looking for the best freebie one out there :P (and was able buy a domain for $.75!)
lots of webhosts have been spam filtering the php mail() function. would be nice if they supported...
Wow, very nice tutorial. I suppose the next step would be to write a register.php and use the createUser($username, $password, $email, $is_admin = FALSE) function.
When I get time, I want to try...
been looking for a free host supporting php, especially the mail function. any recommendations? thanks!
Are there any tutorials on spoof texting?
Just curious, are there any popular CMS's out there?
Was very fun, haha.
And, I remember zToolz's program coming with a trojan disabling Ctrl+Alt+Delete???
I think I actually remember getting to use your ZoneMaster on others on the Zone through zone messaging.
Who was that guy? Just wanted to know more info about him out of curiosity since he was a mysterious guy to me during the zone ages.
What is the "FileFactory Premium" alert that pops up when visiting this page?