Timeline for Check if computer is connected to the internet
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 17, 2020 at 9:04 | history | edited | CommunityBot | Commonmark migration | |
| Jan 17, 2017 at 11:52 | comment | added | Restioson | @Cristoph ah OK. Most langs I've seen do not do this afaik | |
| Jan 16, 2017 at 11:53 | comment | added | Christoph | @Restioson It's a string that implicitly converts to boolean true. A branch if ("Array") echo 'thruthy'; would be taken therefore it's truthy. The empty string wouldn't take the branch and is therefore falsey. | |
| Jan 16, 2017 at 10:42 | comment | added | Restioson | @Cristoph I don't think "Array" counts as truthy or falsey | |
| Jan 16, 2017 at 10:30 | comment | added | Christoph | @Restioson php converts an array to the string "Array" when you try to print it (<?=) and boolean false will be converted to "". So the actual return value is not an array but a non empty string or an empty string. | |
| Jan 16, 2017 at 10:11 | comment | added | Restioson | Does an array count as truthy? I'll allow it to compete anyway though, since it is my question. Just out of interest. | |
| Jan 15, 2017 at 15:04 | history | edited | Christoph | CC BY-SA 3.0 | switch to php + curl |
| Jan 13, 2017 at 17:51 | comment | added | user62131 | Re "is that a loophole", I think the normal consensus is that it counts as a language dialect (so the answer is PHP + Curl, 15 bytes). | |
| Jan 13, 2017 at 14:22 | history | edited | Christoph | CC BY-SA 3.0 | added 194 characters in body |
| Jan 13, 2017 at 13:55 | history | edited | Christoph | CC BY-SA 3.0 | deleted 3 characters in body |
| Jan 13, 2017 at 13:48 | history | answered | Christoph | CC BY-SA 3.0 |