subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
lolphp
barubary
donjy7
<|soss|><|sot|>The include "statement"<|eot|><|sost|>As [the PHP manual says](https://www.php.net/manual/en/function.include.php): > The *include* statement includes and evaluates the specified file. The first example demonstrates the syntax: include 'vars.php'; Of course, that's misleading because: > *include...
105
lolphp
shaql
f5p7rfs
<|soss|><|sot|>The include "statement"<|eot|><|sost|>As [the PHP manual says](https://www.php.net/manual/en/function.include.php): > The *include* statement includes and evaluates the specified file. The first example demonstrates the syntax: include 'vars.php'; Of course, that's misleading because: > *include...
45
lolphp
philipwhiuk
f5p75xc
<|soss|><|sot|>The include "statement"<|eot|><|sost|>As [the PHP manual says](https://www.php.net/manual/en/function.include.php): > The *include* statement includes and evaluates the specified file. The first example demonstrates the syntax: include 'vars.php'; Of course, that's misleading because: > *include...
27
lolphp
bart2019
f5p913q
<|soss|><|sot|>The include "statement"<|eot|><|sost|>As [the PHP manual says](https://www.php.net/manual/en/function.include.php): > The *include* statement includes and evaluates the specified file. The first example demonstrates the syntax: include 'vars.php'; Of course, that's misleading because: > *include...
17
lolphp
barubary
f5scnsz
<|soss|><|sot|>The include "statement"<|eot|><|sost|>As [the PHP manual says](https://www.php.net/manual/en/function.include.php): > The *include* statement includes and evaluates the specified file. The first example demonstrates the syntax: include 'vars.php'; Of course, that's misleading because: > *include...
8
lolphp
barubary
f5t5erw
<|soss|><|sot|>The include "statement"<|eot|><|sost|>As [the PHP manual says](https://www.php.net/manual/en/function.include.php): > The *include* statement includes and evaluates the specified file. The first example demonstrates the syntax: include 'vars.php'; Of course, that's misleading because: > *include...
7
lolphp
ranisalt
f5pzsve
<|soss|><|sot|>The include "statement"<|eot|><|sost|>As [the PHP manual says](https://www.php.net/manual/en/function.include.php): > The *include* statement includes and evaluates the specified file. The first example demonstrates the syntax: include 'vars.php'; Of course, that's misleading because: > *include...
6
lolphp
shaql
f5scihk
<|soss|><|sot|>The include "statement"<|eot|><|sost|>As [the PHP manual says](https://www.php.net/manual/en/function.include.php): > The *include* statement includes and evaluates the specified file. The first example demonstrates the syntax: include 'vars.php'; Of course, that's misleading because: > *include...
6
lolphp
bitfxxker
f5p2lp0
<|soss|><|sot|>The include "statement"<|eot|><|sost|>As [the PHP manual says](https://www.php.net/manual/en/function.include.php): > The *include* statement includes and evaluates the specified file. The first example demonstrates the syntax: include 'vars.php'; Of course, that's misleading because: > *include...
5
lolphp
sproingie
f7bv1ut
<|soss|><|sot|>The include "statement"<|eot|><|sost|>As [the PHP manual says](https://www.php.net/manual/en/function.include.php): > The *include* statement includes and evaluates the specified file. The first example demonstrates the syntax: include 'vars.php'; Of course, that's misleading because: > *include...
5
lolphp
tjlevine
3x4k2h
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|eols|><|endoftext|>
107
lolphp
BilgeXA
cy1h0ej
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>>the successor to `z` is `aa` ...I'm sorry; what?<|eor|><|eols|><|endoftext|>
49
lolphp
n0rs
cy23yi6
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>>the successor to `z` is `aa` ...I'm sorry; what?<|eor|><|sor|>Yeah. I can totally accept that `'aa' < 'z'`, that part is okay. But ho...
46
lolphp
Drainedsoul
cy1wpt8
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>>the successor to `z` is `aa` ...I'm sorry; what?<|eor|><|sor|>Yeah. I can totally accept that `'aa' < 'z'`, that part is okay. But ho...
43
lolphp
wutf
cy1h57f
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>This is actually wrong. It stops at yz, because za is already greater than z. https://3v4l.org/6qfcf<|eor|><|eols|><|endoftext|>
33
lolphp
SirClueless
cy1m0eu
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>This is not obvious in many HLL's. Python: range('a', 'z') # TypeError: range() integer end argument expected, got str. m...
31
lolphp
galaktos
cy1hv0e
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>>the successor to `z` is `aa` ...I'm sorry; what?<|eor|><|sor|>Yeah. I can totally accept that `'aa' < 'z'`, that part is okay. But ho...
29
lolphp
Schmittfried
cy29d4e
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>>the successor to `z` is `aa` ...I'm sorry; what?<|eor|><|sor|>Yeah. I can totally accept that `'aa' < 'z'`, that part is okay. But ho...
24
lolphp
prewk
cy1zrsb
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>>the successor to `z` is `aa` ...I'm sorry; what?<|eor|><|sor|>Yeah. I can totally accept that `'aa' < 'z'`, that part is okay. But ho...
21
lolphp
n0rs
cy31fon
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>>the successor to `z` is `aa` ...I'm sorry; what?<|eor|><|sor|>Yeah. I can totally accept that `'aa' < 'z'`, that part is okay. But ho...
21
lolphp
Schmittfried
cy2ggs9
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>>the successor to `z` is `aa` ...I'm sorry; what?<|eor|><|sor|>Yeah. I can totally accept that `'aa' < 'z'`, that part is okay. But ho...
20
lolphp
qubedView
cy1y1xl
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>"I was gonna get a candy bar; the button I was supposed to push was "HH", so I went to the side, I found the "H" button, I pushed it tw...
17
lolphp
Schmittfried
cy21ngw
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>>the successor to `z` is `aa` ...I'm sorry; what?<|eor|><|sor|>Yeah. I can totally accept that `'aa' < 'z'`, that part is okay. But ho...
14
lolphp
Schmittfried
cy21okz
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>>the successor to `z` is `aa` ...I'm sorry; what?<|eor|><|sor|>Excel column naming. Also, it fits with the usual comparison rules for...
13
lolphp
Schmittfried
cy257x5
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>>the successor to `z` is `aa` ...I'm sorry; what?<|eor|><|sor|>Excel column naming. Also, it fits with the usual comparison rules for...
13
lolphp
ismtrn
cy21w70
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>>the successor to `z` is `aa` ...I'm sorry; what?<|eor|><|sor|>Yeah. I can totally accept that `'aa' < 'z'`, that part is okay. But ho...
12
lolphp
the_alias_of_andrea
cy1yti9
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>>the successor to `z` is `aa` ...I'm sorry; what?<|eor|><|sor|>Excel column naming. Also, it fits with the usual comparison rules for...
11
lolphp
Schmittfried
cy21mt8
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>>the successor to `z` is `aa` ...I'm sorry; what?<|eor|><|sor|>Yeah. I can totally accept that `'aa' < 'z'`, that part is okay. But ho...
11
lolphp
the_alias_of_andrea
cy24x1e
<|sols|><|sot|>Iterating through all 676 letters in the alphabet<|eot|><|sol|>https://secure.phabricator.com/book/phabflavor/article/php_pitfalls/#all-676-letters-in-the-a<|eol|><|sor|>>the successor to `z` is `aa` ...I'm sorry; what?<|eor|><|sor|>Excel column naming. Also, it fits with the usual comparison rules for...
10
lolphp
elsjaako
wmrbqh
<|sols|><|sot|>PHP Gender constants. Is your gender EAST_FRISIA?<|eot|><|sol|>https://www.php.net/manual/en/class.gender.php<|eol|><|eols|><|endoftext|>
110
lolphp
barubary
ik18c6h
<|sols|><|sot|>PHP Gender constants. Is your gender EAST_FRISIA?<|eot|><|sol|>https://www.php.net/manual/en/class.gender.php<|eol|><|sor|>Well, gender is just a construct: > * Gender\Gender::\_\_construct Construct the Gender object If you don't like the ones already out there, just create your own: $what = new...
73
lolphp
barubary
ik1ccn4
<|sols|><|sot|>PHP Gender constants. Is your gender EAST_FRISIA?<|eot|><|sol|>https://www.php.net/manual/en/class.gender.php<|eol|><|sor|>And? This is a PECL extension, namely the port of `gender.c` by Jrg MICHAEL, who is German, hence the `EAST_FRISIA` constant. About: https://www.php.net/manual/en/book.gender.php...
35
lolphp
SeesawMundane5422
ik27rtd
<|sols|><|sot|>PHP Gender constants. Is your gender EAST_FRISIA?<|eot|><|sol|>https://www.php.net/manual/en/class.gender.php<|eol|><|sor|>Please refer to me by my new preferred pronoun: Italy.<|eor|><|eols|><|endoftext|>
17
lolphp
alficles
ik3nmrt
<|sols|><|sot|>PHP Gender constants. Is your gender EAST_FRISIA?<|eot|><|sol|>https://www.php.net/manual/en/class.gender.php<|eol|><|sor|>And? This is a PECL extension, namely the port of `gender.c` by Jrg MICHAEL, who is German, hence the `EAST_FRISIA` constant. About: https://www.php.net/manual/en/book.gender.php...
13
lolphp
pokexpert30
ik3wkdg
<|sols|><|sot|>PHP Gender constants. Is your gender EAST_FRISIA?<|eot|><|sol|>https://www.php.net/manual/en/class.gender.php<|eol|><|sor|>Well, gender is just a construct: > * Gender\Gender::\_\_construct Construct the Gender object If you don't like the ones already out there, just create your own: $what = new...
11
lolphp
barubary
ik3yyo6
<|sols|><|sot|>PHP Gender constants. Is your gender EAST_FRISIA?<|eot|><|sol|>https://www.php.net/manual/en/class.gender.php<|eol|><|sor|>How is language processing a LOL?<|eor|><|sor|> publiccountry(int$country):array|false So... you read this line and think "yeah, that makes sense"?<|eor|><|sor|>Do you even use P...
11
lolphp
elsjaako
ik9je85
<|sols|><|sot|>PHP Gender constants. Is your gender EAST_FRISIA?<|eot|><|sol|>https://www.php.net/manual/en/class.gender.php<|eol|><|sor|>And? This is a PECL extension, namely the port of `gender.c` by Jrg MICHAEL, who is German, hence the `EAST_FRISIA` constant. About: https://www.php.net/manual/en/book.gender.php...
9
lolphp
m1ss1ontomars2k4
ik2bbgx
<|sols|><|sot|>PHP Gender constants. Is your gender EAST_FRISIA?<|eot|><|sol|>https://www.php.net/manual/en/class.gender.php<|eol|><|sor|>And? This is a PECL extension, namely the port of `gender.c` by Jrg MICHAEL, who is German, hence the `EAST_FRISIA` constant. About: https://www.php.net/manual/en/book.gender.php...
7
lolphp
alficles
ik3wd2s
<|sols|><|sot|>PHP Gender constants. Is your gender EAST_FRISIA?<|eot|><|sol|>https://www.php.net/manual/en/class.gender.php<|eol|><|sor|>And? This is a PECL extension, namely the port of `gender.c` by Jrg MICHAEL, who is German, hence the `EAST_FRISIA` constant. About: https://www.php.net/manual/en/book.gender.php...
7
lolphp
barubary
ik48huw
<|sols|><|sot|>PHP Gender constants. Is your gender EAST_FRISIA?<|eot|><|sol|>https://www.php.net/manual/en/class.gender.php<|eol|><|sor|>How is language processing a LOL?<|eor|><|sor|> publiccountry(int$country):array|false So... you read this line and think "yeah, that makes sense"?<|eor|><|sor|>Do you even use P...
7
lolphp
lolpls
ik12yo4
<|sols|><|sot|>PHP Gender constants. Is your gender EAST_FRISIA?<|eot|><|sol|>https://www.php.net/manual/en/class.gender.php<|eol|><|sor|>And? This is a PECL extension, namely the port of `gender.c` by Jrg MICHAEL, who is German, hence the `EAST_FRISIA` constant. About: https://www.php.net/manual/en/book.gender.php...
5
lolphp
Sarcastinator
ik3ggqa
<|sols|><|sot|>PHP Gender constants. Is your gender EAST_FRISIA?<|eot|><|sol|>https://www.php.net/manual/en/class.gender.php<|eol|><|sor|>How is language processing a LOL?<|eor|><|sor|> publiccountry(int$country):array|false So... you read this line and think "yeah, that makes sense"?<|eor|><|eols|><|endoftext|>
5
lolphp
barubary
ik2fzv6
<|sols|><|sot|>PHP Gender constants. Is your gender EAST_FRISIA?<|eot|><|sol|>https://www.php.net/manual/en/class.gender.php<|eol|><|sor|>And? This is a PECL extension, namely the port of `gender.c` by Jrg MICHAEL, who is German, hence the `EAST_FRISIA` constant. About: https://www.php.net/manual/en/book.gender.php...
5
lolphp
Sarcastinator
ik47pm3
<|sols|><|sot|>PHP Gender constants. Is your gender EAST_FRISIA?<|eot|><|sol|>https://www.php.net/manual/en/class.gender.php<|eol|><|sor|>How is language processing a LOL?<|eor|><|sor|> publiccountry(int$country):array|false So... you read this line and think "yeah, that makes sense"?<|eor|><|sor|>Do you even use P...
5
lolphp
1bc29b
4jwm6o
<|soss|><|sot|>Rasmus Lerdorf: The real programmers will say Yeah it works but youre leaking memory everywhere. Perhaps we should fix that. Ill just restart Apache every 10 requests.<|eot|><|sost|>From : https://medium.com/@WordcorpGlobal/programming-doesnt-require-talent-or-even-passion-11422270e1e4#.mb0azok7p > * I ...
107
lolphp
ismtrn
d3a8jxc
<|soss|><|sot|>Rasmus Lerdorf: The real programmers will say Yeah it works but youre leaking memory everywhere. Perhaps we should fix that. Ill just restart Apache every 10 requests.<|eot|><|sost|>From : https://medium.com/@WordcorpGlobal/programming-doesnt-require-talent-or-even-passion-11422270e1e4#.mb0azok7p > * I ...
62
lolphp
beerdude26
d3aexw4
<|soss|><|sot|>Rasmus Lerdorf: The real programmers will say Yeah it works but youre leaking memory everywhere. Perhaps we should fix that. Ill just restart Apache every 10 requests.<|eot|><|sost|>From : https://medium.com/@WordcorpGlobal/programming-doesnt-require-talent-or-even-passion-11422270e1e4#.mb0azok7p > * I ...
44
lolphp
greyfade
d3af9au
<|soss|><|sot|>Rasmus Lerdorf: The real programmers will say Yeah it works but youre leaking memory everywhere. Perhaps we should fix that. Ill just restart Apache every 10 requests.<|eot|><|sost|>From : https://medium.com/@WordcorpGlobal/programming-doesnt-require-talent-or-even-passion-11422270e1e4#.mb0azok7p > * I ...
30
lolphp
ciawal
d3a6ioj
<|soss|><|sot|>Rasmus Lerdorf: The real programmers will say Yeah it works but youre leaking memory everywhere. Perhaps we should fix that. Ill just restart Apache every 10 requests.<|eot|><|sost|>From : https://medium.com/@WordcorpGlobal/programming-doesnt-require-talent-or-even-passion-11422270e1e4#.mb0azok7p > * I ...
28
lolphp
Fitzsimmons
d3amcww
<|soss|><|sot|>Rasmus Lerdorf: The real programmers will say Yeah it works but youre leaking memory everywhere. Perhaps we should fix that. Ill just restart Apache every 10 requests.<|eot|><|sost|>From : https://medium.com/@WordcorpGlobal/programming-doesnt-require-talent-or-even-passion-11422270e1e4#.mb0azok7p > * I ...
20
lolphp
thatmarksguy
d3ajby2
<|soss|><|sot|>Rasmus Lerdorf: The real programmers will say Yeah it works but youre leaking memory everywhere. Perhaps we should fix that. Ill just restart Apache every 10 requests.<|eot|><|sost|>From : https://medium.com/@WordcorpGlobal/programming-doesnt-require-talent-or-even-passion-11422270e1e4#.mb0azok7p > * I ...
18
lolphp
beerdude26
d3agimz
<|soss|><|sot|>Rasmus Lerdorf: The real programmers will say Yeah it works but youre leaking memory everywhere. Perhaps we should fix that. Ill just restart Apache every 10 requests.<|eot|><|sost|>From : https://medium.com/@WordcorpGlobal/programming-doesnt-require-talent-or-even-passion-11422270e1e4#.mb0azok7p > * I ...
16
lolphp
1bc29b
d3afsu3
<|soss|><|sot|>Rasmus Lerdorf: The real programmers will say Yeah it works but youre leaking memory everywhere. Perhaps we should fix that. Ill just restart Apache every 10 requests.<|eot|><|sost|>From : https://medium.com/@WordcorpGlobal/programming-doesnt-require-talent-or-even-passion-11422270e1e4#.mb0azok7p > * I ...
11
lolphp
CosineTau
d3am6r1
<|soss|><|sot|>Rasmus Lerdorf: The real programmers will say Yeah it works but youre leaking memory everywhere. Perhaps we should fix that. Ill just restart Apache every 10 requests.<|eot|><|sost|>From : https://medium.com/@WordcorpGlobal/programming-doesnt-require-talent-or-even-passion-11422270e1e4#.mb0azok7p > * I ...
9
lolphp
bart2019
d3bbt9e
<|soss|><|sot|>Rasmus Lerdorf: The real programmers will say Yeah it works but youre leaking memory everywhere. Perhaps we should fix that. Ill just restart Apache every 10 requests.<|eot|><|sost|>From : https://medium.com/@WordcorpGlobal/programming-doesnt-require-talent-or-even-passion-11422270e1e4#.mb0azok7p > * I ...
8
lolphp
captain_obvious_here
d3bcinv
<|soss|><|sot|>Rasmus Lerdorf: The real programmers will say Yeah it works but youre leaking memory everywhere. Perhaps we should fix that. Ill just restart Apache every 10 requests.<|eot|><|sost|>From : https://medium.com/@WordcorpGlobal/programming-doesnt-require-talent-or-even-passion-11422270e1e4#.mb0azok7p > * I ...
7
lolphp
cjwelborn
d3bsxpj
<|soss|><|sot|>Rasmus Lerdorf: The real programmers will say Yeah it works but youre leaking memory everywhere. Perhaps we should fix that. Ill just restart Apache every 10 requests.<|eot|><|sost|>From : https://medium.com/@WordcorpGlobal/programming-doesnt-require-talent-or-even-passion-11422270e1e4#.mb0azok7p > * I ...
6
lolphp
bart2019
d3acrzv
<|soss|><|sot|>Rasmus Lerdorf: The real programmers will say Yeah it works but youre leaking memory everywhere. Perhaps we should fix that. Ill just restart Apache every 10 requests.<|eot|><|sost|>From : https://medium.com/@WordcorpGlobal/programming-doesnt-require-talent-or-even-passion-11422270e1e4#.mb0azok7p > * I ...
5
lolphp
the_alias_of_andrea
42gxxd
<|sols|><|sot|>"" decodes to "_empty_", but encodes to "_empty_", so you can't always round-trip JSON decode/encode. Also, you can serialize "", but not unserialize it! HOORAY CONSISTENCY<|eot|><|sol|>https://3v4l.org/Tg6GB<|eol|><|eols|><|endoftext|>
107
lolphp
the_alias_of_andrea
cza7ent
<|sols|><|sot|>"" decodes to "_empty_", but encodes to "_empty_", so you can't always round-trip JSON decode/encode. Also, you can serialize "", but not unserialize it! HOORAY CONSISTENCY<|eot|><|sol|>https://3v4l.org/Tg6GB<|eol|><|soopr|>The reason for decoding the JSON key `""` to `"_empty_"` is that, for no apparent...
61
lolphp
nikic
czaiau6
<|sols|><|sot|>"" decodes to "_empty_", but encodes to "_empty_", so you can't always round-trip JSON decode/encode. Also, you can serialize "", but not unserialize it! HOORAY CONSISTENCY<|eot|><|sol|>https://3v4l.org/Tg6GB<|eol|><|soopr|>The reason for decoding the JSON key `""` to `"_empty_"` is that, for no apparent...
15
lolphp
polish_niceguy
czbfb08
<|sols|><|sot|>"" decodes to "_empty_", but encodes to "_empty_", so you can't always round-trip JSON decode/encode. Also, you can serialize "", but not unserialize it! HOORAY CONSISTENCY<|eot|><|sol|>https://3v4l.org/Tg6GB<|eol|><|soopr|>The reason for decoding the JSON key `""` to `"_empty_"` is that, for no apparent...
14
lolphp
djxfade
8ii4y5
<|sols|><|sot|>uniqid() to be deprecated becase it doesn't actually return a unique id<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/8ihefw/php_rfc_deprecate_uniqid/<|eol|><|eols|><|endoftext|>
104
lolphp
girst
dys1qq3
<|sols|><|sot|>uniqid() to be deprecated becase it doesn't actually return a unique id<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/8ihefw/php_rfc_deprecate_uniqid/<|eol|><|sor|>>While there is a **`sleep()`** to prevent multiple duplicate IDs in the same process, [] Oh wow. <|eor|><|eols|><|endoftext|>
69
lolphp
aleczapka
dys29ac
<|sols|><|sot|>uniqid() to be deprecated becase it doesn't actually return a unique id<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/8ihefw/php_rfc_deprecate_uniqid/<|eol|><|sor|> real_uniqid()<|eor|><|eols|><|endoftext|>
63
lolphp
redfacedquark
dyt2vtd
<|sols|><|sot|>uniqid() to be deprecated becase it doesn't actually return a unique id<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/8ihefw/php_rfc_deprecate_uniqid/<|eol|><|sor|>I don't understand why the solution isn't to make sure that it does return a unique id?<|eor|><|sor|>You mean fix it? What would happen ...
30
lolphp
vekien
dyuz6qf
<|sols|><|sot|>uniqid() to be deprecated becase it doesn't actually return a unique id<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/8ihefw/php_rfc_deprecate_uniqid/<|eol|><|sor|> real_uniqid()<|eor|><|sor|> real_honest_on_me_mums_life_uniqid()<|eor|><|eols|><|endoftext|>
26
lolphp
amazingmikeyc
dyt1u3b
<|sols|><|sot|>uniqid() to be deprecated becase it doesn't actually return a unique id<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/8ihefw/php_rfc_deprecate_uniqid/<|eol|><|sor|>I don't understand why the solution isn't to make sure that it does return a unique id?<|eor|><|eols|><|endoftext|>
24
lolphp
cleeder
dytmjrp
<|sols|><|sot|>uniqid() to be deprecated becase it doesn't actually return a unique id<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/8ihefw/php_rfc_deprecate_uniqid/<|eol|><|sor|>I don't understand why the solution isn't to make sure that it does return a unique id?<|eor|><|sor|>You mean fix it? What would happen ...
15
lolphp
rinyre
dysekmt
<|sols|><|sot|>uniqid() to be deprecated becase it doesn't actually return a unique id<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/8ihefw/php_rfc_deprecate_uniqid/<|eol|><|sor|>https://xkcd.com/221/<|eor|><|eols|><|endoftext|>
14
lolphp
pingpong
dysht41
<|sols|><|sot|>uniqid() to be deprecated becase it doesn't actually return a unique id<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/8ihefw/php_rfc_deprecate_uniqid/<|eol|><|sor|>https://xkcd.com/221/<|eor|><|sor|>http://dilbert.com/strip/2001-10-25<|eor|><|eols|><|endoftext|>
11
lolphp
VID44R
dzw761w
<|sols|><|sot|>uniqid() to be deprecated becase it doesn't actually return a unique id<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/8ihefw/php_rfc_deprecate_uniqid/<|eol|><|sor|> real_uniqid()<|eor|><|sor|> return 4; //generated by fair dice roll<|eor|><|eols|><|endoftext|>
8
lolphp
Various_Pickles
e03y1oj
<|sols|><|sot|>uniqid() to be deprecated becase it doesn't actually return a unique id<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/8ihefw/php_rfc_deprecate_uniqid/<|eol|><|sor|> real_uniqid()<|eor|><|sor|>The result will be encoded in the mysql_lol_kinda_utf8 charset.<|eor|><|eols|><|endoftext|>
7
lolphp
Dgc2002
dyteju7
<|sols|><|sot|>uniqid() to be deprecated becase it doesn't actually return a unique id<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/8ihefw/php_rfc_deprecate_uniqid/<|eol|><|sor|>I don't understand why the solution isn't to make sure that it does return a unique id?<|eor|><|sor|>My assumption is backward compatibi...
7
lolphp
Dgc2002
dyt5h50
<|sols|><|sot|>uniqid() to be deprecated becase it doesn't actually return a unique id<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/8ihefw/php_rfc_deprecate_uniqid/<|eol|><|sor|>I don't understand why the solution isn't to make sure that it does return a unique id?<|eor|><|sor|>My assumption is backward compatibi...
5
lolphp
GestinkoGestapo
48sfzj
<|sols|><|sot|>null is apparently smaller than any number you can imagine. Except zero.<|eot|><|sol|>https://3v4l.org/MVDH0<|eol|><|eols|><|endoftext|>
107
lolphp
Regimardyl
d0mcsi6
<|sols|><|sot|>null is apparently smaller than any number you can imagine. Except zero.<|eot|><|sol|>https://3v4l.org/MVDH0<|eol|><|sor|>Like always with these type coercion lolphp posts, I've got to ask: How large do you, yourself, think that `null` is? Is it smaller than zero? Larger? What would be your preferred non...
44
lolphp
serendependy
d0mf7hy
<|sols|><|sot|>null is apparently smaller than any number you can imagine. Except zero.<|eot|><|sol|>https://3v4l.org/MVDH0<|eol|><|sor|>Like always with these type coercion lolphp posts, I've got to ask: How large do you, yourself, think that `null` is? Is it smaller than zero? Larger? What would be your preferred non...
24
lolphp
coredumperror
d0m68i2
<|sols|><|sot|>null is apparently smaller than any number you can imagine. Except zero.<|eot|><|sol|>https://3v4l.org/MVDH0<|eol|><|sor|>Isn't this just a consequence of type coercion? In PHP: null == 0 //Evaluates to true null === 0 //Evaluates to false I would imagine that null is treated as 0 when compari...
24
lolphp
flowblok
d0mqptg
<|sols|><|sot|>null is apparently smaller than any number you can imagine. Except zero.<|eot|><|sol|>https://3v4l.org/MVDH0<|eol|><|sor|>Like always with these type coercion lolphp posts, I've got to ask: How large do you, yourself, think that `null` is? Is it smaller than zero? Larger? What would be your preferred non...
24
lolphp
prewk
d0mc37y
<|sols|><|sot|>null is apparently smaller than any number you can imagine. Except zero.<|eot|><|sol|>https://3v4l.org/MVDH0<|eol|><|sor|>Like always with these type coercion lolphp posts, I've got to ask: How large do you, yourself, think that `null` is? Is it smaller than zero? Larger? What would be your preferred non...
23
lolphp
vita10gy
d0mh7nr
<|sols|><|sot|>null is apparently smaller than any number you can imagine. Except zero.<|eot|><|sol|>https://3v4l.org/MVDH0<|eol|><|sor|>Like always with these type coercion lolphp posts, I've got to ask: How large do you, yourself, think that `null` is? Is it smaller than zero? Larger? What would be your preferred non...
16
lolphp
coredumperror
d0mhkll
<|sols|><|sot|>null is apparently smaller than any number you can imagine. Except zero.<|eot|><|sol|>https://3v4l.org/MVDH0<|eol|><|sor|>Like always with these type coercion lolphp posts, I've got to ask: How large do you, yourself, think that `null` is? Is it smaller than zero? Larger? What would be your preferred non...
16
lolphp
kinsi55
d0mc6pj
<|sols|><|sot|>null is apparently smaller than any number you can imagine. Except zero.<|eot|><|sol|>https://3v4l.org/MVDH0<|eol|><|sor|>My guess is it parses all the stuff as booleans. Comparing them further handles them as integers. Since 1 is greater than 0, everything is true. Yada yada: ~> cat test.php <...
15
lolphp
killerstorm
d0mnfsi
<|sols|><|sot|>null is apparently smaller than any number you can imagine. Except zero.<|eot|><|sol|>https://3v4l.org/MVDH0<|eol|><|sor|>Like always with these type coercion lolphp posts, I've got to ask: How large do you, yourself, think that `null` is? Is it smaller than zero? Larger? What would be your preferred non...
9
lolphp
prewk
d0n86n4
<|sols|><|sot|>null is apparently smaller than any number you can imagine. Except zero.<|eot|><|sol|>https://3v4l.org/MVDH0<|eol|><|sor|>Like always with these type coercion lolphp posts, I've got to ask: How large do you, yourself, think that `null` is? Is it smaller than zero? Larger? What would be your preferred non...
8
lolphp
InconsiderateBastard
d0n70ke
<|sols|><|sot|>null is apparently smaller than any number you can imagine. Except zero.<|eot|><|sol|>https://3v4l.org/MVDH0<|eol|><|sor|>Isn't this just a consequence of type coercion? In PHP: null == 0 //Evaluates to true null === 0 //Evaluates to false I would imagine that null is treated as 0 when compari...
7
lolphp
DoctorWaluigiTime
d0mfgph
<|sols|><|sot|>null is apparently smaller than any number you can imagine. Except zero.<|eot|><|sol|>https://3v4l.org/MVDH0<|eol|><|sor|>Like always with these type coercion lolphp posts, I've got to ask: How large do you, yourself, think that `null` is? Is it smaller than zero? Larger? What would be your preferred non...
6
lolphp
powatom
d0m57ms
<|sols|><|sot|>null is apparently smaller than any number you can imagine. Except zero.<|eot|><|sol|>https://3v4l.org/MVDH0<|eol|><|sor|>Isn't this just a consequence of type coercion? In PHP: null == 0 //Evaluates to true null === 0 //Evaluates to false I would imagine that null is treated as 0 when compari...
5
lolphp
ealf
1ddlpp
<|sols|><|sot|>fgetcsv()/fputcsv() were both added in PHP 5.1.0. They are incompatible: fgetcsv() parses backslash escapes, but fputcsv() uses quote doubling (and does not escape backslashes).<|eot|><|sol|>http://codepad.org/YwM05DEV<|eol|><|eols|><|endoftext|>
103
lolphp
dafragsta
c9pa4xs
<|sols|><|sot|>fgetcsv()/fputcsv() were both added in PHP 5.1.0. They are incompatible: fgetcsv() parses backslash escapes, but fputcsv() uses quote doubling (and does not escape backslashes).<|eot|><|sol|>http://codepad.org/YwM05DEV<|eol|><|sor|>I can't believe more people don't run into that.<|eor|><|eols|><|endoftex...
11
lolphp
movzx
c9q3dpj
<|sols|><|sot|>fgetcsv()/fputcsv() were both added in PHP 5.1.0. They are incompatible: fgetcsv() parses backslash escapes, but fputcsv() uses quote doubling (and does not escape backslashes).<|eot|><|sol|>http://codepad.org/YwM05DEV<|eol|><|sor|>As someone who uses PHP for tons of little hacky scripts at work ("When a...
10
lolphp
Netrilix
c9pydtr
<|sols|><|sot|>fgetcsv()/fputcsv() were both added in PHP 5.1.0. They are incompatible: fgetcsv() parses backslash escapes, but fputcsv() uses quote doubling (and does not escape backslashes).<|eot|><|sol|>http://codepad.org/YwM05DEV<|eol|><|sor|>As someone who uses PHP for tons of little hacky scripts at work ("When a...
7
lolphp
dafragsta
c9plkls
<|sols|><|sot|>fgetcsv()/fputcsv() were both added in PHP 5.1.0. They are incompatible: fgetcsv() parses backslash escapes, but fputcsv() uses quote doubling (and does not escape backslashes).<|eot|><|sol|>http://codepad.org/YwM05DEV<|eol|><|sor|>I can't believe more people don't run into that.<|eor|><|sor|>In the wild...
6
lolphp
InconsiderateBastard
c9pln5q
<|sols|><|sot|>fgetcsv()/fputcsv() were both added in PHP 5.1.0. They are incompatible: fgetcsv() parses backslash escapes, but fputcsv() uses quote doubling (and does not escape backslashes).<|eot|><|sol|>http://codepad.org/YwM05DEV<|eol|><|sor|>I can't believe more people don't run into that.<|eor|><|sor|>In the wild...
5
lolphp
jdh28
5bu2uu
<|sols|><|sot|>DateTime::ISO8601 is not ISO-8601 compatible<|eot|><|sol|>http://php.net/manual/en/class.datetime.php#datetime.constants.types<|eol|><|eols|><|endoftext|>
101
lolphp
ebvalaim
d9sqcml
<|sols|><|sot|>DateTime::ISO8601 is not ISO-8601 compatible<|eot|><|sol|>http://php.net/manual/en/class.datetime.php#datetime.constants.types<|eol|><|sor|>[ISO8601 has changed several times over the years.](https://en.wikipedia.org/wiki/ISO_8601#History) * ISO 8601:1988 * ISO 8601:2000 * ISO 8601:2004 <|eor|><|sor|>W...
45
lolphp
eliasv
d9rlsnm
<|sols|><|sot|>DateTime::ISO8601 is not ISO-8601 compatible<|eot|><|sol|>http://php.net/manual/en/class.datetime.php#datetime.constants.types<|eol|><|sor|>Some people get frustrated with e.g. Java due to the burden backward compatibility places on the speed and direction of language and core library development ... but...
36
lolphp
Deviltry1
d9r8dly
<|sols|><|sot|>DateTime::ISO8601 is not ISO-8601 compatible<|eot|><|sol|>http://php.net/manual/en/class.datetime.php#datetime.constants.types<|eol|><|sor|>https://www.reddit.com/r/lolphp/search?q=ISO8601&restrict_sr=on<|eor|><|eols|><|endoftext|>
20
lolphp
badmonkey0001
d9rnu1p
<|sols|><|sot|>DateTime::ISO8601 is not ISO-8601 compatible<|eot|><|sol|>http://php.net/manual/en/class.datetime.php#datetime.constants.types<|eol|><|sor|>[ISO8601 has changed several times over the years.](https://en.wikipedia.org/wiki/ISO_8601#History) * ISO 8601:1988 * ISO 8601:2000 * ISO 8601:2004 <|eor|><|eols|>...
13