Timeline for When will Brexit happen?
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 4, 2017 at 9:42 | history | edited | Sworrub Wehttam | CC BY-SA 3.0 |
added 41 characters in body
|
Apr 4, 2017 at 9:41 | comment | added | chocochaos | My answer runs just fine :) Also, you might want to read up on some posts here: codegolf.meta.stackexchange.com/questions/tagged/php There's no need for opening tags either. I would really recommend to write your solution in such a way that it would run from the command line, then you would not have to mess around with headers to refresh. That refresh will also cause your solution to "miss" a second once in a while, because it does not take into account the time lost on the request itself. | |
Apr 4, 2017 at 8:58 | comment | added | user59178 |
You can save ~7 bytes by using a <?= opening tag and dropping the echo, assigning $b in the place you first use it. Additionally you can save 3 bytes using ^0 instead of floor . It's bitwise or and involves a cast to int, it's the shortest way to cast to int I've seen.
|
|
Apr 4, 2017 at 8:51 | history | edited | Sworrub Wehttam | CC BY-SA 3.0 |
added 59 characters in body
|
Apr 4, 2017 at 8:41 | history | edited | Dada | CC BY-SA 3.0 |
added 37 characters in body
|
Apr 4, 2017 at 8:38 | history | edited | Sworrub Wehttam | CC BY-SA 3.0 |
added 97 characters in body
|
Apr 4, 2017 at 8:38 | comment | added | Sworrub Wehttam | @ThisGuy Yes, I mean "as shown in my comments", I'll edit to satisfy your pedantry :) | |
Apr 4, 2017 at 8:37 | comment | added | Sworrub Wehttam | @TheLethalCoder No closing tag needed. And nice one! | |
Apr 4, 2017 at 8:32 | comment | added | caird coinheringaahin g♦ |
What do you mean by flawed because of reasons stated in the comments ? If you mean the comments on their answer, you're the only one who's commented.
|
|
Apr 4, 2017 at 8:28 | comment | added | TheLethalCoder |
You may need a closing tag? (Not sure on that). You only use $a once so might as well use the number in place. I'm not too familiar with php but looks like there could be more improvements
|
|
Apr 4, 2017 at 8:27 | review | First posts | |||
Apr 4, 2017 at 8:40 | |||||
Apr 4, 2017 at 8:23 | history | answered | Sworrub Wehttam | CC BY-SA 3.0 |