Reto PHPGolf @ deSymfonyDay - deSymfonyDay/desymfonyday.github.io GitHub Wiki
Desde deSymfonyDay hemos creado un reto para los asistentes de deSymfonyDay 2014, especialmente pensado para los PHPeros más agudos. Olvidate del Clean Code, los PSR's y haz tu PHP más "guarro" y divertido.
El premio
Una entrada para el SymfonyCon Madrid, la conferencia internacional organizada por SensioLabs, valorada en 250€ (aprox.)
El reto
Imprime la canción "99 tests are failing" usando el PHP más corto que seas capaz de escribir.
Plazos
Inicio: 31 de Mayo a las 09:00 / Fin: 31 de Mayo a las 18:00
Donde
Tu código deberá ser subido a PHPGolf, donde se comprobará y podrás ver el ranking actual de participantes.
Consejos rápidos
- Notices están desactivados, puedes omitir las comillas al declarar una cadenas
$a = foo
- Short tags están permitidos, empieza tu documento con
<?
y ahórrate 3 caracteres. - Usa todos los ternarios que puedas.
Te recomendamos que leas la sección de Documentación y Tips & Tricks de PHPGolf, para ver que trucos puedes usar.
Resultado exacto esperado
Tu código debe devolver exactamente el siguiente texto:
99 tests are failing in the repository, 99 tests are failing.
Take one, fix it and pass it around, 98 tests are failing in the repository.
98 tests are failing in the repository, 98 tests are failing.
Take one, fix it and pass it around, 97 tests are failing in the repository.
97 tests are failing in the repository, 97 tests are failing.
Take one, fix it and pass it around, 96 tests are failing in the repository.
96 tests are failing in the repository, 96 tests are failing.
Take one, fix it and pass it around, 95 tests are failing in the repository.
95 tests are failing in the repository, 95 tests are failing.
Take one, fix it and pass it around, 94 tests are failing in the repository.
94 tests are failing in the repository, 94 tests are failing.
Take one, fix it and pass it around, 93 tests are failing in the repository.
93 tests are failing in the repository, 93 tests are failing.
Take one, fix it and pass it around, 92 tests are failing in the repository.
92 tests are failing in the repository, 92 tests are failing.
Take one, fix it and pass it around, 91 tests are failing in the repository.
91 tests are failing in the repository, 91 tests are failing.
Take one, fix it and pass it around, 90 tests are failing in the repository.
90 tests are failing in the repository, 90 tests are failing.
Take one, fix it and pass it around, 89 tests are failing in the repository.
89 tests are failing in the repository, 89 tests are failing.
Take one, fix it and pass it around, 88 tests are failing in the repository.
88 tests are failing in the repository, 88 tests are failing.
Take one, fix it and pass it around, 87 tests are failing in the repository.
87 tests are failing in the repository, 87 tests are failing.
Take one, fix it and pass it around, 86 tests are failing in the repository.
86 tests are failing in the repository, 86 tests are failing.
Take one, fix it and pass it around, 85 tests are failing in the repository.
85 tests are failing in the repository, 85 tests are failing.
Take one, fix it and pass it around, 84 tests are failing in the repository.
84 tests are failing in the repository, 84 tests are failing.
Take one, fix it and pass it around, 83 tests are failing in the repository.
83 tests are failing in the repository, 83 tests are failing.
Take one, fix it and pass it around, 82 tests are failing in the repository.
82 tests are failing in the repository, 82 tests are failing.
Take one, fix it and pass it around, 81 tests are failing in the repository.
81 tests are failing in the repository, 81 tests are failing.
Take one, fix it and pass it around, 80 tests are failing in the repository.
80 tests are failing in the repository, 80 tests are failing.
Take one, fix it and pass it around, 79 tests are failing in the repository.
79 tests are failing in the repository, 79 tests are failing.
Take one, fix it and pass it around, 78 tests are failing in the repository.
78 tests are failing in the repository, 78 tests are failing.
Take one, fix it and pass it around, 77 tests are failing in the repository.
77 tests are failing in the repository, 77 tests are failing.
Take one, fix it and pass it around, 76 tests are failing in the repository.
76 tests are failing in the repository, 76 tests are failing.
Take one, fix it and pass it around, 75 tests are failing in the repository.
75 tests are failing in the repository, 75 tests are failing.
Take one, fix it and pass it around, 74 tests are failing in the repository.
74 tests are failing in the repository, 74 tests are failing.
Take one, fix it and pass it around, 73 tests are failing in the repository.
73 tests are failing in the repository, 73 tests are failing.
Take one, fix it and pass it around, 72 tests are failing in the repository.
72 tests are failing in the repository, 72 tests are failing.
Take one, fix it and pass it around, 71 tests are failing in the repository.
71 tests are failing in the repository, 71 tests are failing.
Take one, fix it and pass it around, 70 tests are failing in the repository.
70 tests are failing in the repository, 70 tests are failing.
Take one, fix it and pass it around, 69 tests are failing in the repository.
69 tests are failing in the repository, 69 tests are failing.
Take one, fix it and pass it around, 68 tests are failing in the repository.
68 tests are failing in the repository, 68 tests are failing.
Take one, fix it and pass it around, 67 tests are failing in the repository.
67 tests are failing in the repository, 67 tests are failing.
Take one, fix it and pass it around, 66 tests are failing in the repository.
66 tests are failing in the repository, 66 tests are failing.
Take one, fix it and pass it around, 65 tests are failing in the repository.
65 tests are failing in the repository, 65 tests are failing.
Take one, fix it and pass it around, 64 tests are failing in the repository.
64 tests are failing in the repository, 64 tests are failing.
Take one, fix it and pass it around, 63 tests are failing in the repository.
63 tests are failing in the repository, 63 tests are failing.
Take one, fix it and pass it around, 62 tests are failing in the repository.
62 tests are failing in the repository, 62 tests are failing.
Take one, fix it and pass it around, 61 tests are failing in the repository.
61 tests are failing in the repository, 61 tests are failing.
Take one, fix it and pass it around, 60 tests are failing in the repository.
60 tests are failing in the repository, 60 tests are failing.
Take one, fix it and pass it around, 59 tests are failing in the repository.
59 tests are failing in the repository, 59 tests are failing.
Take one, fix it and pass it around, 58 tests are failing in the repository.
58 tests are failing in the repository, 58 tests are failing.
Take one, fix it and pass it around, 57 tests are failing in the repository.
57 tests are failing in the repository, 57 tests are failing.
Take one, fix it and pass it around, 56 tests are failing in the repository.
56 tests are failing in the repository, 56 tests are failing.
Take one, fix it and pass it around, 55 tests are failing in the repository.
55 tests are failing in the repository, 55 tests are failing.
Take one, fix it and pass it around, 54 tests are failing in the repository.
54 tests are failing in the repository, 54 tests are failing.
Take one, fix it and pass it around, 53 tests are failing in the repository.
53 tests are failing in the repository, 53 tests are failing.
Take one, fix it and pass it around, 52 tests are failing in the repository.
52 tests are failing in the repository, 52 tests are failing.
Take one, fix it and pass it around, 51 tests are failing in the repository.
51 tests are failing in the repository, 51 tests are failing.
Take one, fix it and pass it around, 50 tests are failing in the repository.
50 tests are failing in the repository, 50 tests are failing.
Take one, fix it and pass it around, 49 tests are failing in the repository.
49 tests are failing in the repository, 49 tests are failing.
Take one, fix it and pass it around, 48 tests are failing in the repository.
48 tests are failing in the repository, 48 tests are failing.
Take one, fix it and pass it around, 47 tests are failing in the repository.
47 tests are failing in the repository, 47 tests are failing.
Take one, fix it and pass it around, 46 tests are failing in the repository.
46 tests are failing in the repository, 46 tests are failing.
Take one, fix it and pass it around, 45 tests are failing in the repository.
45 tests are failing in the repository, 45 tests are failing.
Take one, fix it and pass it around, 44 tests are failing in the repository.
44 tests are failing in the repository, 44 tests are failing.
Take one, fix it and pass it around, 43 tests are failing in the repository.
43 tests are failing in the repository, 43 tests are failing.
Take one, fix it and pass it around, 42 tests are failing in the repository.
42 tests are failing in the repository, 42 tests are failing.
Take one, fix it and pass it around, 41 tests are failing in the repository.
41 tests are failing in the repository, 41 tests are failing.
Take one, fix it and pass it around, 40 tests are failing in the repository.
40 tests are failing in the repository, 40 tests are failing.
Take one, fix it and pass it around, 39 tests are failing in the repository.
39 tests are failing in the repository, 39 tests are failing.
Take one, fix it and pass it around, 38 tests are failing in the repository.
38 tests are failing in the repository, 38 tests are failing.
Take one, fix it and pass it around, 37 tests are failing in the repository.
37 tests are failing in the repository, 37 tests are failing.
Take one, fix it and pass it around, 36 tests are failing in the repository.
36 tests are failing in the repository, 36 tests are failing.
Take one, fix it and pass it around, 35 tests are failing in the repository.
35 tests are failing in the repository, 35 tests are failing.
Take one, fix it and pass it around, 34 tests are failing in the repository.
34 tests are failing in the repository, 34 tests are failing.
Take one, fix it and pass it around, 33 tests are failing in the repository.
33 tests are failing in the repository, 33 tests are failing.
Take one, fix it and pass it around, 32 tests are failing in the repository.
32 tests are failing in the repository, 32 tests are failing.
Take one, fix it and pass it around, 31 tests are failing in the repository.
31 tests are failing in the repository, 31 tests are failing.
Take one, fix it and pass it around, 30 tests are failing in the repository.
30 tests are failing in the repository, 30 tests are failing.
Take one, fix it and pass it around, 29 tests are failing in the repository.
29 tests are failing in the repository, 29 tests are failing.
Take one, fix it and pass it around, 28 tests are failing in the repository.
28 tests are failing in the repository, 28 tests are failing.
Take one, fix it and pass it around, 27 tests are failing in the repository.
27 tests are failing in the repository, 27 tests are failing.
Take one, fix it and pass it around, 26 tests are failing in the repository.
26 tests are failing in the repository, 26 tests are failing.
Take one, fix it and pass it around, 25 tests are failing in the repository.
25 tests are failing in the repository, 25 tests are failing.
Take one, fix it and pass it around, 24 tests are failing in the repository.
24 tests are failing in the repository, 24 tests are failing.
Take one, fix it and pass it around, 23 tests are failing in the repository.
23 tests are failing in the repository, 23 tests are failing.
Take one, fix it and pass it around, 22 tests are failing in the repository.
22 tests are failing in the repository, 22 tests are failing.
Take one, fix it and pass it around, 21 tests are failing in the repository.
21 tests are failing in the repository, 21 tests are failing.
Take one, fix it and pass it around, 20 tests are failing in the repository.
20 tests are failing in the repository, 20 tests are failing.
Take one, fix it and pass it around, 19 tests are failing in the repository.
19 tests are failing in the repository, 19 tests are failing.
Take one, fix it and pass it around, 18 tests are failing in the repository.
18 tests are failing in the repository, 18 tests are failing.
Take one, fix it and pass it around, 17 tests are failing in the repository.
17 tests are failing in the repository, 17 tests are failing.
Take one, fix it and pass it around, 16 tests are failing in the repository.
16 tests are failing in the repository, 16 tests are failing.
Take one, fix it and pass it around, 15 tests are failing in the repository.
15 tests are failing in the repository, 15 tests are failing.
Take one, fix it and pass it around, 14 tests are failing in the repository.
14 tests are failing in the repository, 14 tests are failing.
Take one, fix it and pass it around, 13 tests are failing in the repository.
13 tests are failing in the repository, 13 tests are failing.
Take one, fix it and pass it around, 12 tests are failing in the repository.
12 tests are failing in the repository, 12 tests are failing.
Take one, fix it and pass it around, 11 tests are failing in the repository.
11 tests are failing in the repository, 11 tests are failing.
Take one, fix it and pass it around, 10 tests are failing in the repository.
10 tests are failing in the repository, 10 tests are failing.
Take one, fix it and pass it around, 9 tests are failing in the repository.
9 tests are failing in the repository, 9 tests are failing.
Take one, fix it and pass it around, 8 tests are failing in the repository.
8 tests are failing in the repository, 8 tests are failing.
Take one, fix it and pass it around, 7 tests are failing in the repository.
7 tests are failing in the repository, 7 tests are failing.
Take one, fix it and pass it around, 6 tests are failing in the repository.
6 tests are failing in the repository, 6 tests are failing.
Take one, fix it and pass it around, 5 tests are failing in the repository.
5 tests are failing in the repository, 5 tests are failing.
Take one, fix it and pass it around, 4 tests are failing in the repository.
4 tests are failing in the repository, 4 tests are failing.
Take one, fix it and pass it around, 3 tests are failing in the repository.
3 tests are failing in the repository, 3 tests are failing.
Take one, fix it and pass it around, 2 tests are failing in the repository.
2 tests are failing in the repository, 2 tests are failing.
Take one, fix it and pass it around, 1 test is failing in the repository.
1 test is failing in the repository, 1 test is failing.
Go to another suite and start again, 99 tests are failing in the repository.
Checksum
El output del script tiene que coincidir con este checksum
f29388b634f096f7144fc58b3d66ce65
Lo puedes calcular antes de enviarlo de la siguiente manera (Linux/OSX)
php tuScript.php | md5
Códiciones
- Para participar tienes que ser un asistente del deSymfonyDay14
- Estar cuando anunciemos al ganador en el cierre del evento, el día 31 Mayo entre las 18:30 y las 19:00 (aprox.)
- Presentar tu código si es requerido por la organización.
- Enviar tu código en el plazo marcado en este documento.
- En ningún caso el premio sera canjeado por dinero.