Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 29330

Code-golf is a competition to solve a particular problem in the fewest bytes of source code. If you want to score by characters instead of bytes, please state this explicitly in the challenge. If source code length is not the primary scoring criterion, consider using another tag instead.

6
votes
PHP 666 611 593 588 580 Characters Edit: Used even smaller url than previously from tinyurl. Edit: Following comment on other answer I used int rather than boolean. Also needed to correct an error t …
answered Jul 18 '14 by Paul Drewett
0
votes
php 485 484 chars I know this is massive compared to entry by m.buettner but is best I can do for now. I think there must be a quicker way to turn the input string into a multi dimensional array but …
answered Jul 19 '14 by Paul Drewett
2
votes
PHP 781 chars I know this can be smaller but I am sorry that I am confused. If I take your first two examples (answers no and yes), if diagonal moves are not allowed, answers should be no and no, sur …
answered Jul 18 '14 by Paul Drewett
2
votes
My PHP version. 349 276 characters. Same as below but I found out something surprising. In PHP, for loops can have multiple expressions in both pre and post iteration. I never knew that and suddenly …
answered Jul 16 '14 by Paul Drewett
2
votes
Update: Correct output example here (with 40 lines not 50): New output below (removed previous one for brevity): xx xxx …
answered Jul 14 '14 by Paul Drewett
2
votes
PHP 341 324 320 Was the best I could do. <?$a="p";$b=fopen($a,'a+');while($c<200){$d=rand(100,999);$e='';for($f=0;$f<3;++$f)$e.=chr(rand(65,90));$g=(rand(1,2)==1)?"$d-$e":"$e-$d";$h=array('ASS','666 …
answered Jul 20 '14 by Paul Drewett
1
vote
PHP 258 220 only with Manatwork's help EDIT: Thank you manatwork, again you did stuff there I didn't know you could do. Thanks! <?php $a='clock';$b=" o'";$c="$b$a rock,";$d=1+1;$e=$d+$d;$f=", ";$g=$ …
answered Jul 17 '14 by Paul Drewett
2
votes
This really took my fancy and is my first post. Although it is old I noticed no one had done a php version so here is mine. <?php $f='CAN,CBN';$w=explode(',',$f);$a=$ao=$w[0];$b=$bo=$w[1];$c=''; fun …
answered Jul 14 '14 by Paul Drewett