subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
lolphp
Artemis2
cqymnzv
<|sols|><|sot|>md5('240610708') == md5('QNKCDZO')<|eot|><|sol|>http://3v4l.org/tT4l8<|eol|><|soopr|>The secret is that ` md5('240610708')` is `'0e462097431906509019562988736854'` and `md5('QNKCDZO')` is `'0e830400451993494058024219903391'`. Both are of the form 0e{bunch of digits}, a valid scientific notation. So when...
19
lolphp
gu3st12
cqyvlrd
<|sols|><|sot|>md5('240610708') == md5('QNKCDZO')<|eot|><|sol|>http://3v4l.org/tT4l8<|eol|><|soopr|>The secret is that ` md5('240610708')` is `'0e462097431906509019562988736854'` and `md5('QNKCDZO')` is `'0e830400451993494058024219903391'`. Both are of the form 0e{bunch of digits}, a valid scientific notation. So when...
19
lolphp
hillgod
cqy5rau
<|sols|><|sot|>md5('240610708') == md5('QNKCDZO')<|eot|><|sol|>http://3v4l.org/tT4l8<|eol|><|soopr|>The secret is that ` md5('240610708')` is `'0e462097431906509019562988736854'` and `md5('QNKCDZO')` is `'0e830400451993494058024219903391'`. Both are of the form 0e{bunch of digits}, a valid scientific notation. So when...
18
lolphp
dotted
cqyv8k4
<|sols|><|sot|>md5('240610708') == md5('QNKCDZO')<|eot|><|sol|>http://3v4l.org/tT4l8<|eol|><|sor|>Well, since MD5 (Message Digest 5) isn't recommended anymore for secure digests, (SHA-1 is the typical use-case, NIST just chose Keccak for SHA-3), I'm totally not surprised that md5(x) can equal md5(y). Especially in PHP....
15
lolphp
cite-reader
cqybsgc
<|sols|><|sot|>md5('240610708') == md5('QNKCDZO')<|eot|><|sol|>http://3v4l.org/tT4l8<|eol|><|soopr|>The secret is that ` md5('240610708')` is `'0e462097431906509019562988736854'` and `md5('QNKCDZO')` is `'0e830400451993494058024219903391'`. Both are of the form 0e{bunch of digits}, a valid scientific notation. So when...
13
lolphp
Quetschwalze
7pvj3j
<|sols|><|sot|>Type boolean<|eot|><|sol|>https://i.redd.it/dppezywzvl901.png<|eol|><|eols|><|endoftext|>
191
lolphp
Wouter10123
dskdmi7
<|sols|><|sot|>Type boolean<|eot|><|sol|>https://i.redd.it/dppezywzvl901.png<|eol|><|sor|>> Default value: 2<|eor|><|eols|><|endoftext|>
79
lolphp
Various_Pickles
dsn9q1a
<|sols|><|sot|>Type boolean<|eot|><|sol|>https://i.redd.it/dppezywzvl901.png<|eol|><|sor|>[CURLOPT_SSL_VERIFYHOST](http://php.net/manual/en/function.curl-setopt.php) truly paved the way for such [spectacular, out-of-the-box thinking](http://php.net/manual/en/function.curl-setopt.php#110473). What better place than ver...
25
lolphp
eMZi0767
dsm26y1
<|sols|><|sot|>Type boolean<|eot|><|sol|>https://i.redd.it/dppezywzvl901.png<|eol|><|sor|>*Improved* version<|eor|><|eols|><|endoftext|>
6
lolphp
catcradle5
dtur5yf
<|sols|><|sot|>Type boolean<|eot|><|sol|>https://i.redd.it/dppezywzvl901.png<|eol|><|sor|>Type: *int*, Default value: *"1"*<|eor|><|eols|><|endoftext|>
5
lolphp
Laugarhraun
1zj27m
<|sols|><|sot|>PHP: The Good Parts<|eot|><|sol|>http://phpthegoodparts.tumblr.com/<|eol|><|eols|><|endoftext|>
188
lolphp
Hackepet0r
cfu7tyr
<|sols|><|sot|>PHP: The Good Parts<|eot|><|sol|>http://phpthegoodparts.tumblr.com/<|eol|><|sor|>http://elabs.se.s3.amazonaws.com/uploads/picture/file/81/normal_php_-_the_good_parts.jpeg<|eor|><|eols|><|endoftext|>
58
lolphp
Sarcastinator
cfuzygs
<|sols|><|sot|>PHP: The Good Parts<|eot|><|sol|>http://phpthegoodparts.tumblr.com/<|eol|><|sor|>http://elabs.se.s3.amazonaws.com/uploads/picture/file/81/normal_php_-_the_good_parts.jpeg<|eor|><|sor|>When I see this referenced I always wonder what is so bad about classic ASP that makes it *worse* than PHP. I would at l...
16
lolphp
kingguru
cfuxoye
<|sols|><|sot|>PHP: The Good Parts<|eot|><|sol|>http://phpthegoodparts.tumblr.com/<|eol|><|sor|>http://elabs.se.s3.amazonaws.com/uploads/picture/file/81/normal_php_-_the_good_parts.jpeg<|eor|><|sor|>When I see this referenced I always wonder what is so bad about classic ASP that makes it *worse* than PHP. I would at l...
15
lolphp
kingguru
cfv1to8
<|sols|><|sot|>PHP: The Good Parts<|eot|><|sol|>http://phpthegoodparts.tumblr.com/<|eol|><|sor|>http://elabs.se.s3.amazonaws.com/uploads/picture/file/81/normal_php_-_the_good_parts.jpeg<|eor|><|sor|>When I see this referenced I always wonder what is so bad about classic ASP that makes it *worse* than PHP. I would at l...
11
lolphp
flying-sheep
cgbc0yd
<|sols|><|sot|>PHP: The Good Parts<|eot|><|sol|>http://phpthegoodparts.tumblr.com/<|eol|><|sor|>I'd say that the ease with which you get fast results with it is good for getting people interested in what you can achieve with programming is a good thing about it. Shows that it doesn't *have* to be some alien thing most ...
7
lolphp
flying-sheep
cgbcbef
<|sols|><|sot|>PHP: The Good Parts<|eot|><|sol|>http://phpthegoodparts.tumblr.com/<|eol|><|sor|>I'd say that the ease with which you get fast results with it is good for getting people interested in what you can achieve with programming is a good thing about it. Shows that it doesn't *have* to be some alien thing most ...
6
lolphp
Legolas-the-elf
cfvuo0j
<|sols|><|sot|>PHP: The Good Parts<|eot|><|sol|>http://phpthegoodparts.tumblr.com/<|eol|><|sor|>http://elabs.se.s3.amazonaws.com/uploads/picture/file/81/normal_php_-_the_good_parts.jpeg<|eor|><|sor|>When I see this referenced I always wonder what is so bad about classic ASP that makes it *worse* than PHP. I would at l...
5
lolphp
RainOnYourTirade
4ec0dy
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|eols|><|endoftext|>
181
lolphp
Liorithiel
d1z2gwq
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Time for `real_crc32()`.<|eor|><|eols|><|endoftext|>
56
lolphp
greyfade
d1zhdji
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Time for `real_crc32()`.<|eor|><|sor|>or would it be crc32_real()?<|eor|><|sor|>`real_crc32_no_really()`. Don't want to have too many [collisions in the hash table.](http...
36
lolphp
4z01235
d1zibl9
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Time for `real_crc32()`.<|eor|><|sor|>or would it be crc32_real()?<|eor|><|sor|>`real_crc32_no_really()`. Don't want to have too many [collisions in the hash table.](http...
30
lolphp
Dave9876
d1zfzvl
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Time for `real_crc32()`.<|eor|><|sor|>or would it be crc32_real()?<|eor|><|eols|><|endoftext|>
27
lolphp
greyfade
d1yueqw
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Using crc32 actually sounds like a pretty bad plan, whatever the return type is.<|eor|><|sor|>Why? AFAIK crc32 is widely used in many applications.<|eor|><|sor|>It's the m...
22
lolphp
bgeron
d1z4j4v
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>I don't understand. Surely in PHP all integers are strings anyway. Therefore the function returns strings. Problem solved. /s<|eor|><|eols|><|endoftext|>
20
lolphp
crankybadger
d1zkm40
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Oh cool a new post on this sub! This reminds me of how glad I am that I haven't had to program more than a line or two of PHP in the last several months, since my code sho...
14
lolphp
greyfade
d1yv5j4
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Using crc32 actually sounds like a pretty bad plan, whatever the return type is.<|eor|><|sor|>Why? AFAIK crc32 is widely used in many applications.<|eor|><|sor|>It's the m...
13
lolphp
ismtrn
d1ytfe4
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Using crc32 actually sounds like a pretty bad plan, whatever the return type is.<|eor|><|sor|>Why? AFAIK crc32 is widely used in many applications.<|eor|><|eols|><|endofte...
12
lolphp
ismtrn
d1yv0jf
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Using crc32 actually sounds like a pretty bad plan, whatever the return type is.<|eor|><|sor|>Why? AFAIK crc32 is widely used in many applications.<|eor|><|sor|>It's the m...
12
lolphp
cbraga
d1z1a74
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Using crc32 actually sounds like a pretty bad plan, whatever the return type is.<|eor|><|sor|>Why? AFAIK crc32 is widely used in many applications.<|eor|><|sor|>It's the m...
11
lolphp
crankybadger
d1zkltl
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>The impeccable work of Rasmus Loldorf.<|eor|><|eols|><|endoftext|>
9
lolphp
infinull
d1yu1ep
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Using crc32 actually sounds like a pretty bad plan, whatever the return type is.<|eor|><|sor|>Why? AFAIK crc32 is widely used in many applications.<|eor|><|sor|>I wouldn't...
9
lolphp
infinull
d1yvk9r
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Using crc32 actually sounds like a pretty bad plan, whatever the return type is.<|eor|><|sor|>Why? AFAIK crc32 is widely used in many applications.<|eor|><|sor|>I wouldn't...
9
lolphp
hylje
d1zp5fw
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Using crc32 actually sounds like a pretty bad plan, whatever the return type is.<|eor|><|sor|>Why? AFAIK crc32 is widely used in many applications.<|eor|><|sor|>It's the m...
8
lolphp
Schmittfried
d200uqu
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>I really don't want to defend PHP here, but why would you ever return a purely numerical value as a string containing a hexadecimal representation of it? Why wouldn't you ...
7
lolphp
barubary
d22dozy
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Time for `real_crc32()`.<|eor|><|sor|>or would it be crc32_real()?<|eor|><|sor|>`real_crc32_no_really()`. Don't want to have too many [collisions in the hash table.](http...
7
lolphp
greyfade
d1yxfyi
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Using crc32 actually sounds like a pretty bad plan, whatever the return type is.<|eor|><|sor|>Why? AFAIK crc32 is widely used in many applications.<|eor|><|sor|>It's the m...
7
lolphp
Dylan16807
d1z46yb
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Using crc32 actually sounds like a pretty bad plan, whatever the return type is.<|eor|><|sor|>Why? AFAIK crc32 is widely used in many applications.<|eor|><|sor|>I wouldn't...
7
lolphp
coredumperror
d1z709s
<|sols|><|sot|>A rare occurrance of the PHP docs actually realizing how bad the language is<|eot|><|sol|>http://i.imgur.com/sEaujzN.jpg<|eol|><|sor|>Oh cool a new post on this sub! This reminds me of how glad I am that I haven't had to program more than a line or two of PHP in the last several months, since my code sho...
6
lolphp
cube-drone
3lu0bn
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|eols|><|endoftext|>
177
lolphp
phoshi
cv9eafh
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>>The people arguing senselessly here is part of what makes PHP look like it's used by idiots and amateurs. Well, he's not wrong. <|eor|><|eols|><|endoftext...
61
lolphp
headzoo
cv9lue3
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>I made a lot of money cleaning up after folks like Jack9.<|eor|><|sor|>I have too, unfortunately with this particular case of idiocy, "cleaning up" means st...
61
lolphp
floor-pi
cv9eloe
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>I wish my memory of this /r/PHP conversation was only stored via memcache<|eor|><|eols|><|endoftext|>
59
lolphp
RecursionIsRecursion
cv9efed
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>I made a lot of money cleaning up after folks like Jack9.<|eor|><|sor|>I have too, unfortunately with this particular case of idiocy, "cleaning up" means st...
43
lolphp
cube-drone
cv9j6d9
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>I'm split 40/60 about whether or not this person is trolling.<|eor|><|soopr|>I'm certain that Jack9 is 100% sure that he is correct. His point is actually q...
33
lolphp
marcopennekamp
cv9pdld
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>I'm split 40/60 about whether or not this person is trolling.<|eor|><|soopr|>I'm certain that Jack9 is 100% sure that he is correct. His point is actually q...
32
lolphp
CriticDanger
cv9dq3q
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>> I can make a booking system that runs in a browser, offline, using memcache.<|eor|><|eols|><|endoftext|>
31
lolphp
thelordofcheese
cv9bn0j
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>dafuq am i readin<|eor|><|eols|><|endoftext|>
26
lolphp
FionaSarah
cv999ur
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>I'm dying. <|eor|><|eols|><|endoftext|>
26
lolphp
DoctorWaluigiTime
cv9q1dr
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>I made a lot of money cleaning up after folks like Jack9.<|eor|><|sor|>I have too, unfortunately with this particular case of idiocy, "cleaning up" means st...
25
lolphp
Conradfr
cv9epj9
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>I made a lot of money cleaning up after folks like Jack9.<|eor|><|sor|>I have too, unfortunately with this particular case of idiocy, "cleaning up" means st...
24
lolphp
Miserable_Fuck
cv9i2fp
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>I'm split 40/60 about whether or not this person is trolling.<|eor|><|eols|><|endoftext|>
23
lolphp
RecursionIsRecursion
cv9m6jz
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>I made a lot of money cleaning up after folks like Jack9.<|eor|><|sor|>I have too, unfortunately with this particular case of idiocy, "cleaning up" means st...
22
lolphp
outadoc
cv9gltj
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>I just had a stroke reading though this guy's bullshit. Help. <|eor|><|eols|><|endoftext|>
21
lolphp
InconsiderateBastard
cv9qqtp
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>I made a lot of money cleaning up after folks like Jack9.<|eor|><|sor|>I've bashed php a lot and people have asked me "do you think I should learn it?" And ...
21
lolphp
DoctorWaluigiTime
cv9q28n
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>> I can make a booking system that runs in a browser, offline, using memcache.<|eor|><|sor|>Well I can too. But the bookings won't keep. We'll never have ...
19
lolphp
choikwa
cva0sfd
<|sols|><|sot|>Meanwhile, in r/PHP<|eot|><|sol|>https://www.reddit.com/r/PHP/comments/3lrret/can_an_offline_hotel_management_system_be_done_in/cv8zcms<|eol|><|sor|>I'm split 40/60 about whether or not this person is trolling.<|eor|><|soopr|>I'm certain that Jack9 is 100% sure that he is correct. His point is actually q...
19
lolphp
Lokaltog
3jz6h8
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|eols|><|endoftext|>
178
lolphp
ketura
cutw5y7
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>[This comment](https://www.reddit.com/r/programming/comments/3jywqh/flawless_php_logi...
50
lolphp
DoctorWaluigiTime
cutke10
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>I agree for the most part. The manual states that it assumes you give an 'english' da...
49
lolphp
DoctorWaluigiTime
cutkn1p
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>I agree for the most part. The manual states that it assumes you give an 'english' da...
34
lolphp
weedtese
cuu6xuv
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>Well, they aren't wrong. There is no month zero and no day zero. So (month) 1 - 1 = ...
33
lolphp
FredL2
cutr5e5
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>Well, they aren't wrong. There is no month zero and no day zero. So (month) 1 - 1 = ...
29
lolphp
beerdude26
cutnzsk
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>As always, a [relevant XKCD](https://xkcd.com/737/).<|eor|><|eols|><|endoftext|>
19
lolphp
OriginalPostSearcher
cutgqgz
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>X-Post referenced from /r/programming by /u/kimsavier [Flawless PHP logic. strtotim...
17
lolphp
xkcd_transcriber
cuto03p
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>As always, a [relevant XKCD](https://xkcd.com/737/).<|eor|><|sor|>[Image](http://imgs...
15
lolphp
ajmarks
cutvq3h
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>I agree for the most part. The manual states that it assumes you give an 'english' da...
15
lolphp
qubedView
cutk4vw
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>Well, they aren't wrong. There is no month zero and no day zero. So (month) 1 - 1 = ...
14
lolphp
DoctorWaluigiTime
cutkusc
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>I agree for the most part. The manual states that it assumes you give an 'english' da...
13
lolphp
nahguri
cutm6lt
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>I agree for the most part. The manual states that it assumes you give an 'english' da...
13
lolphp
webdeverper
cve8xtu
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>Well, they aren't wrong. There is no month zero and no day zero. So (month) 1 - 1 = ...
12
lolphp
vita10gy
cutlyag
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>I agree for the most part. The manual states that it assumes you give an 'english' da...
12
lolphp
ajmarks
cuu6kad
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>I agree for the most part. The manual states that it assumes you give an 'english' da...
11
lolphp
ajmarks
cutvt3b
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>I agree for the most part. The manual states that it assumes you give an 'english' da...
8
lolphp
DoctorWaluigiTime
cutlxds
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>I agree for the most part. The manual states that it assumes you give an 'english' da...
8
lolphp
dagbrown
cutt67y
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>That's an opinion<|eor|><|sor|>Assumptions are an anti-pattern. If you give something...
8
lolphp
ajmarks
cutvutn
<|sols|><|sot|>strtotime(): "There is no bug here, 00-00-00 means 2000-00-00, which is 1999-12-00, which is 1999-11-30. No bug, perfectly normal." (x-post /r/programming)<|eot|><|sol|>https://bugs.php.net/bug.php?id=45647<|eol|><|sor|>It's perfectly acceptable for functions to prescribe limits on input that it can hand...
5
lolphp
o2g
3nz2hd
<|soss|><|sot|>DateTime::format(DateTime::ISO8601) doesn't format date in ISO8601.<|eot|><|sost|>From the official documentation: > Note: This format is not compatible with ISO-8601, but is left this way for backward compatibility reasons. Use DateTime::ATOM or DATE_ATOM for compatibility with ISO-8601 instead. [php.ne...
169
lolphp
TheKrumpet
cvsjica
<|soss|><|sot|>DateTime::format(DateTime::ISO8601) doesn't format date in ISO8601.<|eot|><|sost|>From the official documentation: > Note: This format is not compatible with ISO-8601, but is left this way for backward compatibility reasons. Use DateTime::ATOM or DATE_ATOM for compatibility with ISO-8601 instead. [php.ne...
99
lolphp
philsown
cvskohy
<|soss|><|sot|>DateTime::format(DateTime::ISO8601) doesn't format date in ISO8601.<|eot|><|sost|>From the official documentation: > Note: This format is not compatible with ISO-8601, but is left this way for backward compatibility reasons. Use DateTime::ATOM or DATE_ATOM for compatibility with ISO-8601 instead. [php.ne...
60
lolphp
TheBuzzSaw
cvsjah4
<|soss|><|sot|>DateTime::format(DateTime::ISO8601) doesn't format date in ISO8601.<|eot|><|sost|>From the official documentation: > Note: This format is not compatible with ISO-8601, but is left this way for backward compatibility reasons. Use DateTime::ATOM or DATE_ATOM for compatibility with ISO-8601 instead. [php.ne...
39
lolphp
galaktos
cvso4s4
<|soss|><|sot|>DateTime::format(DateTime::ISO8601) doesn't format date in ISO8601.<|eot|><|sost|>From the official documentation: > Note: This format is not compatible with ISO-8601, but is left this way for backward compatibility reasons. Use DateTime::ATOM or DATE_ATOM for compatibility with ISO-8601 instead. [php.ne...
30
lolphp
vsync
cvsqj6t
<|soss|><|sot|>DateTime::format(DateTime::ISO8601) doesn't format date in ISO8601.<|eot|><|sost|>From the official documentation: > Note: This format is not compatible with ISO-8601, but is left this way for backward compatibility reasons. Use DateTime::ATOM or DATE_ATOM for compatibility with ISO-8601 instead. [php.ne...
23
lolphp
myaut
cvswe9y
<|soss|><|sot|>DateTime::format(DateTime::ISO8601) doesn't format date in ISO8601.<|eot|><|sost|>From the official documentation: > Note: This format is not compatible with ISO-8601, but is left this way for backward compatibility reasons. Use DateTime::ATOM or DATE_ATOM for compatibility with ISO-8601 instead. [php.ne...
20
lolphp
masklinn
cvv1ult
<|soss|><|sot|>DateTime::format(DateTime::ISO8601) doesn't format date in ISO8601.<|eot|><|sost|>From the official documentation: > Note: This format is not compatible with ISO-8601, but is left this way for backward compatibility reasons. Use DateTime::ATOM or DATE_ATOM for compatibility with ISO-8601 instead. [php.ne...
19
lolphp
galaktos
cvsry8s
<|soss|><|sot|>DateTime::format(DateTime::ISO8601) doesn't format date in ISO8601.<|eot|><|sost|>From the official documentation: > Note: This format is not compatible with ISO-8601, but is left this way for backward compatibility reasons. Use DateTime::ATOM or DATE_ATOM for compatibility with ISO-8601 instead. [php.ne...
17
lolphp
Sgeo
cvtdqff
<|soss|><|sot|>DateTime::format(DateTime::ISO8601) doesn't format date in ISO8601.<|eot|><|sost|>From the official documentation: > Note: This format is not compatible with ISO-8601, but is left this way for backward compatibility reasons. Use DateTime::ATOM or DATE_ATOM for compatibility with ISO-8601 instead. [php.ne...
14
lolphp
masklinn
cvv1tlw
<|soss|><|sot|>DateTime::format(DateTime::ISO8601) doesn't format date in ISO8601.<|eot|><|sost|>From the official documentation: > Note: This format is not compatible with ISO-8601, but is left this way for backward compatibility reasons. Use DateTime::ATOM or DATE_ATOM for compatibility with ISO-8601 instead. [php.ne...
5
lolphp
arand
3u6trt
<|sols|><|sot|>The last ever line of (php) code.<|eot|><|sol|>http://www.commitstrip.com/en/2015/11/13/the-last-ever-line-of-code/<|eol|><|eols|><|endoftext|>
164
lolphp
Innominate8
cxcy5xv
<|sols|><|sot|>The last ever line of (php) code.<|eot|><|sol|>http://www.commitstrip.com/en/2015/11/13/the-last-ever-line-of-code/<|eol|><|sor|>It will be a sad thing for them to not know. A bit like administering the last ever smallpox vaccination.<|eor|><|eols|><|endoftext|>
28
lolphp
coredumperror
cxcpfwk
<|sols|><|sot|>The last ever line of (php) code.<|eot|><|sol|>http://www.commitstrip.com/en/2015/11/13/the-last-ever-line-of-code/<|eol|><|sor|>Oh fuck off and choke on some Python. This sub is so much worse than it paints PHP to be. There's nothing to learn here, just jerking. I'm done.<|eor|><|sor|>Byyyyee!!<|eor|...
26
lolphp
polish_niceguy
cxciww7
<|sols|><|sot|>The last ever line of (php) code.<|eot|><|sol|>http://www.commitstrip.com/en/2015/11/13/the-last-ever-line-of-code/<|eol|><|sor|>[Incredible foreshadowing, Jelani.](http://i.imgur.com/H6PSSw1.png) (wordpress in node just got announced)<|eor|><|sor|>Now let's add some MongoDB to the mix and baby, you've ...
21
lolphp
satan-repents
cxdnvnj
<|sols|><|sot|>The last ever line of (php) code.<|eot|><|sol|>http://www.commitstrip.com/en/2015/11/13/the-last-ever-line-of-code/<|eol|><|sor|>Then I won't have the pleasure of discovering PHP "features" like this one... $some_bool = false; $some_bool['foo'] = "bar"; print_r($some_bool); // array("foo" ...
20
lolphp
satan-repents
cxdc6eb
<|sols|><|sot|>The last ever line of (php) code.<|eot|><|sol|>http://www.commitstrip.com/en/2015/11/13/the-last-ever-line-of-code/<|eol|><|sor|>Then I won't have the pleasure of discovering PHP "features" like this one... $some_bool = false; $some_bool['foo'] = "bar"; print_r($some_bool); // array("foo" ...
19
lolphp
masklinn
cxe1m1j
<|sols|><|sot|>The last ever line of (php) code.<|eot|><|sol|>http://www.commitstrip.com/en/2015/11/13/the-last-ever-line-of-code/<|eol|><|sor|>It will be a sad thing for them to not know. A bit like administering the last ever smallpox vaccination.<|eor|><|sor|>Except that's more like being the source of the last smal...
19
lolphp
Jamesinatr
cxd3c5s
<|sols|><|sot|>The last ever line of (php) code.<|eot|><|sol|>http://www.commitstrip.com/en/2015/11/13/the-last-ever-line-of-code/<|eol|><|sor|>I really don't understand the hate for PHP. Any rational individual, IMO, would not really hate it, but just wouldn't care for it. I follow this sub because it is somewhat inte...
17
lolphp
Schmittfried
cxcujga
<|sols|><|sot|>The last ever line of (php) code.<|eot|><|sol|>http://www.commitstrip.com/en/2015/11/13/the-last-ever-line-of-code/<|eol|><|sor|>Oh fuck off and choke on some Python. This sub is so much worse than it paints PHP to be. There's nothing to learn here, just jerking. I'm done.<|eor|><|sor|>Why would anyon...
17
lolphp
arand
cxcdpm2
<|sols|><|sot|>The last ever line of (php) code.<|eot|><|sol|>http://www.commitstrip.com/en/2015/11/13/the-last-ever-line-of-code/<|eol|><|soopr|>It would be a glorious day indeed.<|eoopr|><|eols|><|endoftext|>
15
lolphp
powerofmightyatom
cxe4teo
<|sols|><|sot|>The last ever line of (php) code.<|eot|><|sol|>http://www.commitstrip.com/en/2015/11/13/the-last-ever-line-of-code/<|eol|><|sor|>I really don't understand the hate for PHP. Any rational individual, IMO, would not really hate it, but just wouldn't care for it. I follow this sub because it is somewhat inte...
11
lolphp
mapunk
cxcw7ig
<|sols|><|sot|>The last ever line of (php) code.<|eot|><|sol|>http://www.commitstrip.com/en/2015/11/13/the-last-ever-line-of-code/<|eol|><|sor|>Oh fuck off and choke on some Python. This sub is so much worse than it paints PHP to be. There's nothing to learn here, just jerking. I'm done.<|eor|><|sor|>Why would anyon...
10