subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
lolphp | barubary | czbb03b | <|sols|><|sot|>Php proposes code of conduct<|eot|><|sol|>https://wiki.php.net/rfc/adopt-code-of-conduct<|eol|><|soopr|>One of the points is:
"Thoughtless use of pronouns"
What a world we live in!<|eoopr|><|sor|>As much as you all seem to love that quote, it's not in the text itself.
(It's also not a non-issue, b... | 8 |
lolphp | hey_aaapple | czbe9li | <|sols|><|sot|>Php proposes code of conduct<|eot|><|sol|>https://wiki.php.net/rfc/adopt-code-of-conduct<|eol|><|sor|>Our previous discussion on the topic: https://www.reddit.com/r/lolphp/comments/3zikur/grap_your_popcorns_for_a_bit_of_phpdrama_and/<|eor|><|sor|>There's not enough popcorn in the history of the planet; a... | 7 |
lolphp | fgous | czchq1e | <|sols|><|sot|>Php proposes code of conduct<|eot|><|sol|>https://wiki.php.net/rfc/adopt-code-of-conduct<|eol|><|sor|>Funny thing is [no one can point to an instance of abuse](https://www.reddit.com/r/PHP/comments/41vuja/rfc_reproposed_adopt_code_of_conduct/cz6pecs) in the internals in the past.....<|eor|><|sor|>We've b... | 5 |
lolphp | hey_aaapple | czbduzo | <|sols|><|sot|>Php proposes code of conduct<|eot|><|sol|>https://wiki.php.net/rfc/adopt-code-of-conduct<|eol|><|sor|>Our previous discussion on the topic: https://www.reddit.com/r/lolphp/comments/3zikur/grap_your_popcorns_for_a_bit_of_phpdrama_and/<|eor|><|sor|>There's not enough popcorn in the history of the planet; a... | 5 |
lolphp | the_alias_of_andrea | czbwk0p | <|sols|><|sot|>Php proposes code of conduct<|eot|><|sol|>https://wiki.php.net/rfc/adopt-code-of-conduct<|eol|><|soopr|>One of the points is:
"Thoughtless use of pronouns"
What a world we live in!<|eoopr|><|sor|>As much as you all seem to love that quote, it's not in the text itself.
(It's also not a non-issue, b... | 5 |
lolphp | joehillen | 3847ob | <|sols|><|sot|>These are the fundamentals we are teaching our children<|eot|><|sol|>http://online.stanford.edu/course/beginning-programming-php<|eol|><|eols|><|endoftext|> | 16 |
lolphp | tdammers | crs5n2v | <|sols|><|sot|>These are the fundamentals we are teaching our children<|eot|><|sol|>http://online.stanford.edu/course/beginning-programming-php<|eol|><|sor|>> Students will come away with a fundamental understanding of PHP
That must be one hell of a course. After 15 years of programming PHP, much of it professionally,... | 37 |
lolphp | urquan | crsyjkr | <|sols|><|sot|>These are the fundamentals we are teaching our children<|eot|><|sol|>http://online.stanford.edu/course/beginning-programming-php<|eol|><|sor|>PHP is great in the sense that the feedback loop of writing some code -> tangible result is extremely short. You can write your first hello world in literally 10 s... | 19 |
lolphp | andsens | crs6n0t | <|sols|><|sot|>These are the fundamentals we are teaching our children<|eot|><|sol|>http://online.stanford.edu/course/beginning-programming-php<|eol|><|sor|>> Students will come away with a fundamental understanding of PHP
That must be one hell of a course. After 15 years of programming PHP, much of it professionally,... | 19 |
lolphp | SnowdogU77 | crsv1i4 | <|sols|><|sot|>These are the fundamentals we are teaching our children<|eot|><|sol|>http://online.stanford.edu/course/beginning-programming-php<|eol|><|sor|>> Students will come away with a fundamental understanding of PHP
That must be one hell of a course. After 15 years of programming PHP, much of it professionally,... | 15 |
lolphp | beerdude26 | crv4ola | <|sols|><|sot|>These are the fundamentals we are teaching our children<|eot|><|sol|>http://online.stanford.edu/course/beginning-programming-php<|eol|><|sor|>PHP is great in the sense that the feedback loop of writing some code -> tangible result is extremely short. You can write your first hello world in literally 10 s... | 11 |
lolphp | gu3st12 | crsm5w4 | <|sols|><|sot|>These are the fundamentals we are teaching our children<|eot|><|sol|>http://online.stanford.edu/course/beginning-programming-php<|eol|><|sor|>Good. They'll learn problem solving.
Hopefully they don't learn the same entitled whining that most posters here have. <|eor|><|eols|><|endoftext|> | 10 |
lolphp | smog_alado | crt1n4q | <|sols|><|sot|>These are the fundamentals we are teaching our children<|eot|><|sol|>http://online.stanford.edu/course/beginning-programming-php<|eol|><|sor|>PHP is great in the sense that the feedback loop of writing some code -> tangible result is extremely short. You can write your first hello world in literally 10 s... | 10 |
lolphp | beerdude26 | crv4m2e | <|sols|><|sot|>These are the fundamentals we are teaching our children<|eot|><|sol|>http://online.stanford.edu/course/beginning-programming-php<|eol|><|sor|>PHP is great in the sense that the feedback loop of writing some code -> tangible result is extremely short. You can write your first hello world in literally 10 s... | 8 |
lolphp | DoctorWaluigiTime | crt0pa4 | <|sols|><|sot|>These are the fundamentals we are teaching our children<|eot|><|sol|>http://online.stanford.edu/course/beginning-programming-php<|eol|><|sor|>PHP is great in the sense that the feedback loop of writing some code -> tangible result is extremely short. You can write your first hello world in literally 10 s... | 6 |
lolphp | allthediamonds | cs2ecko | <|sols|><|sot|>These are the fundamentals we are teaching our children<|eot|><|sol|>http://online.stanford.edu/course/beginning-programming-php<|eol|><|sor|>PHP is great in the sense that the feedback loop of writing some code -> tangible result is extremely short. You can write your first hello world in literally 10 s... | 6 |
lolphp | beerdude26 | crv4o9e | <|sols|><|sot|>These are the fundamentals we are teaching our children<|eot|><|sol|>http://online.stanford.edu/course/beginning-programming-php<|eol|><|sor|>Good. They'll learn problem solving.
Hopefully they don't learn the same entitled whining that most posters here have. <|eor|><|sor|>Yeah I was about to say this.... | 5 |
lolphp | OneWingedShark | crumswu | <|sols|><|sot|>These are the fundamentals we are teaching our children<|eot|><|sol|>http://online.stanford.edu/course/beginning-programming-php<|eol|><|sor|>PHP is great in the sense that the feedback loop of writing some code -> tangible result is extremely short. You can write your first hello world in literally 10 s... | 5 |
lolphp | berkes | 1uj7lo | <|sols|><|sot|>5 quotes by the creator of PHP, Rasmus Lerdorf: I don't like programming, and I'm not a real programmer.<|eot|><|sol|>http://axonflux.com/5-quotes-by-the-creator-of-php-rasmus-lerdorf<|eol|><|eols|><|endoftext|> | 18 |
lolphp | notwolverine | 1lak1l | <|soss|><|sot|>Unknown functions? Well I'm not saying!<|eot|><|sost|>This just bit me in a PHP script I'm supporting. The mysql-extension was not installed because the script was moved to a new server, and when running it, the script would simply die. No error, warning or notice of any kind.
Turns out, that's _always_... | 15 |
lolphp | merreborn | cbxdjt1 | <|soss|><|sot|>Unknown functions? Well I'm not saying!<|eot|><|sost|>This just bit me in a PHP script I'm supporting. The mysql-extension was not installed because the script was moved to a new server, and when running it, the script would simply die. No error, warning or notice of any kind.
Turns out, that's _always_... | 20 |
lolphp | notwolverine | cbxb03s | <|soss|><|sot|>Unknown functions? Well I'm not saying!<|eot|><|sost|>This just bit me in a PHP script I'm supporting. The mysql-extension was not installed because the script was moved to a new server, and when running it, the script would simply die. No error, warning or notice of any kind.
Turns out, that's _always_... | 9 |
lolphp | nikic | cbxq6dq | <|soss|><|sot|>Unknown functions? Well I'm not saying!<|eot|><|sost|>This just bit me in a PHP script I'm supporting. The mysql-extension was not installed because the script was moved to a new server, and when running it, the script would simply die. No error, warning or notice of any kind.
Turns out, that's _always_... | 7 |
lolphp | notwolverine | cbxlweu | <|soss|><|sot|>Unknown functions? Well I'm not saying!<|eot|><|sost|>This just bit me in a PHP script I'm supporting. The mysql-extension was not installed because the script was moved to a new server, and when running it, the script would simply die. No error, warning or notice of any kind.
Turns out, that's _always_... | 5 |
lolphp | TLUL | ywk69 | <|sols|><|sot|>$ternary_operator? TRUE : $logic? FALSE : FILE_NOT_FOUND<|eot|><|sol|>http://www.phpsadness.com/sad/30<|eol|><|eols|><|endoftext|> | 15 |
lolphp | skztr | c5zge15 | <|sols|><|sot|>$ternary_operator? TRUE : $logic? FALSE : FILE_NOT_FOUND<|eot|><|sol|>http://www.phpsadness.com/sad/30<|eol|><|sor|>There is an argument to be made that PHP is wrong, because it inherits a ridiculous syntax which no two people would have ever independently come up with, while not inheriting the precedenc... | 9 |
lolphp | FireyFly | c5zm709 | <|sols|><|sot|>$ternary_operator? TRUE : $logic? FALSE : FILE_NOT_FOUND<|eot|><|sol|>http://www.phpsadness.com/sad/30<|eol|><|sor|>There is an argument to be made that PHP is wrong, because it inherits a ridiculous syntax which no two people would have ever independently come up with, while not inheriting the precedenc... | 5 |
lolphp | Jinxuan | eli61p | <|soss|><|sot|>Getting ::class from instance will give an Parser error<|eot|><|sost|>In php, `::class` looks like a constant. However, php parser decide to make it different in the following situation
<?php
class A {
const X = 1;
}
echo A::class;
$a = new A;
echo $a::X;
echo $a:... | 16 |
lolphp | pease_pudding | fdigzey | <|soss|><|sot|>Getting ::class from instance will give an Parser error<|eot|><|sost|>In php, `::class` looks like a constant. However, php parser decide to make it different in the following situation
<?php
class A {
const X = 1;
}
echo A::class;
$a = new A;
echo $a::X;
echo $a:... | 20 |
lolphp | nikic | fdkcslx | <|soss|><|sot|>Getting ::class from instance will give an Parser error<|eot|><|sost|>In php, `::class` looks like a constant. However, php parser decide to make it different in the following situation
<?php
class A {
const X = 1;
}
echo A::class;
$a = new A;
echo $a::X;
echo $a:... | 8 |
lolphp | mr-strange | 6o7djw | <|sols|><|sot|>You changed the code, you didn't refactor the code.<|eot|><|sol|>https://dev.to/gonedark/you-changed-the-code-you-didnt-refactor-the-code<|eol|><|eols|><|endoftext|> | 15 |
lolphp | Grimy_ | dkfa3lx | <|sols|><|sot|>You changed the code, you didn't refactor the code.<|eot|><|sol|>https://dev.to/gonedark/you-changed-the-code-you-didnt-refactor-the-code<|eol|><|sor|>Why is this an lolphp? This was just a bad refactor regardless of the language.<|eor|><|sor|>Its a refactor that looked obviously correct, but turned out ... | 39 |
lolphp | cleeder | dkf7k3s | <|sols|><|sot|>You changed the code, you didn't refactor the code.<|eot|><|sol|>https://dev.to/gonedark/you-changed-the-code-you-didnt-refactor-the-code<|eol|><|sor|>Why is this an lolphp? This was just a bad refactor regardless of the language.<|eor|><|eols|><|endoftext|> | 19 |
lolphp | mr-strange | dkfdcvq | <|sols|><|sot|>You changed the code, you didn't refactor the code.<|eot|><|sol|>https://dev.to/gonedark/you-changed-the-code-you-didnt-refactor-the-code<|eol|><|sor|>Why is this an lolphp? This was just a bad refactor regardless of the language.<|eor|><|sor|>Its a refactor that looked obviously correct, but turned out ... | 7 |
lolphp | squiggleslash | dkgd73v | <|sols|><|sot|>You changed the code, you didn't refactor the code.<|eot|><|sol|>https://dev.to/gonedark/you-changed-the-code-you-didnt-refactor-the-code<|eol|><|sor|>Why is this an lolphp? This was just a bad refactor regardless of the language.<|eor|><|sor|>Yeah. It's an LOL (including the post criticizing it, which i... | 7 |
lolphp | squiggleslash | dkfkd39 | <|sols|><|sot|>You changed the code, you didn't refactor the code.<|eot|><|sol|>https://dev.to/gonedark/you-changed-the-code-you-didnt-refactor-the-code<|eol|><|sor|>Why is this an lolphp? This was just a bad refactor regardless of the language.<|eor|><|sor|>Yeah. It's an LOL (including the post criticizing it, which i... | 5 |
lolphp | iglocska | dl0h84v | <|sols|><|sot|>You changed the code, you didn't refactor the code.<|eot|><|sol|>https://dev.to/gonedark/you-changed-the-code-you-didnt-refactor-the-code<|eol|><|sor|>Why is this an lolphp? This was just a bad refactor regardless of the language.<|eor|><|sor|>Its a refactor that looked obviously correct, but turned out ... | 5 |
lolphp | Sjoerder | 67mzuj | <|sols|><|sot|>Checking whether files exist outside open_basedir<|eot|><|sol|>http://www.sjoerdlangkemper.nl/2017/04/26/php-open-basedir/<|eol|><|eols|><|endoftext|> | 15 |
lolphp | yxpow | dgrpbql | <|sols|><|sot|>Checking whether files exist outside open_basedir<|eot|><|sol|>http://www.sjoerdlangkemper.nl/2017/04/26/php-open-basedir/<|eol|><|sor|>the best LOL is that it emits a warning instead of an error when trying to access a file outside of the basedir, but then again I was half expecting it to so...<|eor|><|... | 11 |
lolphp | Danack | dgrxh1p | <|sols|><|sot|>Checking whether files exist outside open_basedir<|eot|><|sol|>http://www.sjoerdlangkemper.nl/2017/04/26/php-open-basedir/<|eol|><|sor|>The real lolphp here is that the code in PHP that attempts to make it be 'secure' within a shared environment hasn't been removed yet.
Although shared hosting was kind ... | 7 |
lolphp | pascalhofmann | 617zt6 | <|soss|><|sot|>Strange return value of datefmt_parse. Can somebody explain why?<|eot|><|sost|> php > var_dump(datefmt_parse(new \IntlDateFormatter('en_US', \IntlDateFormatter::SHORT, \IntlDateFormatter::NONE), 'NaN-NaN-NaN'));
int(-62170156800) // wtf? (that's -0001-11-28 as DateTime)
php > var_dump(dat... | 15 |
lolphp | ealf | dfdyet9 | <|soss|><|sot|>Strange return value of datefmt_parse. Can somebody explain why?<|eot|><|sost|> php > var_dump(datefmt_parse(new \IntlDateFormatter('en_US', \IntlDateFormatter::SHORT, \IntlDateFormatter::NONE), 'NaN-NaN-NaN'));
int(-62170156800) // wtf? (that's -0001-11-28 as DateTime)
php > var_dump(dat... | 7 |
lolphp | Sarcastinator | dfcwbnq | <|soss|><|sot|>Strange return value of datefmt_parse. Can somebody explain why?<|eot|><|sost|> php > var_dump(datefmt_parse(new \IntlDateFormatter('en_US', \IntlDateFormatter::SHORT, \IntlDateFormatter::NONE), 'NaN-NaN-NaN'));
int(-62170156800) // wtf? (that's -0001-11-28 as DateTime)
php > var_dump(dat... | 5 |
lolphp | phpcoder05 | 4oc2y5 | <|sols|><|sot|>Still sucking<|eot|><|sol|>https://evertpot.com/PHP-Sucks/<|eol|><|eols|><|endoftext|> | 15 |
lolphp | probuLing | 40omfc | <|soss|><|sot|>Unset(tling) iteration by reference.<|eot|><|sost|>I bumped into this bug today: https://bugs.php.net/bug.php?id=29992. Glad to know it's still alive in 2015 and causing unexpected headaches ~
TLDR suppose
$arr = array(array('id' => 1, 'attr' => 'a'), array('id' => 2, 'attr' => 'b'), array('id' => ... | 14 |
lolphp | carlos_vini | cyvy0zk | <|soss|><|sot|>Unset(tling) iteration by reference.<|eot|><|sost|>I bumped into this bug today: https://bugs.php.net/bug.php?id=29992. Glad to know it's still alive in 2015 and causing unexpected headaches ~
TLDR suppose
$arr = array(array('id' => 1, 'attr' => 'a'), array('id' => 2, 'attr' => 'b'), array('id' => ... | 9 |
lolphp | n0rs | cywik7i | <|soss|><|sot|>Unset(tling) iteration by reference.<|eot|><|sost|>I bumped into this bug today: https://bugs.php.net/bug.php?id=29992. Glad to know it's still alive in 2015 and causing unexpected headaches ~
TLDR suppose
$arr = array(array('id' => 1, 'attr' => 'a'), array('id' => 2, 'attr' => 'b'), array('id' => ... | 7 |
lolphp | phpguy2 | cywffls | <|soss|><|sot|>Unset(tling) iteration by reference.<|eot|><|sost|>I bumped into this bug today: https://bugs.php.net/bug.php?id=29992. Glad to know it's still alive in 2015 and causing unexpected headaches ~
TLDR suppose
$arr = array(array('id' => 1, 'attr' => 'a'), array('id' => 2, 'attr' => 'b'), array('id' => ... | 6 |
lolphp | nikic | cywgjdj | <|soss|><|sot|>Unset(tling) iteration by reference.<|eot|><|sost|>I bumped into this bug today: https://bugs.php.net/bug.php?id=29992. Glad to know it's still alive in 2015 and causing unexpected headaches ~
TLDR suppose
$arr = array(array('id' => 1, 'attr' => 'a'), array('id' => 2, 'attr' => 'b'), array('id' => ... | 5 |
lolphp | carlos_vini | cywkyiz | <|soss|><|sot|>Unset(tling) iteration by reference.<|eot|><|sost|>I bumped into this bug today: https://bugs.php.net/bug.php?id=29992. Glad to know it's still alive in 2015 and causing unexpected headaches ~
TLDR suppose
$arr = array(array('id' => 1, 'attr' => 'a'), array('id' => 2, 'attr' => 'b'), array('id' => ... | 5 |
lolphp | aneesiqbal | 3qac2s | <|sols|><|sot|>Q: Embedding a PHP Server in Chromium (Electron)<|eot|><|sol|>https://github.com/atom/electron/issues/1484<|eol|><|eols|><|endoftext|> | 15 |
lolphp | ElusiveGuy | cwh0l9s | <|sols|><|sot|>Q: Embedding a PHP Server in Chromium (Electron)<|eot|><|sol|>https://github.com/atom/electron/issues/1484<|eol|><|sor|>> It would be nice if php was a thing here, but it would be all the more difficult because of servers. There are many js things for it though. I will try to find a MySQL script.
Can I ... | 10 |
lolphp | FionaSarah | cwevzc5 | <|sols|><|sot|>Q: Embedding a PHP Server in Chromium (Electron)<|eot|><|sol|>https://github.com/atom/electron/issues/1484<|eol|><|sor|>Reminds me of the people writing TrackMania server controllers in PHP...<|eor|><|sor|>I once wrote an IRC bot in PHP.
lol what a fucking idiot I was. <|eor|><|eols|><|endoftext|> | 8 |
lolphp | Banane9 | cwqp5jy | <|sols|><|sot|>Q: Embedding a PHP Server in Chromium (Electron)<|eot|><|sol|>https://github.com/atom/electron/issues/1484<|eol|><|sor|>Reminds me of the people writing TrackMania server controllers in PHP...<|eor|><|sor|>I once wrote an IRC bot in PHP.
lol what a fucking idiot I was. <|eor|><|sor|>Yeaa... I'm still s... | 7 |
lolphp | Banane9 | cwezjw6 | <|sols|><|sot|>Q: Embedding a PHP Server in Chromium (Electron)<|eot|><|sol|>https://github.com/atom/electron/issues/1484<|eol|><|sor|>Reminds me of the people writing TrackMania server controllers in PHP...<|eor|><|sor|>I once wrote an IRC bot in PHP.
lol what a fucking idiot I was. <|eor|><|sor|>Yeaa... I'm still s... | 6 |
lolphp | FionaSarah | cwf1fsd | <|sols|><|sot|>Q: Embedding a PHP Server in Chromium (Electron)<|eot|><|sol|>https://github.com/atom/electron/issues/1484<|eol|><|sor|>Reminds me of the people writing TrackMania server controllers in PHP...<|eor|><|sor|>I once wrote an IRC bot in PHP.
lol what a fucking idiot I was. <|eor|><|sor|>Yeaa... I'm still s... | 6 |
lolphp | Banane9 | cwf25w1 | <|sols|><|sot|>Q: Embedding a PHP Server in Chromium (Electron)<|eot|><|sol|>https://github.com/atom/electron/issues/1484<|eol|><|sor|>Reminds me of the people writing TrackMania server controllers in PHP...<|eor|><|sor|>I once wrote an IRC bot in PHP.
lol what a fucking idiot I was. <|eor|><|sor|>Yeaa... I'm still s... | 5 |
lolphp | gerrymandered | 3fq373 | <|soss|><|sot|>var_dump(nonExistentClass::class); // string<|eot|><|sost|>::class can give you the name of a class that does not exist.<|eost|><|eoss|><|endoftext|> | 15 |
lolphp | callcifer | ctqwyaa | <|soss|><|sot|>var_dump(nonExistentClass::class); // string<|eot|><|sost|>::class can give you the name of a class that does not exist.<|eost|><|sor|>Can you imagine the overhead, if every ::class should require a included file?<|eor|><|sor|>And yet, sane languages don't have this problem. This is the result of PHP's n... | 14 |
lolphp | Schmittfried | ctqy0xp | <|soss|><|sot|>var_dump(nonExistentClass::class); // string<|eot|><|sost|>::class can give you the name of a class that does not exist.<|eost|><|sor|>Can you imagine the overhead, if every ::class should require a included file?<|eor|><|sor|>And yet, sane languages don't have this problem. This is the result of PHP's n... | 10 |
lolphp | Schmittfried | ctqzmye | <|soss|><|sot|>var_dump(nonExistentClass::class); // string<|eot|><|sost|>::class can give you the name of a class that does not exist.<|eost|><|sor|>Can you imagine the overhead, if every ::class should require a included file?<|eor|><|sor|>And yet, sane languages don't have this problem. This is the result of PHP's n... | 10 |
lolphp | callcifer | ctqyskv | <|soss|><|sot|>var_dump(nonExistentClass::class); // string<|eot|><|sost|>::class can give you the name of a class that does not exist.<|eost|><|sor|>Can you imagine the overhead, if every ::class should require a included file?<|eor|><|sor|>And yet, sane languages don't have this problem. This is the result of PHP's n... | 8 |
lolphp | callcifer | cts7ezt | <|soss|><|sot|>var_dump(nonExistentClass::class); // string<|eot|><|sost|>::class can give you the name of a class that does not exist.<|eost|><|sor|>Can you imagine the overhead, if every ::class should require a included file?<|eor|><|sor|>And yet, sane languages don't have this problem. This is the result of PHP's n... | 6 |
lolphp | andsens | 340ro7 | <|sols|><|sot|>Because export(parse_str($str)) is just too much of a hassle<|eot|><|sol|>http://php.net/parse_str<|eol|><|eols|><|endoftext|> | 16 |
lolphp | andsens | cqq5tkb | <|sols|><|sot|>Because export(parse_str($str)) is just too much of a hassle<|eot|><|sol|>http://php.net/parse_str<|eol|><|soopr|>> Parses str as if it were the query string passed via a URL and sets variables in the current scope.
Also calling it `parse_str` is more than enough - it's all the parsing you'll ever need.... | 8 |
lolphp | myaut | cqqo82t | <|sols|><|sot|>Because export(parse_str($str)) is just too much of a hassle<|eot|><|sol|>http://php.net/parse_str<|eol|><|soopr|>> Parses str as if it were the query string passed via a URL and sets variables in the current scope.
Also calling it `parse_str` is more than enough - it's all the parsing you'll ever need.... | 7 |
lolphp | hylje | 2w2mwy | <|sols|><|sot|>Author of Scalar Type Hint, Spaceship/Combined Comparison Operator, Void Return Type & Big Integer Support RFCS quits PHP (xpost /r/php)<|eot|><|sol|>http://news.php.net/php.internals/82750<|eol|><|eols|><|endoftext|> | 13 |
lolphp | willfe42 | con1vpp | <|sols|><|sot|>Author of Scalar Type Hint, Spaceship/Combined Comparison Operator, Void Return Type & Big Integer Support RFCS quits PHP (xpost /r/php)<|eot|><|sol|>http://news.php.net/php.internals/82750<|eol|><|sor|>This doesn't look like lolphp material - all that mail is saying is that the author doesn't have enoug... | 20 |
lolphp | hylje | con1z8v | <|sols|><|sot|>Author of Scalar Type Hint, Spaceship/Combined Comparison Operator, Void Return Type & Big Integer Support RFCS quits PHP (xpost /r/php)<|eot|><|sol|>http://news.php.net/php.internals/82750<|eol|><|sor|>This doesn't look like lolphp material - all that mail is saying is that the author doesn't have enoug... | 10 |
lolphp | that_which_is_lain | cousz41 | <|sols|><|sot|>Author of Scalar Type Hint, Spaceship/Combined Comparison Operator, Void Return Type & Big Integer Support RFCS quits PHP (xpost /r/php)<|eot|><|sol|>http://news.php.net/php.internals/82750<|eol|><|sor|>Plenty of popcorn happening in the internal mailing list.
>I constantly see people giving you shit in... | 7 |
lolphp | FionaSarah | conkr6h | <|sols|><|sot|>Author of Scalar Type Hint, Spaceship/Combined Comparison Operator, Void Return Type & Big Integer Support RFCS quits PHP (xpost /r/php)<|eot|><|sol|>http://news.php.net/php.internals/82750<|eol|><|sor|>This doesn't look like lolphp material - all that mail is saying is that the author doesn't have enoug... | 6 |
lolphp | FionaSarah | conlatd | <|sols|><|sot|>Author of Scalar Type Hint, Spaceship/Combined Comparison Operator, Void Return Type & Big Integer Support RFCS quits PHP (xpost /r/php)<|eot|><|sol|>http://news.php.net/php.internals/82750<|eol|><|sor|>This doesn't look like lolphp material - all that mail is saying is that the author doesn't have enoug... | 6 |
lolphp | iftpadfs | coswczq | <|sols|><|sot|>Author of Scalar Type Hint, Spaceship/Combined Comparison Operator, Void Return Type & Big Integer Support RFCS quits PHP (xpost /r/php)<|eot|><|sol|>http://news.php.net/php.internals/82750<|eol|><|sor|>Plenty of popcorn happening in the internal mailing list.
>I constantly see people giving you shit in... | 5 |
lolphp | FionaSarah | coobu7n | <|sols|><|sot|>Author of Scalar Type Hint, Spaceship/Combined Comparison Operator, Void Return Type & Big Integer Support RFCS quits PHP (xpost /r/php)<|eot|><|sol|>http://news.php.net/php.internals/82750<|eol|><|sor|>This doesn't look like lolphp material - all that mail is saying is that the author doesn't have enoug... | 5 |
lolphp | OneWingedShark | cooy4k4 | <|sols|><|sot|>Author of Scalar Type Hint, Spaceship/Combined Comparison Operator, Void Return Type & Big Integer Support RFCS quits PHP (xpost /r/php)<|eot|><|sol|>http://news.php.net/php.internals/82750<|eol|><|sor|>This doesn't look like lolphp material - all that mail is saying is that the author doesn't have enoug... | 5 |
lolphp | Altreus | 1k9lhn | <|sols|><|sot|>An object is turned into an array with no resemblance to the object - posted on irc.freenode.net ##php<|eot|><|sol|>http://viper-7.com/aD7xnX<|eol|><|eols|><|endoftext|> | 17 |
lolphp | cythrawll | cbmsdbm | <|sols|><|sot|>An object is turned into an array with no resemblance to the object - posted on irc.freenode.net ##php<|eot|><|sol|>http://viper-7.com/aD7xnX<|eol|><|sor|>This is documented behavior: http://www.php.net/manual/en/language.types.array.php#language.types.array.casting
>The keys are the member variable nam... | 9 |
lolphp | d3m0n_ | cbmt4g7 | <|sols|><|sot|>An object is turned into an array with no resemblance to the object - posted on irc.freenode.net ##php<|eot|><|sol|>http://viper-7.com/aD7xnX<|eol|><|sor|>Now, the real fun is happening here: http://viper-7.com/7NOQx0
When the object has a second member, called Foobar the resulting array will have two f... | 7 |
lolphp | infinull | cbmr622 | <|sols|><|sot|>An object is turned into an array with no resemblance to the object - posted on irc.freenode.net ##php<|eot|><|sol|>http://viper-7.com/aD7xnX<|eol|><|sor|>At least it got the 5 right.
Can someone explain why this might happen internally? I cannot for the life of my figure out why this behaviour would be... | 5 |
lolphp | Serialk | 1bfcin | <|sols|><|sot|>Monads in PHP<|eot|><|sol|>http://blog.clement.delafargue.name/posts/2013-04-01-delicious-burritos-in-php-with-phpz.html<|eol|><|eols|><|endoftext|> | 15 |
lolphp | ArseAssassin | c96mhn6 | <|sols|><|sot|>Monads in PHP<|eot|><|sol|>http://blog.clement.delafargue.name/posts/2013-04-01-delicious-burritos-in-php-with-phpz.html<|eol|><|sor|>Well, I don't see how it could make PHP any worse.<|eor|><|eols|><|endoftext|> | 8 |
lolphp | abadidea | 117j3l | <|sols|><|sot|>PHP Manual Masterpieces (I was told this belongs here)<|eot|><|sol|>http://phpmanualmasterpieces.tumblr.com<|eol|><|eols|><|endoftext|> | 14 |
lolphp | kristovaher | y1oyq | <|sols|><|sot|>Did you know that you cannot make cURL POST request in PHP by having @ symbol as the first value?<|eot|><|sol|>https://plus.google.com/102632377636999004385/posts/j3GTr9TK842<|eol|><|eols|><|endoftext|> | 15 |
lolphp | ealf | c5rt7d2 | <|sols|><|sot|>Did you know that you cannot make cURL POST request in PHP by having @ symbol as the first value?<|eot|><|sol|>https://plus.google.com/102632377636999004385/posts/j3GTr9TK842<|eol|><|sor|>> **[2009-01-21 19:56 UTC] jani@php.****net**
> It's security hole only if you don't filter the input..
... jesus... | 10 |
lolphp | Rhomboid | c5rqndl | <|sols|><|sot|>Did you know that you cannot make cURL POST request in PHP by having @ symbol as the first value?<|eot|><|sol|>https://plus.google.com/102632377636999004385/posts/j3GTr9TK842<|eol|><|sor|>CLI curl does this too. It's how you send a file instead of raw data.
Not really PHP's fault.<|eor|><|sor|>No, it is... | 9 |
lolphp | huf | c5rivyu | <|sols|><|sot|>Did you know that you cannot make cURL POST request in PHP by having @ symbol as the first value?<|eot|><|sol|>https://plus.google.com/102632377636999004385/posts/j3GTr9TK842<|eol|><|sor|>yes, we found this one too, and the bug is naturally in libcurl's php bindings. we ended up prefixing the '@' with a ... | 6 |
lolphp | ealf | c5rsa5w | <|sols|><|sot|>Did you know that you cannot make cURL POST request in PHP by having @ symbol as the first value?<|eot|><|sol|>https://plus.google.com/102632377636999004385/posts/j3GTr9TK842<|eol|><|sor|>I think this is my favorite example of how PHP manages to sneak security problems into the most innocent of functions... | 5 |
lolphp | Altreus | c5rp4sk | <|sols|><|sot|>Did you know that you cannot make cURL POST request in PHP by having @ symbol as the first value?<|eot|><|sol|>https://plus.google.com/102632377636999004385/posts/j3GTr9TK842<|eol|><|sor|>"I love PHP but" is such a common phrase.
If you loved it you'd let it die in peace<|eor|><|eols|><|endoftext|> | 5 |
lolphp | verifex | x4a1z | <|sols|><|sot|>php.js - A PHP VM using Javascript. Behold!<|eot|><|sol|>http://phpjs.hertzen.com/<|eol|><|eols|><|endoftext|> | 14 |
lolphp | ThisIsADogHello | c5j21tj | <|sols|><|sot|>php.js - A PHP VM using Javascript. Behold!<|eot|><|sol|>http://phpjs.hertzen.com/<|eol|><|sor|>> Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting identifier in /console.htm on line 3
Looks legit!<|eor|><|eols|><|endoftext|> | 21 |
lolphp | esquilax | c5j3enh | <|sols|><|sot|>php.js - A PHP VM using Javascript. Behold!<|eot|><|sol|>http://phpjs.hertzen.com/<|eol|><|sor|>Yo dawg, we heard you hate PHP and Javascript...<|eor|><|eols|><|endoftext|> | 8 |
lolphp | jherazob | q5dlu | <|soss|><|sot|>Page with summary of PHP's "features"?<|eot|><|sost|>Is there any page that summarizes all the "features" PHP has that you can hand to people when they ask "So, what's wrong with PHP then?" and your memory fails you?<|eost|><|eoss|><|endoftext|> | 15 |
lolphp | sjustinas | c3uuuhn | <|soss|><|sot|>Page with summary of PHP's "features"?<|eot|><|sost|>Is there any page that summarizes all the "features" PHP has that you can hand to people when they ask "So, what's wrong with PHP then?" and your memory fails you?<|eost|><|sor|>[PHP Sadness](http://phpsadness.com/), I guess.<|eor|><|eoss|><|endoftext|... | 13 |
lolphp | ManchegoObfuscator | c3uw6lb | <|soss|><|sot|>Page with summary of PHP's "features"?<|eot|><|sost|>Is there any page that summarizes all the "features" PHP has that you can hand to people when they ask "So, what's wrong with PHP then?" and your memory fails you?<|eost|><|sor|>[PHP Sadness](http://phpsadness.com/), I guess.<|eor|><|sor|>I did not kno... | 9 |
lolphp | infinull | c3uxi1t | <|soss|><|sot|>Page with summary of PHP's "features"?<|eot|><|sost|>Is there any page that summarizes all the "features" PHP has that you can hand to people when they ask "So, what's wrong with PHP then?" and your memory fails you?<|eost|><|sor|>[PHP WTF](http://www.phpwtf.org/) you can also just give the [/top of this... | 6 |
lolphp | huf | ptnlk | <|soss|><|sot|>call_user_func_array() vs reference parameters vs php 5.3<|eot|><|sost|>so why does this:
call_user_func_array('z', array(1));
$x = array(1);
call_user_func_array('z', $x);
function z(&$x) {
echo "CALLED\n";
}
say this:
CALLED
PHP Warning: Parameter 1 to z() expected ... | 14 |
lolphp | infinull | c3s5910 | <|soss|><|sot|>call_user_func_array() vs reference parameters vs php 5.3<|eot|><|sost|>so why does this:
call_user_func_array('z', array(1));
$x = array(1);
call_user_func_array('z', $x);
function z(&$x) {
echo "CALLED\n";
}
say this:
CALLED
PHP Warning: Parameter 1 to z() expected ... | 14 |
lolphp | huf | c3s5r3q | <|soss|><|sot|>call_user_func_array() vs reference parameters vs php 5.3<|eot|><|sost|>so why does this:
call_user_func_array('z', array(1));
$x = array(1);
call_user_func_array('z', $x);
function z(&$x) {
echo "CALLED\n";
}
say this:
CALLED
PHP Warning: Parameter 1 to z() expected ... | 8 |
lolphp | huf | c3s6nxl | <|soss|><|sot|>call_user_func_array() vs reference parameters vs php 5.3<|eot|><|sost|>so why does this:
call_user_func_array('z', array(1));
$x = array(1);
call_user_func_array('z', $x);
function z(&$x) {
echo "CALLED\n";
}
say this:
CALLED
PHP Warning: Parameter 1 to z() expected ... | 7 |
lolphp | audaxxx | c3s9jl9 | <|soss|><|sot|>call_user_func_array() vs reference parameters vs php 5.3<|eot|><|sost|>so why does this:
call_user_func_array('z', array(1));
$x = array(1);
call_user_func_array('z', $x);
function z(&$x) {
echo "CALLED\n";
}
say this:
CALLED
PHP Warning: Parameter 1 to z() expected ... | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.