subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
lolphp | steamruler | cu2mrf2 | <|sols|><|sot|>This should *never* happen!<|eot|><|sol|>http://i.imgur.com/Y9Mi8QX.png<|eol|><|sor|>"Should not" doesn't mean "can't". Your TZ database shouldn't be corrupted, because then shit is seriously wrong. It's a bit of a "this is a graver exception than other exceptions" <|eor|><|eols|><|endoftext|> | 44 |
lolphp | qxxx | cu2qpa7 | <|sols|><|sot|>This should *never* happen!<|eot|><|sol|>http://i.imgur.com/Y9Mi8QX.png<|eol|><|sor|>I wonder how much they paid to the Timezone... damn corruption.<|eor|><|eols|><|endoftext|> | 15 |
lolphp | HildartheDorf | cu3pdvz | <|sols|><|sot|>This should *never* happen!<|eot|><|sol|>http://i.imgur.com/Y9Mi8QX.png<|eol|><|sor|>"Should not" doesn't mean "can't". Your TZ database shouldn't be corrupted, because then shit is seriously wrong. It's a bit of a "this is a graver exception than other exceptions" <|eor|><|sor|>I add the "should not hap... | 12 |
lolphp | thomasfr | cu5vo7b | <|sols|><|sot|>This should *never* happen!<|eot|><|sol|>http://i.imgur.com/Y9Mi8QX.png<|eol|><|sor|>You are right, PHP should never have happened.<|eor|><|sor|>I'm not sure why people are downvoting you, I couldn't agree more<|eor|><|sor|>I guess one answer is because it really doesn't matter, PHP will be there regardl... | 11 |
lolphp | thomasfr | cu2owjr | <|sols|><|sot|>This should *never* happen!<|eot|><|sol|>http://i.imgur.com/Y9Mi8QX.png<|eol|><|sor|>"Should not" doesn't mean "can't". Your TZ database shouldn't be corrupted, because then shit is seriously wrong. It's a bit of a "this is a graver exception than other exceptions" <|eor|><|sor|>I add the "should not hap... | 5 |
lolphp | fragglet | 2h1s52 | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|eols|><|endoftext|> | 132 |
lolphp | appointment_at_1_am | ckoloao | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|sor|>Seriously that should be taken down.... | 60 |
lolphp | duskwuff | ckolung | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|sor|>My, my, my. SQL injection *and* impr... | 58 |
lolphp | Sebbe | ckolqz3 | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|sor|>Can't blame PHP for that one, so it'... | 40 |
lolphp | urquan | ckop2pj | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|sor|>Got to love the generic instructions... | 23 |
lolphp | skeeto | ckordlo | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|sor|>eHow is a joke. <|eor|><|sor|>Follow... | 22 |
lolphp | Golden_Calf | ckoubnh | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|sor|>Can't blame PHP for that one, so it'... | 19 |
lolphp | cjwelborn | ckooauj | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|sor|>eHow is a joke. <|eor|><|sor|>Second... | 13 |
lolphp | dochoncho | ckpdgl8 | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|sor|>Seriously that should be taken down.... | 12 |
lolphp | cjwelborn | ckonx0c | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|sor|>Try stealing my credit card number n... | 12 |
lolphp | graingert | ckokpz3 | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|sor|>Wow. That's really stupid.<|eor|><|e... | 11 |
lolphp | KFCConspiracy | ckpaxia | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|sor|>Seriously that should be taken down.... | 11 |
lolphp | LinkXXI | ckor2ht | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|sor|>Try stealing my credit card number n... | 11 |
lolphp | DoctorWaluigiTime | ckoz3nx | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|sor|>Can't blame PHP for that one, so it'... | 9 |
lolphp | disclosure5 | ckt4eg0 | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|sor|>Seriously that should be taken down.... | 7 |
lolphp | disclosure5 | ckt4qv7 | <|sols|><|sot|>How to store credit card numbers securely: "Programming languages such as PHP have built in functions that can encrypt. An example is the base 64 encryption function"<|eot|><|sol|>https://www.ehow.com/how_7450803_encrypt-card-information-sql-database.html<|eol|><|sor|>Seriously that should be taken down.... | 7 |
lolphp | MoederPoeder | 1ssdla | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|eols|><|endoftext|> | 128 |
lolphp | Innominate8 | ce0u0ca | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|sor|>better idea to not clutter up the language:
make rand take an extra optional argument, defining the type of random operation that it should run.<|eor|><|sor|>int rand ( int $min , int $max, bool $actually_random = false )<|eor|><|eols|><|endo... | 48 |
lolphp | Innominate8 | ce0ubve | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|sor|>better idea to not clutter up the language:
make rand take an extra optional argument, defining the type of random operation that it should run.<|eor|><|sor|>int rand ( int $min , int $max, bool $actually_random = false )<|eor|><|sor|>Exactly... | 38 |
lolphp | morphotomy | ce0tsqf | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|sor|>Also, mt_rand uses a mersenne twister, which isn't cryptographically secure, so depending on use case, you might need an even better one.<|eor|><|soopr|>Time for a better better random value generator!<|eoopr|><|sor|> randomer();
more_rand... | 36 |
lolphp | ajmarks | ce0qs5w | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|sor|>Because rand() is included for historical reasons (PHP doesn't know how to let bad things die), but mt_rand() is consistent across systems. Also, see this discussion http://www.reddit.com/r/lolphp/comments/1pvf3h/phps_mt_rand_random_number_ge... | 32 |
lolphp | kageurufu | ce11hug | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|sor|>Also, mt_rand uses a mersenne twister, which isn't cryptographically secure, so depending on use case, you might need an even better one.<|eor|><|soopr|>Time for a better better random value generator!<|eoopr|><|sor|> randomer();
more_rand... | 23 |
lolphp | postmodest | ce1324c | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|sor|>better idea to not clutter up the language:
make rand take an extra optional argument, defining the type of random operation that it should run.<|eor|><|sor|>int rand ( int $min , int $max, bool $actually_random = false )<|eor|><|sor|>Exactly... | 23 |
lolphp | Rhomboid | ce17iot | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|sor|>Also, mt_rand uses a mersenne twister, which isn't cryptographically secure, so depending on use case, you might need an even better one.<|eor|><|sor|>For some reason people think it's good just because it has a very long period (2^19937 - 1)<... | 23 |
lolphp | Conradfr | ce0queb | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|sor|>Also, mt_rand uses a mersenne twister, which isn't cryptographically secure, so depending on use case, you might need an even better one.<|eor|><|sor|>As advised on the documentation.<|eor|><|eols|><|endoftext|> | 22 |
lolphp | MoederPoeder | ce0qu57 | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|sor|>Also, mt_rand uses a mersenne twister, which isn't cryptographically secure, so depending on use case, you might need an even better one.<|eor|><|soopr|>Time for a better better random value generator!<|eoopr|><|eols|><|endoftext|> | 17 |
lolphp | voetsjoeba | ce12ezg | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|sor|>Also, mt_rand uses a mersenne twister, which isn't cryptographically secure, so depending on use case, you might need an even better one.<|eor|><|soopr|>Time for a better better random value generator!<|eoopr|><|sor|> randomer();
more_rand... | 17 |
lolphp | MoederPoeder | ce0qtdo | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|sor|>Because rand() is included for historical reasons (PHP doesn't know how to let bad things die), but mt_rand() is consistent across systems. Also, see this discussion http://www.reddit.com/r/lolphp/comments/1pvf3h/phps_mt_rand_random_number_ge... | 13 |
lolphp | AyeGill | ce0sysh | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|sor|>Also, mt_rand uses a mersenne twister, which isn't cryptographically secure, so depending on use case, you might need an even better one.<|eor|><|sor|>For some reason people think it's good just because it has a very long period (2^19937 - 1)<... | 12 |
lolphp | Ipswitch84 | ce105mm | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|sor|>Because rand() is included for historical reasons (PHP doesn't know how to let bad things die), but mt_rand() is consistent across systems. Also, see this discussion http://www.reddit.com/r/lolphp/comments/1pvf3h/phps_mt_rand_random_number_ge... | 11 |
lolphp | Ipswitch84 | ce1038c | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|sor|>Also, mt_rand uses a mersenne twister, which isn't cryptographically secure, so depending on use case, you might need an even better one.<|eor|><|sor|>For some reason people think it's good just because it has a very long period (2^19937 - 1)<... | 10 |
lolphp | blueskin | ce5iw63 | <|sols|><|sot|>Why.<|eot|><|sol|>http://i.imgur.com/Htg0feG.png<|eol|><|sor|>function nsa_rand
Generate a... ah... better one... because the NSA told us to add it.<|eor|><|eols|><|endoftext|> | 9 |
lolphp | Miserable_Fuck | 6x8t6h | <|sols|><|sot|>"This argument doesn't do anything. Should we ship it?" "Sure! Why not!"<|eot|><|sol|>https://i.redd.it/yr5h24bfb4jz.png<|eol|><|eols|><|endoftext|> | 127 |
lolphp | SituationSoap | dme859b | <|sols|><|sot|>"This argument doesn't do anything. Should we ship it?" "Sure! Why not!"<|eot|><|sol|>https://i.redd.it/yr5h24bfb4jz.png<|eol|><|sor|>I feel like I'm missing some context, here.<|eor|><|eols|><|endoftext|> | 45 |
lolphp | myhf | dmeosdb | <|sols|><|sot|>"This argument doesn't do anything. Should we ship it?" "Sure! Why not!"<|eot|><|sol|>https://i.redd.it/yr5h24bfb4jz.png<|eol|><|sor|>I feel like I'm missing some context, here.<|eor|><|sor|>That's ok!<|eor|><|eols|><|endoftext|> | 17 |
lolphp | the_alias_of_andrea | dmf6zf2 | <|sols|><|sot|>"This argument doesn't do anything. Should we ship it?" "Sure! Why not!"<|eot|><|sol|>https://i.redd.it/yr5h24bfb4jz.png<|eol|><|sor|>What function is that? <|eor|><|sor|>It's [copy](https://secure.php.net/manual/en/function.copy.php) and this is the commit with the fix in if you're interested
https://g... | 16 |
lolphp | sproingie | dmlqbwb | <|sols|><|sot|>"This argument doesn't do anything. Should we ship it?" "Sure! Why not!"<|eot|><|sol|>https://i.redd.it/yr5h24bfb4jz.png<|eol|><|sor|>Still not adding unit tests to go along with a feature, eh PHP devs?<|eor|><|eols|><|endoftext|> | 11 |
lolphp | Radio0002 | dmect06 | <|sols|><|sot|>"This argument doesn't do anything. Should we ship it?" "Sure! Why not!"<|eot|><|sol|>https://i.redd.it/yr5h24bfb4jz.png<|eol|><|sor|>What function is that? <|eor|><|sor|>It's [copy](https://secure.php.net/manual/en/function.copy.php) and this is the commit with the fix in if you're interested
https://g... | 10 |
lolphp | bj_christianson | dmfhj59 | <|sols|><|sot|>"This argument doesn't do anything. Should we ship it?" "Sure! Why not!"<|eot|><|sol|>https://i.redd.it/yr5h24bfb4jz.png<|eol|><|sor|>I feel like I'm missing some context, here.<|eor|><|sor|>Nothing that cant be ignored.<|eor|><|eols|><|endoftext|> | 9 |
lolphp | RichardEyre | dme2cey | <|sols|><|sot|>"This argument doesn't do anything. Should we ship it?" "Sure! Why not!"<|eot|><|sol|>https://i.redd.it/yr5h24bfb4jz.png<|eol|><|sor|>What function is that? <|eor|><|eols|><|endoftext|> | 8 |
lolphp | HurfMcDerp | 2xw6n2 | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 130 |
lolphp | mrspoogemonstar | cp3yqj6 | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 82 |
lolphp | barubary | cp3xyck | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 28 |
lolphp | Hrukjan | cp3zyrv | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 28 |
lolphp | bart2019 | cp3yu3v | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 23 |
lolphp | mrspoogemonstar | cp413j3 | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 20 |
lolphp | PleaseRespectTables | cp3yqzg | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 20 |
lolphp | vytah | cp43lr9 | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 19 |
lolphp | thallippoli | cp3ydn2 | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 19 |
lolphp | VeXCe | cp41zzj | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 19 |
lolphp | callcifer | cp4j4yw | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 18 |
lolphp | callcifer | cp4xidg | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 18 |
lolphp | simonorono | cp3zcsz | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 14 |
lolphp | Sarcastinator | cp3zpcr | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 13 |
lolphp | HurfMcDerp | cp3y1ci | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 13 |
lolphp | HurfMcDerp | cp3y9kw | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 13 |
lolphp | polish_niceguy | cp3y44s | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 12 |
lolphp | sli | cqypefh | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 10 |
lolphp | allthediamonds | cp5qm9f | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 9 |
lolphp | serendependy | cp4lv1i | <|soss|><|sot|>"Nameless" labels.<|eot|><|sost|>I was browsing a GitHub repo of a PHP project when I noticed a weird function being used: `__("some text");`. "Huh, that's a weird function name," I thought, "I wonder what else you can use. Maybe something like that weird $() thing from jQuery?"
I open up the docs for ... | 9 |
lolphp | Altreus | ps6x5 | <|soss|><|sot|>0x0 wat<|eot|><|sost|> >>> 0x0 +2
4
>>> 0x0 +3.5
6.5
>>> 0x0 +2e1
757
:|
Here is an explanation I was provided with:
<mauke> once their lexer detects "0x", it skips all '0's, then calls strtol()
<mauke> so: tokptr = "0x0 +2;", toklen = 3
<mauke> skip 0x: tokptr = "0 ... | 126 |
lolphp | throwaway-o | c3rt9vz | <|soss|><|sot|>0x0 wat<|eot|><|sost|> >>> 0x0 +2
4
>>> 0x0 +3.5
6.5
>>> 0x0 +2e1
757
:|
Here is an explanation I was provided with:
<mauke> once their lexer detects "0x", it skips all '0's, then calls strtol()
<mauke> so: tokptr = "0x0 +2;", toklen = 3
<mauke> skip 0x: tokptr = "0 ... | 28 |
lolphp | ealf | c3sgjxg | <|soss|><|sot|>0x0 wat<|eot|><|sost|> >>> 0x0 +2
4
>>> 0x0 +3.5
6.5
>>> 0x0 +2e1
757
:|
Here is an explanation I was provided with:
<mauke> once their lexer detects "0x", it skips all '0's, then calls strtol()
<mauke> so: tokptr = "0x0 +2;", toklen = 3
<mauke> skip 0x: tokptr = "0 ... | 12 |
lolphp | EdiX | c3s43c7 | <|soss|><|sot|>0x0 wat<|eot|><|sost|> >>> 0x0 +2
4
>>> 0x0 +3.5
6.5
>>> 0x0 +2e1
757
:|
Here is an explanation I was provided with:
<mauke> once their lexer detects "0x", it skips all '0's, then calls strtol()
<mauke> so: tokptr = "0x0 +2;", toklen = 3
<mauke> skip 0x: tokptr = "0 ... | 9 |
lolphp | Porges | c3s0kbs | <|soss|><|sot|>0x0 wat<|eot|><|sost|> >>> 0x0 +2
4
>>> 0x0 +3.5
6.5
>>> 0x0 +2e1
757
:|
Here is an explanation I was provided with:
<mauke> once their lexer detects "0x", it skips all '0's, then calls strtol()
<mauke> so: tokptr = "0x0 +2;", toklen = 3
<mauke> skip 0x: tokptr = "0 ... | 6 |
lolphp | Pesthuf | 6gtwcs | <|soss|><|sot|>All months have 31 days.<|eot|><|sost|>I should have known. Of course I should have known.
So, what do you think is the Difference between 2017-**05-01** and 2017-**06-01**?
You got that right, of course it's 1 month.
https://3v4l.org/ZsDWN
And what is the difference in months between 2017-**06-01** ... | 122 |
lolphp | sloat | dit2dv8 | <|soss|><|sot|>All months have 31 days.<|eot|><|sost|>I should have known. Of course I should have known.
So, what do you think is the Difference between 2017-**05-01** and 2017-**06-01**?
You got that right, of course it's 1 month.
https://3v4l.org/ZsDWN
And what is the difference in months between 2017-**06-01** ... | 38 |
lolphp | Pesthuf | dit2o1i | <|soss|><|sot|>All months have 31 days.<|eot|><|sost|>I should have known. Of course I should have known.
So, what do you think is the Difference between 2017-**05-01** and 2017-**06-01**?
You got that right, of course it's 1 month.
https://3v4l.org/ZsDWN
And what is the difference in months between 2017-**06-01** ... | 21 |
lolphp | sloat | dit3aw5 | <|soss|><|sot|>All months have 31 days.<|eot|><|sost|>I should have known. Of course I should have known.
So, what do you think is the Difference between 2017-**05-01** and 2017-**06-01**?
You got that right, of course it's 1 month.
https://3v4l.org/ZsDWN
And what is the difference in months between 2017-**06-01** ... | 20 |
lolphp | Pesthuf | dit3cmf | <|soss|><|sot|>All months have 31 days.<|eot|><|sost|>I should have known. Of course I should have known.
So, what do you think is the Difference between 2017-**05-01** and 2017-**06-01**?
You got that right, of course it's 1 month.
https://3v4l.org/ZsDWN
And what is the difference in months between 2017-**06-01** ... | 15 |
lolphp | sloat | dit9psj | <|soss|><|sot|>All months have 31 days.<|eot|><|sost|>I should have known. Of course I should have known.
So, what do you think is the Difference between 2017-**05-01** and 2017-**06-01**?
You got that right, of course it's 1 month.
https://3v4l.org/ZsDWN
And what is the difference in months between 2017-**06-01** ... | 11 |
lolphp | ZiggyTheHamster | diukgm5 | <|soss|><|sot|>All months have 31 days.<|eot|><|sost|>I should have known. Of course I should have known.
So, what do you think is the Difference between 2017-**05-01** and 2017-**06-01**?
You got that right, of course it's 1 month.
https://3v4l.org/ZsDWN
And what is the difference in months between 2017-**06-01** ... | 9 |
lolphp | coredumperror | ditngex | <|soss|><|sot|>All months have 31 days.<|eot|><|sost|>I should have known. Of course I should have known.
So, what do you think is the Difference between 2017-**05-01** and 2017-**06-01**?
You got that right, of course it's 1 month.
https://3v4l.org/ZsDWN
And what is the difference in months between 2017-**06-01** ... | 8 |
lolphp | poop-trap | diug6mw | <|soss|><|sot|>All months have 31 days.<|eot|><|sost|>I should have known. Of course I should have known.
So, what do you think is the Difference between 2017-**05-01** and 2017-**06-01**?
You got that right, of course it's 1 month.
https://3v4l.org/ZsDWN
And what is the difference in months between 2017-**06-01** ... | 6 |
lolphp | InconsiderateBastard | dit2ghh | <|soss|><|sot|>All months have 31 days.<|eot|><|sost|>I should have known. Of course I should have known.
So, what do you think is the Difference between 2017-**05-01** and 2017-**06-01**?
You got that right, of course it's 1 month.
https://3v4l.org/ZsDWN
And what is the difference in months between 2017-**06-01** ... | 5 |
lolphp | Pesthuf | diujpfw | <|soss|><|sot|>All months have 31 days.<|eot|><|sost|>I should have known. Of course I should have known.
So, what do you think is the Difference between 2017-**05-01** and 2017-**06-01**?
You got that right, of course it's 1 month.
https://3v4l.org/ZsDWN
And what is the difference in months between 2017-**06-01** ... | 5 |
lolphp | tias | mwpstr | <|sols|><|sot|>A story of what it took to convince the PHP community to replace T_PAAMAYIM_NEKUDOTAYIM with a useful error message<|eot|><|sol|>https://phil.tech/2013/wtf-is-t-paamayim-nekudotayim/<|eol|><|eols|><|endoftext|> | 122 |
lolphp | tias | gvjjxuf | <|sols|><|sot|>A story of what it took to convince the PHP community to replace T_PAAMAYIM_NEKUDOTAYIM with a useful error message<|eot|><|sol|>https://phil.tech/2013/wtf-is-t-paamayim-nekudotayim/<|eol|><|soopr|>I think this story exemplifies a pattern that I sometimes see among software developers (and it surely exis... | 50 |
lolphp | Altreus | gvm2c8x | <|sols|><|sot|>A story of what it took to convince the PHP community to replace T_PAAMAYIM_NEKUDOTAYIM with a useful error message<|eot|><|sol|>https://phil.tech/2013/wtf-is-t-paamayim-nekudotayim/<|eol|><|soopr|>I think this story exemplifies a pattern that I sometimes see among software developers (and it surely exis... | 14 |
lolphp | tobiasvl | gvl8sfy | <|sols|><|sot|>A story of what it took to convince the PHP community to replace T_PAAMAYIM_NEKUDOTAYIM with a useful error message<|eot|><|sol|>https://phil.tech/2013/wtf-is-t-paamayim-nekudotayim/<|eol|><|sor|>Your post title made me think they'd actually replaced the token name, but that's not the case, right? They j... | 12 |
lolphp | smog_alado | gvq14h4 | <|sols|><|sot|>A story of what it took to convince the PHP community to replace T_PAAMAYIM_NEKUDOTAYIM with a useful error message<|eot|><|sol|>https://phil.tech/2013/wtf-is-t-paamayim-nekudotayim/<|eol|><|sor|>My favorite part of this story is that even after Felipe suggested the simple and obvious solution, the code ... | 7 |
lolphp | tending | gvm1wn5 | <|sols|><|sot|>A story of what it took to convince the PHP community to replace T_PAAMAYIM_NEKUDOTAYIM with a useful error message<|eot|><|sol|>https://phil.tech/2013/wtf-is-t-paamayim-nekudotayim/<|eol|><|soopr|>I think this story exemplifies a pattern that I sometimes see among software developers (and it surely exis... | 7 |
lolphp | beerdude26 | gvm0r1l | <|sols|><|sot|>A story of what it took to convince the PHP community to replace T_PAAMAYIM_NEKUDOTAYIM with a useful error message<|eot|><|sol|>https://phil.tech/2013/wtf-is-t-paamayim-nekudotayim/<|eol|><|soopr|>I think this story exemplifies a pattern that I sometimes see among software developers (and it surely exis... | 5 |
lolphp | tr4ce | 27ya0m | <|sols|><|sot|>PHP Streetfighter<|eot|><|sol|>http://imgur.com/iy6ymbc<|eol|><|eols|><|endoftext|> | 122 |
lolphp | ajmarks | ci5kkj9 | <|sols|><|sot|>PHP Streetfighter<|eot|><|sol|>http://imgur.com/iy6ymbc<|eol|><|sor|>This is more lolunmaintainablecode than lolphp, but it's still pretty funny.<|eor|><|eols|><|endoftext|> | 44 |
lolphp | jb2386 | ci5kvrk | <|sols|><|sot|>PHP Streetfighter<|eot|><|sol|>http://imgur.com/iy6ymbc<|eol|><|sor|>This isn't specific to PHP, it's just bad programming. But I like the creativity of streetfighter!<|eor|><|eols|><|endoftext|> | 24 |
lolphp | vytah | ci5rtov | <|sols|><|sot|>PHP Streetfighter<|eot|><|sol|>http://imgur.com/iy6ymbc<|eol|><|sor|>This is more lolunmaintainablecode than lolphp, but it's still pretty funny.<|eor|><|sor|>I'm disappointed that there isn't a lolunmaintainablecode reddit.<|eor|><|sor|>/r/badcode and /r/programminghorror<|eor|><|eols|><|endoftext|> | 23 |
lolphp | gavintlgold | ci5ofp5 | <|sols|><|sot|>PHP Streetfighter<|eot|><|sol|>http://imgur.com/iy6ymbc<|eol|><|sor|> $user = read_user(..);
and then later
create_user();
Global variables based on $_POST input? I wonder if they used PDO or even escaped anything....<|eor|><|sor|>:)<|eor|><|sor|>Aww, the bot thought I was sad because I posted ... | 22 |
lolphp | DontBeSadBOT | ci5odc0 | <|sols|><|sot|>PHP Streetfighter<|eot|><|sol|>http://imgur.com/iy6ymbc<|eol|><|sor|> $user = read_user(..);
and then later
create_user();
Global variables based on $_POST input? I wonder if they used PDO or even escaped anything....<|eor|><|sor|>:)<|eor|><|eols|><|endoftext|> | 16 |
lolphp | allthediamonds | ci5sgkz | <|sols|><|sot|>PHP Streetfighter<|eot|><|sol|>http://imgur.com/iy6ymbc<|eol|><|sor|>At first I thought it was skewed that way with photoshop. When it hit me that that was the actual code I almost got sick to my stomach :/<|eor|><|sor|>Well, at least it's indented...<|eor|><|eols|><|endoftext|> | 9 |
lolphp | OneWingedShark | ci63uif | <|sols|><|sot|>PHP Streetfighter<|eot|><|sol|>http://imgur.com/iy6ymbc<|eol|><|sor|>Jesus Christ that's not what the fucking session is for. <|eor|><|sor|>> Jesus Christ that's not what the fucking session is for.
***sigh*** - You and I both know that, but as a *very slight* defense here webprogramming is seriously d... | 9 |
lolphp | Breaking-Away | ci66uda | <|sols|><|sot|>PHP Streetfighter<|eot|><|sol|>http://imgur.com/iy6ymbc<|eol|><|sor|> $user = read_user(..);
and then later
create_user();
Global variables based on $_POST input? I wonder if they used PDO or even escaped anything....<|eor|><|sor|>:)<|eor|><|sor|>Aww, the bot thought I was sad because I posted ... | 5 |
lolphp | Takeoded | ecdhl0 | <|sols|><|sot|>segfault is intended behavior, not a bug.<|eot|><|sol|>https://bugs.php.net/bug.php?id=49664<|eol|><|eols|><|endoftext|> | 121 |
lolphp | Altreus | fbapn04 | <|sols|><|sot|>segfault is intended behavior, not a bug.<|eot|><|sol|>https://bugs.php.net/bug.php?id=49664<|eol|><|sor|>"This language can't stop you from doing something stupid."
Well it fucking should. Other languages manage it.<|eor|><|eols|><|endoftext|> | 55 |
lolphp | andsens | fbb88is | <|sols|><|sot|>segfault is intended behavior, not a bug.<|eot|><|sol|>https://bugs.php.net/bug.php?id=49664<|eol|><|sor|>> [2015-03-19 19:52 UTC] omars@php.net
> I'd say the best way to handle this, could be using an ini directive.
And there we have it, the proper fix for any PHP problem.<|eor|><|eols|><|endoftext|> | 40 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.