subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
lolphp | maweki | d04u3hu | <|sols|><|sot|>Typofixing commit in Mersenne twister RNG code is reverted (because code might depend on it)<|eot|><|sol|>https://github.com/php/php-src/commit/a0724d30817600540946b41e40f4cfc2a0c30f80<|eol|><|sor|>This commit is unfortunately not wrong. Producing repeatable sequences of pseudorandom numbers is an import... | 13 |
lolphp | audaxxx | d05420j | <|sols|><|sot|>Typofixing commit in Mersenne twister RNG code is reverted (because code might depend on it)<|eot|><|sol|>https://github.com/php/php-src/commit/a0724d30817600540946b41e40f4cfc2a0c30f80<|eol|><|sor|>/u/the_alias_of_andrea predicted that: https://www.reddit.com/r/lolphp/comments/467ykt/oops_theres_a_typo_i... | 11 |
lolphp | the_alias_of_andrea | d054cnu | <|sols|><|sot|>Typofixing commit in Mersenne twister RNG code is reverted (because code might depend on it)<|eot|><|sol|>https://github.com/php/php-src/commit/a0724d30817600540946b41e40f4cfc2a0c30f80<|eol|><|sor|>Why remove the test, instead of changing it to match the current output? <|eor|><|sor|>I've gone and restor... | 11 |
lolphp | phoshi | d055688 | <|sols|><|sot|>Typofixing commit in Mersenne twister RNG code is reverted (because code might depend on it)<|eot|><|sol|>https://github.com/php/php-src/commit/a0724d30817600540946b41e40f4cfc2a0c30f80<|eol|><|sor|>This commit is unfortunately not wrong. Producing repeatable sequences of pseudorandom numbers is an import... | 11 |
lolphp | ilogik | d04wvip | <|sols|><|sot|>Typofixing commit in Mersenne twister RNG code is reverted (because code might depend on it)<|eot|><|sol|>https://github.com/php/php-src/commit/a0724d30817600540946b41e40f4cfc2a0c30f80<|eol|><|sor|>Why remove the test, instead of changing it to match the current output? <|eor|><|eols|><|endoftext|> | 9 |
lolphp | the_alias_of_andrea | d0552tb | <|sols|><|sot|>Typofixing commit in Mersenne twister RNG code is reverted (because code might depend on it)<|eot|><|sol|>https://github.com/php/php-src/commit/a0724d30817600540946b41e40f4cfc2a0c30f80<|eol|><|sor|>Did anyone check the output of the broken Mersenne-Twister if it's even random?
(to the point that statist... | 9 |
lolphp | maweki | d05b6ik | <|sols|><|sot|>Typofixing commit in Mersenne twister RNG code is reverted (because code might depend on it)<|eot|><|sol|>https://github.com/php/php-src/commit/a0724d30817600540946b41e40f4cfc2a0c30f80<|eol|><|sor|>Why remove the test, instead of changing it to match the current output? <|eor|><|sor|>I've gone and restor... | 9 |
lolphp | LeThrownAway | d051iq5 | <|sols|><|sot|>Typofixing commit in Mersenne twister RNG code is reverted (because code might depend on it)<|eot|><|sol|>https://github.com/php/php-src/commit/a0724d30817600540946b41e40f4cfc2a0c30f80<|eol|><|sor|>https://xkcd.com/1172/<|eor|><|eols|><|endoftext|> | 8 |
lolphp | leighzaru | d05zwgg | <|sols|><|sot|>Typofixing commit in Mersenne twister RNG code is reverted (because code might depend on it)<|eot|><|sol|>https://github.com/php/php-src/commit/a0724d30817600540946b41e40f4cfc2a0c30f80<|eol|><|sor|>Did anyone check the output of the broken Mersenne-Twister if it's even random?
(to the point that statist... | 8 |
lolphp | the_alias_of_andrea | d05q7y4 | <|sols|><|sot|>Typofixing commit in Mersenne twister RNG code is reverted (because code might depend on it)<|eot|><|sol|>https://github.com/php/php-src/commit/a0724d30817600540946b41e40f4cfc2a0c30f80<|eol|><|sor|>Did anyone check the output of the broken Mersenne-Twister if it's even random?
(to the point that statist... | 5 |
lolphp | Scaliwag | d056ahl | <|sols|><|sot|>Typofixing commit in Mersenne twister RNG code is reverted (because code might depend on it)<|eot|><|sol|>https://github.com/php/php-src/commit/a0724d30817600540946b41e40f4cfc2a0c30f80<|eol|><|sor|>This commit is unfortunately not wrong. Producing repeatable sequences of pseudorandom numbers is an import... | 5 |
lolphp | jdiez17 | 27tvkw | <|sols|><|sot|>Code coverage: 0.3%. Expected Test Failures: 40. Test Failures: 103. Build Status: OK<|eot|><|sol|>http://gcov.php.net/viewer.php?version=PHP_5_6<|eol|><|eols|><|endoftext|> | 88 |
lolphp | captainramen | ci4kpew | <|sols|><|sot|>Code coverage: 0.3%. Expected Test Failures: 40. Test Failures: 103. Build Status: OK<|eot|><|sol|>http://gcov.php.net/viewer.php?version=PHP_5_6<|eol|><|sor|>It's a (display) bug. They are working on it.
http://marc.info/?t=140191255500004&r=1&w=2
<|eor|><|sor|>Let me guess, that page is written in php... | 29 |
lolphp | ajmarks | ci4dwfm | <|sols|><|sot|>Code coverage: 0.3%. Expected Test Failures: 40. Test Failures: 103. Build Status: OK<|eot|><|sol|>http://gcov.php.net/viewer.php?version=PHP_5_6<|eol|><|sor|>Hey, in their defense they exceeded the number of expected failures by less than 200%, so that's something novel and unexpected.<|eor|><|eols|><|e... | 23 |
lolphp | ajmarks | ci4sr40 | <|sols|><|sot|>Code coverage: 0.3%. Expected Test Failures: 40. Test Failures: 103. Build Status: OK<|eot|><|sol|>http://gcov.php.net/viewer.php?version=PHP_5_6<|eol|><|sor|>The actual code coverage is 70%, as listed on http://gcov.php.net/viewer.php?version=PHP_5_4. The display for the newer versions is just broken.
... | 19 |
lolphp | nikic | ci4mn75 | <|sols|><|sot|>Code coverage: 0.3%. Expected Test Failures: 40. Test Failures: 103. Build Status: OK<|eot|><|sol|>http://gcov.php.net/viewer.php?version=PHP_5_6<|eol|><|sor|>The actual code coverage is 70%, as listed on http://gcov.php.net/viewer.php?version=PHP_5_4. The display for the newer versions is just broken.
... | 17 |
lolphp | captainramen | ci4skp0 | <|sols|><|sot|>Code coverage: 0.3%. Expected Test Failures: 40. Test Failures: 103. Build Status: OK<|eot|><|sol|>http://gcov.php.net/viewer.php?version=PHP_5_6<|eol|><|sor|>The actual code coverage is 70%, as listed on http://gcov.php.net/viewer.php?version=PHP_5_4. The display for the newer versions is just broken.
... | 17 |
lolphp | cbraga | ci4quva | <|sols|><|sot|>Code coverage: 0.3%. Expected Test Failures: 40. Test Failures: 103. Build Status: OK<|eot|><|sol|>http://gcov.php.net/viewer.php?version=PHP_5_6<|eol|><|sor|>The actual code coverage is 70%, as listed on http://gcov.php.net/viewer.php?version=PHP_5_4. The display for the newer versions is just broken.
... | 15 |
lolphp | DoctorWaluigiTime | ci4gkrx | <|sols|><|sot|>Code coverage: 0.3%. Expected Test Failures: 40. Test Failures: 103. Build Status: OK<|eot|><|sol|>http://gcov.php.net/viewer.php?version=PHP_5_6<|eol|><|sor|>The code coverage metric doesn't bother me so much. Gotta start somewhere, after all.
Any "OK" status concerning failing tests greater than 0 is ... | 8 |
lolphp | Reddy360 | 31nnji | <|soss|><|sot|>So, I checked my error logs<|eot|><|sost|>PHP Warning: Unknown: function '-1' not found or invalid function name in Unknown on line 0<|eost|><|eoss|><|endoftext|> | 90 |
lolphp | cite-reader | cq3bvv1 | <|soss|><|sot|>So, I checked my error logs<|eot|><|sost|>PHP Warning: Unknown: function '-1' not found or invalid function name in Unknown on line 0<|eost|><|sor|>I... wait... *What?*
***How?***
(Brain explodes.)
----
Actually, it could be variable-function redirection.
<?php
function hi()
... | 24 |
lolphp | redfacedquark | cq3eaoo | <|soss|><|sot|>So, I checked my error logs<|eot|><|sost|>PHP Warning: Unknown: function '-1' not found or invalid function name in Unknown on line 0<|eost|><|sor|>I... wait... *What?*
***How?***
(Brain explodes.)
----
Actually, it could be variable-function redirection.
<?php
function hi()
... | 24 |
lolphp | OneWingedShark | cq39tx0 | <|soss|><|sot|>So, I checked my error logs<|eot|><|sost|>PHP Warning: Unknown: function '-1' not found or invalid function name in Unknown on line 0<|eost|><|sor|>I... wait... *What?*
***How?***
(Brain explodes.)
----
Actually, it could be variable-function redirection.
<?php
function hi()
... | 17 |
lolphp | fiskfisk | cq3en8j | <|soss|><|sot|>So, I checked my error logs<|eot|><|sost|>PHP Warning: Unknown: function '-1' not found or invalid function name in Unknown on line 0<|eost|><|sor|>I... wait... *What?*
***How?***
(Brain explodes.)
----
Actually, it could be variable-function redirection.
<?php
function hi()
... | 11 |
lolphp | OneWingedShark | cq3crft | <|soss|><|sot|>So, I checked my error logs<|eot|><|sost|>PHP Warning: Unknown: function '-1' not found or invalid function name in Unknown on line 0<|eost|><|sor|>I... wait... *What?*
***How?***
(Brain explodes.)
----
Actually, it could be variable-function redirection.
<?php
function hi()
... | 9 |
lolphp | shvelo | cq3wv5f | <|soss|><|sot|>So, I checked my error logs<|eot|><|sost|>PHP Warning: Unknown: function '-1' not found or invalid function name in Unknown on line 0<|eost|><|sor|>I... wait... *What?*
***How?***
(Brain explodes.)
----
Actually, it could be variable-function redirection.
<?php
function hi()
... | 7 |
lolphp | OneWingedShark | cq42s9i | <|soss|><|sot|>So, I checked my error logs<|eot|><|sost|>PHP Warning: Unknown: function '-1' not found or invalid function name in Unknown on line 0<|eost|><|sor|>I... wait... *What?*
***How?***
(Brain explodes.)
----
Actually, it could be variable-function redirection.
<?php
function hi()
... | 5 |
lolphp | rifter5000 | cqa68za | <|soss|><|sot|>So, I checked my error logs<|eot|><|sost|>PHP Warning: Unknown: function '-1' not found or invalid function name in Unknown on line 0<|eost|><|sor|>I... wait... *What?*
***How?***
(Brain explodes.)
----
Actually, it could be variable-function redirection.
<?php
function hi()
... | 5 |
lolphp | petdance | qeq7k | <|sols|><|sot|>PHP 5.4.0 ships with 82 failing tests in the suite. Why bother having a test suite at all?<|eot|><|sol|>http://gcov.php.net/viewer.php?version=PHP_5_4<|eol|><|eols|><|endoftext|> | 90 |
lolphp | petdance | c3x1hkx | <|sols|><|sot|>PHP 5.4.0 ships with 82 failing tests in the suite. Why bother having a test suite at all?<|eot|><|sol|>http://gcov.php.net/viewer.php?version=PHP_5_4<|eol|><|sor|>Of which are 44 "expected" test failures. Sometimes, you need this. But not when your tests are triggering segfaults on script execution.
Ye... | 24 |
lolphp | petdance | c3x6u7a | <|sols|><|sot|>PHP 5.4.0 ships with 82 failing tests in the suite. Why bother having a test suite at all?<|eot|><|sol|>http://gcov.php.net/viewer.php?version=PHP_5_4<|eol|><|sor|>I think you're being unfair, or in the least, you didn't investigate it much.
Here's the results of investigating just a few of the [failure... | 23 |
lolphp | rdude | c3xxe1c | <|sols|><|sot|>PHP 5.4.0 ships with 82 failing tests in the suite. Why bother having a test suite at all?<|eot|><|sol|>http://gcov.php.net/viewer.php?version=PHP_5_4<|eol|><|sor|>Hey, at least it's an improvement from 5.3.0:
http://gcov.php.net/viewer.php?version=PHP_5_3
>**Compile Errors:** 1
The real magic is that ... | 11 |
lolphp | petdance | c3x7ble | <|sols|><|sot|>PHP 5.4.0 ships with 82 failing tests in the suite. Why bother having a test suite at all?<|eot|><|sol|>http://gcov.php.net/viewer.php?version=PHP_5_4<|eol|><|sor|>I think you're being unfair, or in the least, you didn't investigate it much.
Here's the results of investigating just a few of the [failure... | 11 |
lolphp | ealf | c3xcvh4 | <|sols|><|sot|>PHP 5.4.0 ships with 82 failing tests in the suite. Why bother having a test suite at all?<|eot|><|sol|>http://gcov.php.net/viewer.php?version=PHP_5_4<|eol|><|sor|>http://gcov.php.net/viewer.php?version=PHP_5_4&func=tests&file=ext%2Fcurl%2Ftests%2Fcurl_file_deleted_before_curl_close.phpt
Wow<|eor|><|eol... | 9 |
lolphp | big_trike | c3z0vva | <|sols|><|sot|>PHP 5.4.0 ships with 82 failing tests in the suite. Why bother having a test suite at all?<|eot|><|sol|>http://gcov.php.net/viewer.php?version=PHP_5_4<|eol|><|sor|>I've never had all tests pass in the 11 years I've been using PHP.<|eor|><|eols|><|endoftext|> | 8 |
lolphp | Takeoded | epjogv | <|sols|><|sot|>php should add DateTime::REAL_ISO8601<|eot|><|sol|>https://i.redd.it/3va17h6uc5b41.png<|eol|><|eols|><|endoftext|> | 87 |
lolphp | Takeoded | fejqm00 | <|sols|><|sot|>php should add DateTime::REAL_ISO8601<|eot|><|sol|>https://i.redd.it/3va17h6uc5b41.png<|eol|><|soopr|>(.. i just had to write a bugreport explaining why one should not use PHP's DateTime::ISO8601)<|eoopr|><|eols|><|endoftext|> | 21 |
lolphp | sproingie | felu01n | <|sols|><|sot|>php should add DateTime::REAL_ISO8601<|eot|><|sol|>https://i.redd.it/3va17h6uc5b41.png<|eol|><|sor|>Even better, `DateTime::ATOM` can't parse microseconds in the timestamp. So look forward to `DateTime::REAL_ATOM` sometime.<|eor|><|eols|><|endoftext|> | 21 |
lolphp | badmonkey0001 | fekk1iy | <|sols|><|sot|>php should add DateTime::REAL_ISO8601<|eot|><|sol|>https://i.redd.it/3va17h6uc5b41.png<|eol|><|sor|>ISO 8601 has had 5 major revisions over the past 22 years. It's a moving target. 8061 also contains multiple standardized formats, [which do not always agree](https://devland.at/a/iso-8601-dates-in-php-and... | 14 |
lolphp | badmonkey0001 | fekcmaa | <|sols|><|sot|>php should add DateTime::REAL_ISO8601<|eot|><|sol|>https://i.redd.it/3va17h6uc5b41.png<|eol|><|sor|>ISO 8601 has had 5 major revisions over the past 22 years. It's a moving target. 8061 also contains multiple standardized formats, [which do not always agree](https://devland.at/a/iso-8601-dates-in-php-and... | 13 |
lolphp | badmonkey0001 | fekbwwf | <|sols|><|sot|>php should add DateTime::REAL_ISO8601<|eot|><|sol|>https://i.redd.it/3va17h6uc5b41.png<|eol|><|sor|>ISO 8601 has had 5 major revisions over the past 22 years. It's a moving target. 8061 also contains multiple standardized formats, [which do not always agree](https://devland.at/a/iso-8601-dates-in-php-and... | 9 |
lolphp | orondf343 | fekw98e | <|sols|><|sot|>php should add DateTime::REAL_ISO8601<|eot|><|sol|>https://i.redd.it/3va17h6uc5b41.png<|eol|><|sor|>r/iso8601<|eor|><|eols|><|endoftext|> | 8 |
lolphp | Miserable_Fuck | feldr5o | <|sols|><|sot|>php should add DateTime::REAL_ISO8601<|eot|><|sol|>https://i.redd.it/3va17h6uc5b41.png<|eol|><|sor|>ISO 8601 has had 5 major revisions over the past 22 years. It's a moving target. 8061 also contains multiple standardized formats, [which do not always agree](https://devland.at/a/iso-8601-dates-in-php-and... | 8 |
lolphp | CarnivorousSociety | fek3t7d | <|sols|><|sot|>php should add DateTime::REAL_ISO8601<|eot|><|sol|>https://i.redd.it/3va17h6uc5b41.png<|eol|><|soopr|>(.. i just had to write a bugreport explaining why one should not use PHP's DateTime::ISO8601)<|eoopr|><|sor|>Should link it<|eor|><|eols|><|endoftext|> | 6 |
lolphp | sproingie | femwqvj | <|sols|><|sot|>php should add DateTime::REAL_ISO8601<|eot|><|sol|>https://i.redd.it/3va17h6uc5b41.png<|eol|><|sor|>ISO 8601 has had 5 major revisions over the past 22 years. It's a moving target. 8061 also contains multiple standardized formats, [which do not always agree](https://devland.at/a/iso-8601-dates-in-php-and... | 6 |
lolphp | grimnebulin | 3cswmr | <|sols|><|sot|>Here's one that's been sitting on my desktop for awhile I like to call it "February doesn't count"<|eot|><|sol|>http://i.imgur.com/CAkt9S5.png<|eol|><|eols|><|endoftext|> | 88 |
lolphp | galaktos | csyv7ww | <|sols|><|sot|>Here's one that's been sitting on my desktop for awhile I like to call it "February doesn't count"<|eot|><|sol|>http://i.imgur.com/CAkt9S5.png<|eol|><|sor|>https://secure.php.net/manual/en/datetime.createfromformat.php
If format does not contain the character ! then portions of the generated time which... | 25 |
lolphp | soIheard | csymi55 | <|sols|><|sot|>Here's one that's been sitting on my desktop for awhile I like to call it "February doesn't count"<|eot|><|sol|>http://i.imgur.com/CAkt9S5.png<|eol|><|sor|>https://secure.php.net/manual/en/datetime.createfromformat.php
If format does not contain the character ! then portions of the generated time which... | 21 |
lolphp | Rhomboid | csyoynt | <|sols|><|sot|>Here's one that's been sitting on my desktop for awhile I like to call it "February doesn't count"<|eot|><|sol|>http://i.imgur.com/CAkt9S5.png<|eol|><|sor|>It's setting the day to 30 in each case, and 2-30 is normalized to 3-2. You must have run this on the 30th day of the month. The documentation doe... | 13 |
lolphp | grimnebulin | csyp5bs | <|sols|><|sot|>Here's one that's been sitting on my desktop for awhile I like to call it "February doesn't count"<|eot|><|sol|>http://i.imgur.com/CAkt9S5.png<|eol|><|sor|>It's setting the day to 30 in each case, and 2-30 is normalized to 3-2. You must have run this on the 30th day of the month. The documentation doe... | 12 |
lolphp | galaktos | cszoax2 | <|sols|><|sot|>Here's one that's been sitting on my desktop for awhile I like to call it "February doesn't count"<|eot|><|sol|>http://i.imgur.com/CAkt9S5.png<|eol|><|sor|>https://secure.php.net/manual/en/datetime.createfromformat.php
If format does not contain the character ! then portions of the generated time which... | 12 |
lolphp | ZiggyTheHamster | csyuixz | <|sols|><|sot|>Here's one that's been sitting on my desktop for awhile I like to call it "February doesn't count"<|eot|><|sol|>http://i.imgur.com/CAkt9S5.png<|eol|><|sor|>It's setting the day to 30 in each case, and 2-30 is normalized to 3-2. You must have run this on the 30th day of the month. The documentation doe... | 12 |
lolphp | ZiggyTheHamster | csyv93t | <|sols|><|sot|>Here's one that's been sitting on my desktop for awhile I like to call it "February doesn't count"<|eot|><|sol|>http://i.imgur.com/CAkt9S5.png<|eol|><|sor|>It's setting the day to 30 in each case, and 2-30 is normalized to 3-2. You must have run this on the 30th day of the month. The documentation doe... | 12 |
lolphp | Kwpolska | ct0jh9e | <|sols|><|sot|>Here's one that's been sitting on my desktop for awhile I like to call it "February doesn't count"<|eot|><|sol|>http://i.imgur.com/CAkt9S5.png<|eol|><|sor|>It's setting the day to 30 in each case, and 2-30 is normalized to 3-2. You must have run this on the 30th day of the month. The documentation doe... | 8 |
lolphp | myaut | csz4sfq | <|sols|><|sot|>Here's one that's been sitting on my desktop for awhile I like to call it "February doesn't count"<|eot|><|sol|>http://i.imgur.com/CAkt9S5.png<|eol|><|sor|>It's setting the day to 30 in each case, and 2-30 is normalized to 3-2. You must have run this on the 30th day of the month. The documentation doe... | 7 |
lolphp | Mmarco94 | 6145pc | <|sols|><|sot|>Obviously<|eot|><|sol|>https://i.redd.it/upw6y8vso7ny.png<|eol|><|eols|><|endoftext|> | 86 |
lolphp | suspiciously_calm | dfbjqw7 | <|sols|><|sot|>Obviously<|eot|><|sol|>https://i.redd.it/upw6y8vso7ny.png<|eol|><|sor|>Well at least that is actually an equivalence relation.<|eor|><|eols|><|endoftext|> | 26 |
lolphp | the_alias_of_andrea | dfcu5io | <|sols|><|sot|>Obviously<|eot|><|sol|>https://i.redd.it/upw6y8vso7ny.png<|eol|><|sor|>I wondered if it maybe used that unusual rule because it was sticking all the values into another array as keys (and thus converting them to strings).
[Yep.](https://github.com/php/php-src/blob/56269af46c8f6d2863ec94d2d79f0c3656ef1ca... | 12 |
lolphp | Mmarco94 | dfir64s | <|sols|><|sot|>Obviously<|eot|><|sol|>https://i.redd.it/upw6y8vso7ny.png<|eol|><|sor|>So, what's the better approach? Only be able to compare objects that implement a compare interface?<|eor|><|soopr|>Using == (or, even better ===) like in every other method<|eoopr|><|eols|><|endoftext|> | 6 |
lolphp | sim642 | 3fq8su | <|sols|><|sot|>the following comment *may be* factually incorrect<|eot|><|sol|>https://secure.php.net/manual/en/function.uksort.php#116662<|eol|><|eols|><|endoftext|> | 86 |
lolphp | iWaterPlants | ctr3jc6 | <|sols|><|sot|>the following comment *may be* factually incorrect<|eot|><|sol|>https://secure.php.net/manual/en/function.uksort.php#116662<|eol|><|sor|>This made me laugh harder than it should.<|eor|><|eols|><|endoftext|> | 22 |
lolphp | freeaddition | ctrbs3u | <|sols|><|sot|>the following comment *may be* factually incorrect<|eot|><|sol|>https://secure.php.net/manual/en/function.uksort.php#116662<|eol|><|sor|>[deleted]<|eor|><|sor|>You should create a microservice hosted in a UK datacenter, and then sort your arrays by passing them off to the sorting service. That way you ca... | 18 |
lolphp | maweki | cts49rs | <|sols|><|sot|>the following comment *may be* factually incorrect<|eot|><|sol|>https://secure.php.net/manual/en/function.uksort.php#116662<|eol|><|sor|>The real wtf is, that the php docs even have a comments section. Even more wtf, that it is often times needed.<|eor|><|eols|><|endoftext|> | 16 |
lolphp | TheBuzzSaw | ctr3zf8 | <|sols|><|sot|>the following comment *may be* factually incorrect<|eot|><|sol|>https://secure.php.net/manual/en/function.uksort.php#116662<|eol|><|sor|>Well, when are we going to receive verification that it is or is not?<|eor|><|eols|><|endoftext|> | 11 |
lolphp | polish_niceguy | ctronex | <|sols|><|sot|>the following comment *may be* factually incorrect<|eot|><|sol|>https://secure.php.net/manual/en/function.uksort.php#116662<|eol|><|sor|>Poor uasort(), annexed by Putin :(<|eor|><|eols|><|endoftext|> | 9 |
lolphp | FionaSarah | ctumwpe | <|sols|><|sot|>the following comment *may be* factually incorrect<|eot|><|sol|>https://secure.php.net/manual/en/function.uksort.php#116662<|eol|><|sor|>The real wtf is, that the php docs even have a comments section. Even more wtf, that it is often times needed.<|eor|><|sor|>A bigger wtf is the number of php devs that ... | 9 |
lolphp | myaut | cts74vh | <|sols|><|sot|>the following comment *may be* factually incorrect<|eot|><|sol|>https://secure.php.net/manual/en/function.uksort.php#116662<|eol|><|sor|>If you want to write cross-_country_ code, do not use `uksort()`.<|eor|><|eols|><|endoftext|> | 8 |
lolphp | Tychuz | ctrtow0 | <|sols|><|sot|>the following comment *may be* factually incorrect<|eot|><|sol|>https://secure.php.net/manual/en/function.uksort.php#116662<|eol|><|sor|>What's funny (or sad, if you're a PHP developer) - I actually wouldn't be surprised if some functions starting with uk would be tailored just for UK...<|eor|><|eols|><|... | 7 |
lolphp | CornPlanter | ctr4lrq | <|sols|><|sot|>the following comment *may be* factually incorrect<|eot|><|sol|>https://secure.php.net/manual/en/function.uksort.php#116662<|eol|><|sor|>My buddy lives in UK and he confirms he can use uksort!<|eor|><|eols|><|endoftext|> | 6 |
lolphp | sli | ctref37 | <|sols|><|sot|>the following comment *may be* factually incorrect<|eot|><|sol|>https://secure.php.net/manual/en/function.uksort.php#116662<|eol|><|sor|>[deleted]<|eor|><|sor|>You should create a microservice hosted in a UK datacenter, and then sort your arrays by passing them off to the sorting service. That way you ca... | 5 |
lolphp | re_anon | 6mexg9 | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|eols|><|endoftext|... | 86 |
lolphp | graingert | dk1mkyy | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>If your appli... | 32 |
lolphp | the_alias_of_andrea | dk1pzxt | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>If your appli... | 22 |
lolphp | rabidferret | dk1eo9e | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>That's becaus... | 21 |
lolphp | graingert | dk1w963 | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>If your appli... | 19 |
lolphp | the_alias_of_andrea | dk1ws6f | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>That's becaus... | 19 |
lolphp | the_alias_of_andrea | dk1q1as | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>Why didn't th... | 18 |
lolphp | iluuu | dk14tvy | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>That's becaus... | 17 |
lolphp | the_alias_of_andrea | dk1pxmm | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>Ah, someone n... | 15 |
lolphp | pilif | dk275sq | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>If your appli... | 14 |
lolphp | iheartrms | dk1t1rq | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>Why didn't th... | 13 |
lolphp | the_alias_of_andrea | dk1py75 | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>That's becaus... | 12 |
lolphp | wibblewafs | dk1l5me | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>Why didn't th... | 9 |
lolphp | Danack | dktfb8j | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>If your appli... | 8 |
lolphp | the_alias_of_andrea | dk3k4o1 | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>That's becaus... | 6 |
lolphp | mikeputerbaugh | dk1gcuy | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>If your appli... | 5 |
lolphp | BilgeXA | dk1e1jk | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>That's becaus... | 5 |
lolphp | rabidferret | dk3k7sf | <|sols|><|sot|>Because PHP's implementation contains a bug. Thus, this test actually checks to make sure that PHP's behaviour is wrong, but consistently so.<|eot|><|sol|>https://github.com/php/php-src/blob/a50c31da1917bb07b3c11f229125ab8d1f0b9b70/ext/standard/tests/math/mt_rand_value.phpt#L20<|eol|><|sor|>That's becaus... | 5 |
lolphp | perkia | 4tfmf3 | <|sols|><|sot|>In retrospect having the function return an integer maybe wasn't the best idea<|eot|><|sol|>https://secure.php.net/manual/en/function.crc32.php<|eol|><|eols|><|endoftext|> | 86 |
lolphp | kafoso | d5gxu3r | <|sols|><|sot|>In retrospect having the function return an integer maybe wasn't the best idea<|eot|><|sol|>https://secure.php.net/manual/en/function.crc32.php<|eol|><|sor|>At least someone had the courtesy of making a big **BASICALLY, DON'T USE THIS** disclaimer in the API. And even if you must use it, there's a detail... | 36 |
lolphp | perkia | d5gyk2w | <|sols|><|sot|>In retrospect having the function return an integer maybe wasn't the best idea<|eot|><|sol|>https://secure.php.net/manual/en/function.crc32.php<|eol|><|sor|>At least someone had the courtesy of making a big **BASICALLY, DON'T USE THIS** disclaimer in the API. And even if you must use it, there's a detail... | 23 |
lolphp | n0t0ri0us9 | d5gzf8l | <|sols|><|sot|>In retrospect having the function return an integer maybe wasn't the best idea<|eot|><|sol|>https://secure.php.net/manual/en/function.crc32.php<|eol|><|sor|>At least someone had the courtesy of making a big **BASICALLY, DON'T USE THIS** disclaimer in the API. And even if you must use it, there's a detail... | 21 |
lolphp | siplux | d5haopg | <|sols|><|sot|>In retrospect having the function return an integer maybe wasn't the best idea<|eot|><|sol|>https://secure.php.net/manual/en/function.crc32.php<|eol|><|sor|>At least someone had the courtesy of making a big **BASICALLY, DON'T USE THIS** disclaimer in the API. And even if you must use it, there's a detail... | 21 |
lolphp | ioctl79 | d5h5aq8 | <|sols|><|sot|>In retrospect having the function return an integer maybe wasn't the best idea<|eot|><|sol|>https://secure.php.net/manual/en/function.crc32.php<|eol|><|sor|>At least someone had the courtesy of making a big **BASICALLY, DON'T USE THIS** disclaimer in the API. And even if you must use it, there's a detail... | 17 |
lolphp | siplux | d5h8z90 | <|sols|><|sot|>In retrospect having the function return an integer maybe wasn't the best idea<|eot|><|sol|>https://secure.php.net/manual/en/function.crc32.php<|eol|><|sor|>At least someone had the courtesy of making a big **BASICALLY, DON'T USE THIS** disclaimer in the API. And even if you must use it, there's a detail... | 16 |
lolphp | Miserable_Fuck | d5ho948 | <|sols|><|sot|>In retrospect having the function return an integer maybe wasn't the best idea<|eot|><|sol|>https://secure.php.net/manual/en/function.crc32.php<|eol|><|sor|>At least someone had the courtesy of making a big **BASICALLY, DON'T USE THIS** disclaimer in the API. And even if you must use it, there's a detail... | 10 |
lolphp | DoctorWaluigiTime | d5i037t | <|sols|><|sot|>In retrospect having the function return an integer maybe wasn't the best idea<|eot|><|sol|>https://secure.php.net/manual/en/function.crc32.php<|eol|><|sor|>At least someone had the courtesy of making a big **BASICALLY, DON'T USE THIS** disclaimer in the API. And even if you must use it, there's a detail... | 10 |
lolphp | the_alias_of_andrea | d5gy8n9 | <|sols|><|sot|>In retrospect having the function return an integer maybe wasn't the best idea<|eot|><|sol|>https://secure.php.net/manual/en/function.crc32.php<|eol|><|sor|>Yeah, PHP's lack of unsigned integers mixed with C programmers pretending they exist anyway when writing PHP extensions has led to a few embarrassin... | 9 |
lolphp | Rainfly_X | d5i6cxc | <|sols|><|sot|>In retrospect having the function return an integer maybe wasn't the best idea<|eot|><|sol|>https://secure.php.net/manual/en/function.crc32.php<|eol|><|sor|>At least someone had the courtesy of making a big **BASICALLY, DON'T USE THIS** disclaimer in the API. And even if you must use it, there's a detail... | 8 |
lolphp | mort96 | d5hxg59 | <|sols|><|sot|>In retrospect having the function return an integer maybe wasn't the best idea<|eot|><|sol|>https://secure.php.net/manual/en/function.crc32.php<|eol|><|sor|>Or they could have just had it return signed on both 32 and 64 bit.<|eor|><|sor|>They do return signed on both 32 and 64 bit, but 64 bit signed numb... | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.