subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
lolphp | the_alias_of_andrea | cxmi8h5 | <|sols|><|sot|>PHP 7 has just been released. So what's fixed and what's still hopelessly broken?<|eot|><|sol|>https://github.com/php/php-src/releases/tag/php-7.0.0<|eol|><|sor|>Per /u/antpocus over on /r/programming:
> Ooh, only 137 compiler warnings and > 102 failed tests! That's a huge
> improvement from 5.6's 638
... | 10 |
lolphp | coredumperror | cxkqbqg | <|sols|><|sot|>PHP 7 has just been released. So what's fixed and what's still hopelessly broken?<|eot|><|sol|>https://github.com/php/php-src/releases/tag/php-7.0.0<|eol|><|sor|>> what's still hopelessly broken?
PHP still not a deprecated language?<|eor|><|sor|>PHP 7 is far far far less shittier than PHP 5.2/3 was.<|eo... | 9 |
lolphp | suspiciously_calm | cxkvjee | <|sols|><|sot|>PHP 7 has just been released. So what's fixed and what's still hopelessly broken?<|eot|><|sol|>https://github.com/php/php-src/releases/tag/php-7.0.0<|eol|><|sor|>> what's still hopelessly broken?
PHP still not a deprecated language?<|eor|><|sor|>PHP 7 is far far far less shittier than PHP 5.2/3 was.<|eo... | 9 |
lolphp | gearvOsh | cxlej5c | <|sols|><|sot|>PHP 7 has just been released. So what's fixed and what's still hopelessly broken?<|eot|><|sol|>https://github.com/php/php-src/releases/tag/php-7.0.0<|eol|><|sor|>> what's still hopelessly broken?
PHP still not a deprecated language?<|eor|><|sor|>PHP 7 is far far far less shittier than PHP 5.2/3 was.<|eo... | 8 |
lolphp | Creshal | cxmtb0h | <|sols|><|sot|>PHP 7 has just been released. So what's fixed and what's still hopelessly broken?<|eot|><|sol|>https://github.com/php/php-src/releases/tag/php-7.0.0<|eol|><|sor|>Off the top of my head, unicode? Let's just wait until they release PHP 6<|eor|><|sor|>There's a project to add a Unicode string class based on... | 7 |
lolphp | jonnywoh | cxksal0 | <|sols|><|sot|>PHP 7 has just been released. So what's fixed and what's still hopelessly broken?<|eot|><|sol|>https://github.com/php/php-src/releases/tag/php-7.0.0<|eol|><|sor|>Per /u/antpocus over on /r/programming:
> Ooh, only 137 compiler warnings and > 102 failed tests! That's a huge
> improvement from 5.6's 638
... | 7 |
lolphp | cfreak2399 | cxl7ru6 | <|sols|><|sot|>PHP 7 has just been released. So what's fixed and what's still hopelessly broken?<|eot|><|sol|>https://github.com/php/php-src/releases/tag/php-7.0.0<|eol|><|sor|>Looking at the list of changes I'm actually somewhat impressed at a few of the things they are cleaning up. However the foreach behavior change... | 6 |
lolphp | allthediamonds | 1vurcd | <|sols|><|sot|>Today's PHP quirk: array_fill meets negative numbers<|eot|><|sol|>https://eval.in/93379<|eol|><|eols|><|endoftext|> | 49 |
lolphp | frezik | cew6e1w | <|sols|><|sot|>Today's PHP quirk: array_fill meets negative numbers<|eot|><|sol|>https://eval.in/93379<|eol|><|soopr|>It's [documented](http://us1.php.net/manual/en/function.array-fill.php), but it doesn't make any sense.<|eoopr|><|sor|>In these situations, I reply with:
> This was done badly, but we documented it, so... | 19 |
lolphp | allthediamonds | cevyf0z | <|sols|><|sot|>Today's PHP quirk: array_fill meets negative numbers<|eot|><|sol|>https://eval.in/93379<|eol|><|soopr|>It's [documented](http://us1.php.net/manual/en/function.array-fill.php), but it doesn't make any sense.<|eoopr|><|eols|><|endoftext|> | 17 |
lolphp | ajmarks | cew8csh | <|sols|><|sot|>Today's PHP quirk: array_fill meets negative numbers<|eot|><|sol|>https://eval.in/93379<|eol|><|soopr|>It's [documented](http://us1.php.net/manual/en/function.array-fill.php), but it doesn't make any sense.<|eoopr|><|sor|>It kind of does in a PHP sort of way. -10 is a hash-table key, and hash-table keys... | 16 |
lolphp | jmcs | cevz5h6 | <|sols|><|sot|>Today's PHP quirk: array_fill meets negative numbers<|eot|><|sol|>https://eval.in/93379<|eol|><|sor|>I promise I wont bash PHP for 24 hours if someone explains the reason for this one.<|eor|><|eols|><|endoftext|> | 11 |
lolphp | RenaKunisaki | cewk2lg | <|sols|><|sot|>Today's PHP quirk: array_fill meets negative numbers<|eot|><|sol|>https://eval.in/93379<|eol|><|soopr|>It's [documented](http://us1.php.net/manual/en/function.array-fill.php), but it doesn't make any sense.<|eoopr|><|sor|>In these situations, I reply with:
> This was done badly, but we documented it, so... | 9 |
lolphp | midir | cew00nk | <|sols|><|sot|>Today's PHP quirk: array_fill meets negative numbers<|eot|><|sol|>https://eval.in/93379<|eol|><|sor|>I promise I wont bash PHP for 24 hours if someone explains the reason for this one.<|eor|><|soopr|>I *really* want to know. I mean, I would assume that a function like this one loops from the starting num... | 9 |
lolphp | geaal | 1gylpk | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|eols|><|endoftext|> | 45 |
lolphp | bart2019 | cap3lzw | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|> <?
A = {
-\ value
+/ mul = (x, y) -> { ret x * y }
-/ __construct = (val) -> { this.value = val }
-/ show = () -> { print this.value }
}
?>
"readable"
o.O<|e... | 62 |
lolphp | InconsiderateBastard | cap5a0l | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|>Satire?<|eor|><|eols|><|endoftext|> | 23 |
lolphp | ThisIsADogHello | cap4tfu | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|> <?
A = {
-\ value
+/ mul = (x, y) -> { ret x * y }
-/ __construct = (val) -> { this.value = val }
-/ show = () -> { print this.value }
}
?>
"readable"
o.O<|e... | 23 |
lolphp | m0llusk | cap6pyj | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|>This will piss off the Perl people even more.
Perl's built-in documentation format is called "POD"<|eor|><|sor|>As a Perl groupie I found myself amused by this. Perl programmers have better senses of humor than y... | 17 |
lolphp | treenaks | cap43ef | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|>This will piss off the Perl people even more.
Perl's built-in documentation format is called "POD"<|eor|><|eols|><|endoftext|> | 15 |
lolphp | phoshi | cap5vyn | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|>> POD, the PHP preprocessor
PHP Hypertext Preprocessor preprocessor
Listen, if you can't figure one programming language out the last thing you should be doing is designing another.<|eor|><|sor|>excuse me, but PO... | 15 |
lolphp | Kwpolska | cap4w43 | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|>> POD, the PHP preprocessor
PHP Hypertext Preprocessor preprocessor
Listen, if you can't figure one programming language out the last thing you should be doing is designing another.<|eor|><|sor|>excuse me, but PO... | 11 |
lolphp | JW_BlueLabel | capg78z | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|>PHP is such a cluster fucker that I would love to have a sane language built to use in place of PHP. This however, is not it.<|eor|><|sor|>Check out Haxe, it's compiles to php too, but has a way more readable synta... | 11 |
lolphp | JW_BlueLabel | cap4r9u | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|>PHP is such a cluster fucker that I would love to have a sane language built to use in place of PHP. This however, is not it.<|eor|><|eols|><|endoftext|> | 10 |
lolphp | vytah | capbcyp | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|> <?
A = {
-\ value
+/ mul = (x, y) -> { ret x * y }
-/ __construct = (val) -> { this.value = val }
-/ show = () -> { print this.value }
}
?>
"readable"
o.O<|e... | 10 |
lolphp | merreborn | capfhpo | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|> <?
A = {
-\ value
+/ mul = (x, y) -> { ret x * y }
-/ __construct = (val) -> { this.value = val }
-/ show = () -> { print this.value }
}
?>
"readable"
o.O<|e... | 10 |
lolphp | Packet_Ranger | capnwdc | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|> <?
A = {
-\ value
+/ mul = (x, y) -> { ret x * y }
-/ __construct = (val) -> { this.value = val }
-/ show = () -> { print this.value }
}
?>
"readable"
o.O<|e... | 10 |
lolphp | geaal | capel7o | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|>Was this not published on some April 1st?<|eor|><|sor|>I'm afraid not, here is the [first commit](https://github.com/Geal/pod/commit/76726b523c71bb12301bfc07ea977fd04acd79a2), created 17 days ago. Must be a very da... | 9 |
lolphp | geaal | cap57wp | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|> <?
A = {
-\ value
+/ mul = (x, y) -> { ret x * y }
-/ __construct = (val) -> { this.value = val }
-/ show = () -> { print this.value }
}
?>
"readable"
o.O<|e... | 8 |
lolphp | vytah | caquaii | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|> <?
A = {
-\ value
+/ mul = (x, y) -> { ret x * y }
-/ __construct = (val) -> { this.value = val }
-/ show = () -> { print this.value }
}
?>
"readable"
o.O<|e... | 8 |
lolphp | geaal | capfb64 | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|>Was this not published on some April 1st?<|eor|><|sor|>I'm afraid not, here is the [first commit](https://github.com/Geal/pod/commit/76726b523c71bb12301bfc07ea977fd04acd79a2), created 17 days ago. Must be a very da... | 8 |
lolphp | Pixa | capatvt | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|>> POD, the PHP preprocessor
PHP Hypertext Preprocessor preprocessor
Listen, if you can't figure one programming language out the last thing you should be doing is designing another.<|eor|><|sor|>excuse me, but PO... | 7 |
lolphp | gearvOsh | capclfw | <|sols|><|sot|>POD, an new language compiling to PHP<|eot|><|sol|>http://geal.github.io/pod/<|eol|><|sor|>PHP is such a cluster fucker that I would love to have a sane language built to use in place of PHP. This however, is not it.<|eor|><|sor|>Check out Haxe, it's compiles to php too, but has a way more readable synta... | 7 |
lolphp | vytah | 11yq8y | <|sols|><|sot|>For scripts declared as UTF-8, PHP happily adds one NUL byte to your output for each non-ASCII character in the source<|eot|><|sol|>https://bugs.php.net/bug.php?id=63316<|eol|><|eols|><|endoftext|> | 49 |
lolphp | cwmonkey | c6qqzb1 | <|sols|><|sot|>For scripts declared as UTF-8, PHP happily adds one NUL byte to your output for each non-ASCII character in the source<|eot|><|sol|>https://bugs.php.net/bug.php?id=63316<|eol|><|sor|>I don't even want to think about how something could break in this way.<|eor|><|sor|>I don't even want to think about how ... | 21 |
lolphp | vytah | c6qqpco | <|sols|><|sot|>For scripts declared as UTF-8, PHP happily adds one NUL byte to your output for each non-ASCII character in the source<|eot|><|sol|>https://bugs.php.net/bug.php?id=63316<|eol|><|sor|>How is this even possible? UTF-8 is designed to work even with programs that excpect 8-bit ASCII. How the hell could they ... | 17 |
lolphp | Tjoppen | c6qqi0q | <|sols|><|sot|>For scripts declared as UTF-8, PHP happily adds one NUL byte to your output for each non-ASCII character in the source<|eot|><|sol|>https://bugs.php.net/bug.php?id=63316<|eol|><|sor|>How is this even possible? UTF-8 is designed to work even with programs that excpect 8-bit ASCII. How the hell could they ... | 14 |
lolphp | Tjoppen | c6qy6uc | <|sols|><|sot|>For scripts declared as UTF-8, PHP happily adds one NUL byte to your output for each non-ASCII character in the source<|eot|><|sol|>https://bugs.php.net/bug.php?id=63316<|eol|><|sor|>How is this even possible? UTF-8 is designed to work even with programs that excpect 8-bit ASCII. How the hell could they ... | 8 |
lolphp | imMute | c6r0neo | <|sols|><|sot|>For scripts declared as UTF-8, PHP happily adds one NUL byte to your output for each non-ASCII character in the source<|eot|><|sol|>https://bugs.php.net/bug.php?id=63316<|eol|><|sor|>How is this even possible? UTF-8 is designed to work even with programs that excpect 8-bit ASCII. How the hell could they ... | 8 |
lolphp | audaxxx | c6r1l5h | <|sols|><|sot|>For scripts declared as UTF-8, PHP happily adds one NUL byte to your output for each non-ASCII character in the source<|eot|><|sol|>https://bugs.php.net/bug.php?id=63316<|eol|><|sor|>How is this even possible? UTF-8 is designed to work even with programs that excpect 8-bit ASCII. How the hell could they ... | 8 |
lolphp | Takeoded | nxswcx | <|sols|><|sot|>source code license broken in 5 ways<|eot|><|sol|>https://www.mail-archive.com/internals@lists.php.net/msg107015.html<|eol|><|eols|><|endoftext|> | 44 |
lolphp | CarnivorousSociety | h1hu319 | <|sols|><|sot|>source code license broken in 5 ways<|eot|><|sol|>https://www.mail-archive.com/internals@lists.php.net/msg107015.html<|eol|><|sor|>oh look somebody forgot to update the copyright, quick redistribute php as a new language that everybody will want to use
... said nobody ever<|eor|><|eols|><|endoftext|> | 12 |
lolphp | SirClueless | h1j33wj | <|sols|><|sot|>source code license broken in 5 ways<|eot|><|sol|>https://www.mail-archive.com/internals@lists.php.net/msg107015.html<|eol|><|sor|>As silly as it may look, I don't think anything about the license is incorrect. There is copyrighted material in the `Zend` source directory from 1999-2006. Presumably other ... | 8 |
lolphp | Altreus | h1hvyd5 | <|sols|><|sot|>source code license broken in 5 ways<|eot|><|sol|>https://www.mail-archive.com/internals@lists.php.net/msg107015.html<|eol|><|sor|>oh look somebody forgot to update the copyright, quick redistribute php as a new language that everybody will want to use
... said nobody ever<|eor|><|sor|>Some time ago ... | 7 |
lolphp | barubary | iu5wsr | <|soss|><|sot|>What's a microseconds? How do numbers?<|eot|><|sost|>[`DateTime::createFromFormat`](https://www.php.net/manual/en/datetime.createfromformat.php) can parse a string into a DateTime object according to a format specification. The inverse operation is available in [`DateTime::format`](https://www.php.net/ma... | 46 |
lolphp | funtek | g5itci8 | <|soss|><|sot|>What's a microseconds? How do numbers?<|eot|><|sost|>[`DateTime::createFromFormat`](https://www.php.net/manual/en/datetime.createfromformat.php) can parse a string into a DateTime object according to a format specification. The inverse operation is available in [`DateTime::format`](https://www.php.net/ma... | 25 |
lolphp | Altreus | g5iwl76 | <|soss|><|sot|>What's a microseconds? How do numbers?<|eot|><|sost|>[`DateTime::createFromFormat`](https://www.php.net/manual/en/datetime.createfromformat.php) can parse a string into a DateTime object according to a format specification. The inverse operation is available in [`DateTime::format`](https://www.php.net/ma... | 24 |
lolphp | barubary | g5l6rnj | <|soss|><|sot|>What's a microseconds? How do numbers?<|eot|><|sost|>[`DateTime::createFromFormat`](https://www.php.net/manual/en/datetime.createfromformat.php) can parse a string into a DateTime object according to a format specification. The inverse operation is available in [`DateTime::format`](https://www.php.net/ma... | 8 |
lolphp | mort96 | g5kux5s | <|soss|><|sot|>What's a microseconds? How do numbers?<|eot|><|sost|>[`DateTime::createFromFormat`](https://www.php.net/manual/en/datetime.createfromformat.php) can parse a string into a DateTime object according to a format specification. The inverse operation is available in [`DateTime::format`](https://www.php.net/ma... | 7 |
lolphp | AyrA_ch | g5j6nfr | <|soss|><|sot|>What's a microseconds? How do numbers?<|eot|><|sost|>[`DateTime::createFromFormat`](https://www.php.net/manual/en/datetime.createfromformat.php) can parse a string into a DateTime object according to a format specification. The inverse operation is available in [`DateTime::format`](https://www.php.net/ma... | 7 |
lolphp | barubary | g5ojirh | <|soss|><|sot|>What's a microseconds? How do numbers?<|eot|><|sost|>[`DateTime::createFromFormat`](https://www.php.net/manual/en/datetime.createfromformat.php) can parse a string into a DateTime object according to a format specification. The inverse operation is available in [`DateTime::format`](https://www.php.net/ma... | 5 |
lolphp | barubary | cwl72a | <|soss|><|sot|>Casts are not sure whether they're a single token or multiple<|eot|><|sost|>As explained in [Type Casting](https://www.php.net/manual/en/language.types.type-juggling.php#language.types.typecasting):
> Type casting in PHP works much as it does in C: the name of the desired type is written in parentheses ... | 48 |
lolphp | The_Sly_Marbo | eye8scd | <|soss|><|sot|>Casts are not sure whether they're a single token or multiple<|eot|><|sost|>As explained in [Type Casting](https://www.php.net/manual/en/language.types.type-juggling.php#language.types.typecasting):
> Type casting in PHP works much as it does in C: the name of the desired type is written in parentheses ... | 20 |
lolphp | barubary | eydaqh1 | <|soss|><|sot|>Casts are not sure whether they're a single token or multiple<|eot|><|sost|>As explained in [Type Casting](https://www.php.net/manual/en/language.types.type-juggling.php#language.types.typecasting):
> Type casting in PHP works much as it does in C: the name of the desired type is written in parentheses ... | 17 |
lolphp | pokexpert30 | eycpwp7 | <|soss|><|sot|>Casts are not sure whether they're a single token or multiple<|eot|><|sost|>As explained in [Type Casting](https://www.php.net/manual/en/language.types.type-juggling.php#language.types.typecasting):
> Type casting in PHP works much as it does in C: the name of the desired type is written in parentheses ... | 16 |
lolphp | HenkPoley | eycyh2r | <|soss|><|sot|>Casts are not sure whether they're a single token or multiple<|eot|><|sost|>As explained in [Type Casting](https://www.php.net/manual/en/language.types.type-juggling.php#language.types.typecasting):
> Type casting in PHP works much as it does in C: the name of the desired type is written in parentheses ... | 12 |
lolphp | shitcanz | cvl668 | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|eols|><|endoftext|> | 44 |
lolphp | dotancohen | ey4wha4 | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>I can relate to the struggles of organizing a conference that appeals to everybody's wishes, and it's a bit disheartening to see the organizers quit over it. Seeing the passively aggressive "won't be contin... | 35 |
lolphp | bart2019 | ey50rhd | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>I can relate to the struggles of organizing a conference that appeals to everybody's wishes, and it's a bit disheartening to see the organizers quit over it. Seeing the passively aggressive "won't be contin... | 28 |
lolphp | Thanks__For_The_Gold | ey682wu | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>That strange person with pronouns in his bio literally has a problem with white people in central Europe. It's like going to China and complaining that it's full of Chinese people.<|eor|><|eols|><|endoftext... | 11 |
lolphp | poopskins | ey5j28n | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>[deleted]<|eor|><|sor|>The qualm is that the event reinforces stereotypes. Since there are non-white/non-male software engineers, reflecting this diversity makes for a more inclusive event, and by extension... | 8 |
lolphp | AlbertRammstein | ey52tis | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>I can relate to the struggles of organizing a conference that appeals to everybody's wishes, and it's a bit disheartening to see the organizers quit over it. Seeing the passively aggressive "won't be contin... | 8 |
lolphp | cube-drone | ey5dghq | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>I can relate to the struggles of organizing a conference that appeals to everybody's wishes, and it's a bit disheartening to see the organizers quit over it. Seeing the passively aggressive "won't be contin... | 8 |
lolphp | shaql | eyb8et3 | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>[deleted]<|eor|><|sor|>The qualm is that the event reinforces stereotypes. Since there are non-white/non-male software engineers, reflecting this diversity makes for a more inclusive event, and by extension... | 8 |
lolphp | shaql | eybhxtf | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>[deleted]<|eor|><|sor|>The qualm is that the event reinforces stereotypes. Since there are non-white/non-male software engineers, reflecting this diversity makes for a more inclusive event, and by extension... | 8 |
lolphp | colshrapnel | ey4y41v | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>I can relate to the struggles of organizing a conference that appeals to everybody's wishes, and it's a bit disheartening to see the organizers quit over it. Seeing the passively aggressive "won't be contin... | 7 |
lolphp | smegnose | ey7f3hf | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>[deleted]<|eor|><|sor|>The qualm is that the event reinforces stereotypes. Since there are non-white/non-male software engineers, reflecting this diversity makes for a more inclusive event, and by extension... | 6 |
lolphp | Miserable_Fuck | ey5r3yu | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>I can relate to the struggles of organizing a conference that appeals to everybody's wishes, and it's a bit disheartening to see the organizers quit over it. Seeing the passively aggressive "won't be contin... | 6 |
lolphp | bart2019 | eyb599m | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>I can relate to the struggles of organizing a conference that appeals to everybody's wishes, and it's a bit disheartening to see the organizers quit over it. Seeing the passively aggressive "won't be contin... | 6 |
lolphp | phatskat | eyyf8gg | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>[deleted]<|eor|><|sor|>The qualm is that the event reinforces stereotypes. Since there are non-white/non-male software engineers, reflecting this diversity makes for a more inclusive event, and by extension... | 6 |
lolphp | Miserable_Fuck | ey63wxd | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>I can relate to the struggles of organizing a conference that appeals to everybody's wishes, and it's a bit disheartening to see the organizers quit over it. Seeing the passively aggressive "won't be contin... | 6 |
lolphp | maweki | ey6i1kg | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>[deleted]<|eor|><|sor|>They accepted only a single talk by a woman the year before and didn't have an invited talk by a woman either.
A single submission by a woman means that something is wrong with the c... | 5 |
lolphp | maweki | ey52t3f | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>I can relate to the struggles of organizing a conference that appeals to everybody's wishes, and it's a bit disheartening to see the organizers quit over it. Seeing the passively aggressive "won't be contin... | 5 |
lolphp | poopskins | ey55ork | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>I can relate to the struggles of organizing a conference that appeals to everybody's wishes, and it's a bit disheartening to see the organizers quit over it. Seeing the passively aggressive "won't be contin... | 5 |
lolphp | phatskat | eywjtja | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>[deleted]<|eor|><|sor|>The qualm is that the event reinforces stereotypes. Since there are non-white/non-male software engineers, reflecting this diversity makes for a more inclusive event, and by extension... | 5 |
lolphp | poopskins | ey60xxk | <|sols|><|sot|>LOLCONF cancelled - Reason: "White Males Only"<|eot|><|sol|>https://2019.phpce.eu/en/<|eol|><|sor|>I can relate to the struggles of organizing a conference that appeals to everybody's wishes, and it's a bit disheartening to see the organizers quit over it. Seeing the passively aggressive "won't be contin... | 5 |
lolphp | Takeoded | 7sbsn3 | <|sols|><|sot|>SIGBABY<|eot|><|sol|>https://stackoverflow.com/a/18584728/1067003<|eol|><|eols|><|endoftext|> | 43 |
lolphp | Coul33t | dt46n0e | <|sols|><|sot|>SIGBABY<|eot|><|sol|>https://stackoverflow.com/a/18584728/1067003<|eol|><|sor|>That's a wholesome lolphp!<|eor|><|eols|><|endoftext|> | 9 |
lolphp | Various_Pickles | dt6mb44 | <|sols|><|sot|>SIGBABY<|eot|><|sol|>https://stackoverflow.com/a/18584728/1067003<|eol|><|sor|>Reminds me of the random PHP logos and other version-identifying crap that used to be GETable in any PHP deployment.
Its always a great idea to tell anyone who asks exactly what software versions your infrastructure is runnin... | 8 |
lolphp | andsens | 6nsi7h | <|sols|><|sot|>continue in a switch statement jumps to the end of the switch, just like break. So remember to use continue 2; when switching in a loop.<|eot|><|sol|>https://3v4l.org/4v7Ss<|eol|><|eols|><|endoftext|> | 49 |
lolphp | RenaKunisaki | dkd7ymr | <|sols|><|sot|>continue in a switch statement jumps to the end of the switch, just like break. So remember to use continue 2; when switching in a loop.<|eot|><|sol|>https://3v4l.org/4v7Ss<|eol|><|sor|>What would you expect to happen?<|eor|><|sor|>Jump to the beginning of the loop like in other languages?<|eor|><|eols|>... | 20 |
lolphp | andsens | dkclsug | <|sols|><|sot|>continue in a switch statement jumps to the end of the switch, just like break. So remember to use continue 2; when switching in a loop.<|eot|><|sol|>https://3v4l.org/4v7Ss<|eol|><|sor|>Yes, there is a big clear note in the documentation:
http://php.net/manual/en/control-structures.switch.php
Wh... | 13 |
lolphp | sproingie | dkkjotn | <|sols|><|sot|>continue in a switch statement jumps to the end of the switch, just like break. So remember to use continue 2; when switching in a loop.<|eot|><|sol|>https://3v4l.org/4v7Ss<|eol|><|sor|>The real lolphp is the fact even though PHP has labels for goto, continue and break don't work with them, only taking a... | 10 |
lolphp | josefx | dkgv8b4 | <|sols|><|sot|>continue in a switch statement jumps to the end of the switch, just like break. So remember to use continue 2; when switching in a loop.<|eot|><|sol|>https://3v4l.org/4v7Ss<|eol|><|sor|>So today's lolphp is "php has different semantics for continue inside nested for/switch statements". You guys are posit... | 9 |
lolphp | RichardEyre | dkcj7de | <|sols|><|sot|>continue in a switch statement jumps to the end of the switch, just like break. So remember to use continue 2; when switching in a loop.<|eot|><|sol|>https://3v4l.org/4v7Ss<|eol|><|sor|>What would you expect to happen?<|eor|><|soopr|>Nothing? An error? Anything but that!<|eoopr|><|sor|>Surely it is doing... | 9 |
lolphp | RichardEyre | dkcfkaa | <|sols|><|sot|>continue in a switch statement jumps to the end of the switch, just like break. So remember to use continue 2; when switching in a loop.<|eot|><|sol|>https://3v4l.org/4v7Ss<|eol|><|sor|>What would you expect to happen?<|eor|><|eols|><|endoftext|> | 7 |
lolphp | nikanjX | dkd8nuz | <|sols|><|sot|>continue in a switch statement jumps to the end of the switch, just like break. So remember to use continue 2; when switching in a loop.<|eot|><|sol|>https://3v4l.org/4v7Ss<|eol|><|sor|>So today's lolphp is "php has different semantics for continue inside nested for/switch statements". You guys are posit... | 7 |
lolphp | andsens | dkclm2f | <|sols|><|sot|>continue in a switch statement jumps to the end of the switch, just like break. So remember to use continue 2; when switching in a loop.<|eot|><|sol|>https://3v4l.org/4v7Ss<|eol|><|sor|>You need to use 0/1 instead of true/false: https://3v4l.org/pbPeS but the output is still wrong. Works fine with JS: ht... | 5 |
lolphp | colinodell | 66rrqp | <|soss|><|sot|>Setting CURLOPT_SSL_VERIFYHOST to true actually disables validation<|eot|><|sost|>Stumbled across this gem while reading http://ferd.ca/tout-est-terrible.html:
> But my favorite has to be the cURL API in PHP. By default, settings are fine and correct, but if you read the doc, you may want to set the `CU... | 46 |
lolphp | lostcoffee | dgl54de | <|soss|><|sot|>Setting CURLOPT_SSL_VERIFYHOST to true actually disables validation<|eot|><|sost|>Stumbled across this gem while reading http://ferd.ca/tout-est-terrible.html:
> But my favorite has to be the cURL API in PHP. By default, settings are fine and correct, but if you read the doc, you may want to set the `CU... | 19 |
lolphp | sproingie | dglw1tk | <|soss|><|sot|>Setting CURLOPT_SSL_VERIFYHOST to true actually disables validation<|eot|><|sost|>Stumbled across this gem while reading http://ferd.ca/tout-est-terrible.html:
> But my favorite has to be the cURL API in PHP. By default, settings are fine and correct, but if you read the doc, you may want to set the `CU... | 6 |
lolphp | raylu | dglwggq | <|soss|><|sot|>Setting CURLOPT_SSL_VERIFYHOST to true actually disables validation<|eot|><|sost|>Stumbled across this gem while reading http://ferd.ca/tout-est-terrible.html:
> But my favorite has to be the cURL API in PHP. By default, settings are fine and correct, but if you read the doc, you may want to set the `CU... | 6 |
lolphp | kauffj | 4k59pq | <|sols|><|sot|>json_encode(['color' => '1e3678']) === false<|eot|><|sol|>https://3v4l.org/aHt34<|eol|><|eols|><|endoftext|> | 49 |
lolphp | lfairy | d3cktr2 | <|sols|><|sot|>json_encode(['color' => '1e3678']) === false<|eot|><|sol|>https://3v4l.org/aHt34<|eol|><|sor|>I'm guessing 1e3768 is interpreted as an out-of-range double, which triggers an error in the JSON encoder?<|eor|><|eols|><|endoftext|> | 24 |
lolphp | the_alias_of_andrea | d3cpwv1 | <|sols|><|sot|>json_encode(['color' => '1e3678']) === false<|eot|><|sol|>https://3v4l.org/aHt34<|eol|><|sor|>Title is misleading. Yes, it ~~produces~~ produced an error given that string if you ~~tell~~ told it that strings like it should be converted to numbers with a flag.
~~That's not~~ That wasn't the default beha... | 23 |
lolphp | bart2019 | d3d36m5 | <|sols|><|sot|>json_encode(['color' => '1e3678']) === false<|eot|><|sol|>https://3v4l.org/aHt34<|eol|><|sor|>I'm guessing 1e3768 is interpreted as an out-of-range double, which triggers an error in the JSON encoder?<|eor|><|sor|>Yep: https://github.com/php/php-src/blob/4ed24e1e18a5546aa68b641cb8081233ec27ebd4/ext/json/... | 23 |
lolphp | the_alias_of_andrea | d3cv83f | <|sols|><|sot|>json_encode(['color' => '1e3678']) === false<|eot|><|sol|>https://3v4l.org/aHt34<|eol|><|sor|>I'm guessing 1e3768 is interpreted as an out-of-range double, which triggers an error in the JSON encoder?<|eor|><|sor|>Yep: https://github.com/php/php-src/blob/4ed24e1e18a5546aa68b641cb8081233ec27ebd4/ext/json/... | 12 |
lolphp | kauffj | d3dd7cj | <|sols|><|sot|>json_encode(['color' => '1e3678']) === false<|eot|><|sol|>https://3v4l.org/aHt34<|eol|><|sor|>Title is misleading. Yes, it ~~produces~~ produced an error given that string if you ~~tell~~ told it that strings like it should be converted to numbers with a flag.
~~That's not~~ That wasn't the default beha... | 5 |
lolphp | the_alias_of_andrea | d3eajeo | <|sols|><|sot|>json_encode(['color' => '1e3678']) === false<|eot|><|sol|>https://3v4l.org/aHt34<|eol|><|sor|>I'm guessing 1e3768 is interpreted as an out-of-range double, which triggers an error in the JSON encoder?<|eor|><|sor|>Yep: https://github.com/php/php-src/blob/4ed24e1e18a5546aa68b641cb8081233ec27ebd4/ext/json/... | 5 |
lolphp | vytah | d3en6hv | <|sols|><|sot|>json_encode(['color' => '1e3678']) === false<|eot|><|sol|>https://3v4l.org/aHt34<|eol|><|sor|>Title is misleading. Yes, it ~~produces~~ produced an error given that string if you ~~tell~~ told it that strings like it should be converted to numbers with a flag.
~~That's not~~ That wasn't the default beha... | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.