subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
lolphp | barubary | cfvpg6q | <|soss|><|sot|>PHP Dereferencing<|eot|><|sost|>In PHP 5.4 this would break:
echo array(1, 2, 3)[0]
With the message
Parse error: syntax error, unexpected '[', expecting ',' or ';' in [...][...] on line 1
Luckily, they added "dereferencing" in PHP 5.5 which would solve it! Hurray! And sure enough, it works!... | 10 |
lolphp | skeeto | cfvcbxm | <|soss|><|sot|>PHP Dereferencing<|eot|><|sost|>In PHP 5.4 this would break:
echo array(1, 2, 3)[0]
With the message
Parse error: syntax error, unexpected '[', expecting ',' or ';' in [...][...] on line 1
Luckily, they added "dereferencing" in PHP 5.5 which would solve it! Hurray! And sure enough, it works!... | 9 |
lolphp | allthediamonds | cfwbunv | <|soss|><|sot|>PHP Dereferencing<|eot|><|sost|>In PHP 5.4 this would break:
echo array(1, 2, 3)[0]
With the message
Parse error: syntax error, unexpected '[', expecting ',' or ';' in [...][...] on line 1
Luckily, they added "dereferencing" in PHP 5.5 which would solve it! Hurray! And sure enough, it works!... | 9 |
lolphp | merreborn | cfv5a1s | <|soss|><|sot|>PHP Dereferencing<|eot|><|sost|>In PHP 5.4 this would break:
echo array(1, 2, 3)[0]
With the message
Parse error: syntax error, unexpected '[', expecting ',' or ';' in [...][...] on line 1
Luckily, they added "dereferencing" in PHP 5.5 which would solve it! Hurray! And sure enough, it works!... | 8 |
lolphp | Dereleased | cfvpui0 | <|soss|><|sot|>PHP Dereferencing<|eot|><|sost|>In PHP 5.4 this would break:
echo array(1, 2, 3)[0]
With the message
Parse error: syntax error, unexpected '[', expecting ',' or ';' in [...][...] on line 1
Luckily, they added "dereferencing" in PHP 5.5 which would solve it! Hurray! And sure enough, it works!... | 7 |
lolphp | BufferUnderpants | cfyfi8d | <|soss|><|sot|>PHP Dereferencing<|eot|><|sost|>In PHP 5.4 this would break:
echo array(1, 2, 3)[0]
With the message
Parse error: syntax error, unexpected '[', expecting ',' or ';' in [...][...] on line 1
Luckily, they added "dereferencing" in PHP 5.5 which would solve it! Hurray! And sure enough, it works!... | 7 |
lolphp | Sarcastinator | cfvqcdf | <|soss|><|sot|>PHP Dereferencing<|eot|><|sost|>In PHP 5.4 this would break:
echo array(1, 2, 3)[0]
With the message
Parse error: syntax error, unexpected '[', expecting ',' or ';' in [...][...] on line 1
Luckily, they added "dereferencing" in PHP 5.5 which would solve it! Hurray! And sure enough, it works!... | 7 |
lolphp | nikic | cfvfzym | <|soss|><|sot|>PHP Dereferencing<|eot|><|sost|>In PHP 5.4 this would break:
echo array(1, 2, 3)[0]
With the message
Parse error: syntax error, unexpected '[', expecting ',' or ';' in [...][...] on line 1
Luckily, they added "dereferencing" in PHP 5.5 which would solve it! Hurray! And sure enough, it works!... | 6 |
lolphp | poloppoyop | cfvralu | <|soss|><|sot|>PHP Dereferencing<|eot|><|sost|>In PHP 5.4 this would break:
echo array(1, 2, 3)[0]
With the message
Parse error: syntax error, unexpected '[', expecting ',' or ';' in [...][...] on line 1
Luckily, they added "dereferencing" in PHP 5.5 which would solve it! Hurray! And sure enough, it works!... | 5 |
lolphp | masklinn | 1lvh3u | <|sols|><|sot|>Antonio Ferrara gives up on improving PHP<|eot|><|sol|>http://blog.ircmaxell.com/2013/09/rambling-on-internals.html#comment-form<|eol|><|eols|><|endoftext|> | 78 |
lolphp | infinull | cc3cw7s | <|sols|><|sot|>Antonio Ferrara gives up on improving PHP<|eot|><|sol|>http://blog.ircmaxell.com/2013/09/rambling-on-internals.html#comment-form<|eol|><|sor|>That sounds like about any open source project ever. Try suggesting a non-technical fix (e.g. usability or documentation issues) to any open source project, and yo... | 18 |
lolphp | n1c0_ds | cc3chcs | <|sols|><|sot|>Antonio Ferrara gives up on improving PHP<|eot|><|sol|>http://blog.ircmaxell.com/2013/09/rambling-on-internals.html#comment-form<|eol|><|sor|>That sounds like about any open source project ever. Try suggesting a non-technical fix (e.g. usability or documentation issues) to any open source project, and yo... | 12 |
lolphp | xiongchiamiov | cc3mb66 | <|sols|><|sot|>Antonio Ferrara gives up on improving PHP<|eot|><|sol|>http://blog.ircmaxell.com/2013/09/rambling-on-internals.html#comment-form<|eol|><|sor|>That sounds like about any open source project ever. Try suggesting a non-technical fix (e.g. usability or documentation issues) to any open source project, and yo... | 12 |
lolphp | xiongchiamiov | cc3mci0 | <|sols|><|sot|>Antonio Ferrara gives up on improving PHP<|eot|><|sol|>http://blog.ircmaxell.com/2013/09/rambling-on-internals.html#comment-form<|eol|><|sor|>It's really a shame. I saw a noticeable increase in PHP's quality over this last year, due primarily to the work he and [laruence](https://github.com/laruence) ha... | 7 |
lolphp | notR1CH | 1fb17y | <|sols|><|sot|>The Singapore timezone (SGT) in strtotime has been broken for over 5 years.<|eot|><|sol|>https://bugs.php.net/bug.php?id=45081<|eol|><|eols|><|endoftext|> | 80 |
lolphp | notR1CH | ca8i33p | <|sols|><|sot|>The Singapore timezone (SGT) in strtotime has been broken for over 5 years.<|eot|><|sol|>https://bugs.php.net/bug.php?id=45081<|eol|><|soopr|>There's no way to fix this by updating the timezone database, since the offsets are hard coded in timezonemap.h. SGT / Asia/Singapore seems to be specified twice w... | 24 |
lolphp | frezik | ca8wpis | <|sols|><|sot|>The Singapore timezone (SGT) in strtotime has been broken for over 5 years.<|eot|><|sol|>https://bugs.php.net/bug.php?id=45081<|eol|><|soopr|>There's no way to fix this by updating the timezone database, since the offsets are hard coded in timezonemap.h. SGT / Asia/Singapore seems to be specified twice w... | 15 |
lolphp | jiwari | ca99kw2 | <|sols|><|sot|>The Singapore timezone (SGT) in strtotime has been broken for over 5 years.<|eot|><|sol|>https://bugs.php.net/bug.php?id=45081<|eol|><|soopr|>There's no way to fix this by updating the timezone database, since the offsets are hard coded in timezonemap.h. SGT / Asia/Singapore seems to be specified twice w... | 7 |
lolphp | notR1CH | ca9743t | <|sols|><|sot|>The Singapore timezone (SGT) in strtotime has been broken for over 5 years.<|eot|><|sol|>https://bugs.php.net/bug.php?id=45081<|eol|><|soopr|>There's no way to fix this by updating the timezone database, since the offsets are hard coded in timezonemap.h. SGT / Asia/Singapore seems to be specified twice w... | 5 |
lolphp | ThisIsADogHello | 28oolu | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|eols|><|endoftext|> | 78 |
lolphp | sloat | cicyj25 | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Wordpress and the wordpress ecosystem (plugins, themes, etc.) could be a lol-subre... | 52 |
lolphp | merreborn | cid1yka | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Wordpress and the wordpress ecosystem (plugins, themes, etc.) could be a lol-subre... | 36 |
lolphp | ThisIsADogHello | cicy33q | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Holy shit. I refuse to believe someone did this without having a good reason to th... | 23 |
lolphp | bart2019 | cid757i | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Wordpress and the wordpress ecosystem (plugins, themes, etc.) could be a lol-subre... | 19 |
lolphp | chrismsnz | cid0ul4 | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Holy shit. I refuse to believe someone did this without having a good reason to th... | 19 |
lolphp | n42 | cicxubs | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Holy shit. I refuse to believe someone did this without having a good reason to th... | 15 |
lolphp | rukestisak | cid81hg | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Wordpress and the wordpress ecosystem (plugins, themes, etc.) could be a lol-subre... | 15 |
lolphp | gu3st12 | cid2xpa | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>The real WTF is WordPress.<|eor|><|eols|><|endoftext|> | 13 |
lolphp | sstewartgallus | cid1jt1 | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Holy shit. I refuse to believe someone did this without having a good reason to th... | 13 |
lolphp | minivanmegafun | cid1ik6 | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Wordpress and the wordpress ecosystem (plugins, themes, etc.) could be a lol-subre... | 11 |
lolphp | hfern | cid1qys | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>I cannot actually believe someone could write that...
Much less get it accepted i... | 7 |
lolphp | merreborn | cid23s0 | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Found the original commit and the relevant ticket
https://github.com/WordPress/Wo... | 7 |
lolphp | cbraga | cidgr4t | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Wordpress and the wordpress ecosystem (plugins, themes, etc.) could be a lol-subre... | 7 |
lolphp | poizan42 | cid8qk3 | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Holy shit. I refuse to believe someone did this without having a good reason to th... | 7 |
lolphp | captainramen | cid7bvv | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Wordpress and the wordpress ecosystem (plugins, themes, etc.) could be a lol-subre... | 7 |
lolphp | rcxdude | cidh1gj | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>The response from the server looks like this,
define('AUTH_KEY', '0^6... | 6 |
lolphp | Breaking-Away | cidgfao | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Wordpress and the wordpress ecosystem (plugins, themes, etc.) could be a lol-subre... | 6 |
lolphp | X-Istence | cieyeza | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Holy shit. I refuse to believe someone did this without having a good reason to th... | 6 |
lolphp | skeeto | cidcd3j | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>The response from the server looks like this,
define('AUTH_KEY', '0^6... | 5 |
lolphp | jsanc623 | cid38uh | <|sols|><|sot|>Random number generation in PHP is hard, we'll just download some random numbers<|eot|><|sol|>https://github.com/WordPress/WordPress/blob/fd838ccb2b1d37bda02eecdf09c324863f050812/wp-admin/setup-config.php#L211<|eol|><|sor|>Wordpress and the wordpress ecosystem (plugins, themes, etc.) could be a lol-subre... | 5 |
lolphp | pilif | 9lbf6h | <|sols|><|sot|>Even PHP's developers are stumbling over the lolphp that's the $escape parameter to fputcsv<|eot|><|sol|>https://i.redd.it/ijnqr5hlw5q11.png<|eol|><|eols|><|endoftext|> | 80 |
lolphp | pilif | e75byxn | <|sols|><|sot|>Even PHP's developers are stumbling over the lolphp that's the $escape parameter to fputcsv<|eot|><|sol|>https://i.redd.it/ijnqr5hlw5q11.png<|eol|><|soopr|>source: [https://externals.io/message/103268#103287](https://externals.io/message/103268#103287)<|eoopr|><|eols|><|endoftext|> | 8 |
lolphp | muglug | 7joew1 | <|sols|><|sot|>(0 > null) is false, (-1 > null) is true<|eot|><|sol|>https://3v4l.org/EfhqW<|eol|><|eols|><|endoftext|> | 78 |
lolphp | dalastboss | dr87hw1 | <|sols|><|sot|>(0 > null) is false, (-1 > null) is true<|eot|><|sol|>https://3v4l.org/EfhqW<|eol|><|sor|>Pass garbage in, get garbage out. News at 11.<|eor|><|sor|>If only types were a thing <|eor|><|eols|><|endoftext|> | 38 |
lolphp | mrpaco | dr830so | <|sols|><|sot|>(0 > null) is false, (-1 > null) is true<|eot|><|sol|>https://3v4l.org/EfhqW<|eol|><|sor|>Pass garbage in, get garbage out. News at 11.<|eor|><|eols|><|endoftext|> | 22 |
lolphp | thenickdude | dr8cuq8 | <|sols|><|sot|>(0 > null) is false, (-1 > null) is true<|eot|><|sol|>https://3v4l.org/EfhqW<|eol|><|sor|>I guess -1 effectively ends up being coerced into an unsigned integer for the comparison, which makes it huge.<|eor|><|sor|>That doesn't seem likely to me. I'd expect PHP to coerce both sides to booleans or some non... | 19 |
lolphp | barubary | dr8cd0f | <|sols|><|sot|>(0 > null) is false, (-1 > null) is true<|eot|><|sol|>https://3v4l.org/EfhqW<|eol|><|sor|>I guess -1 effectively ends up being coerced into an unsigned integer for the comparison, which makes it huge.<|eor|><|sor|>That doesn't seem likely to me. I'd expect PHP to coerce both sides to booleans or some non... | 17 |
lolphp | thenickdude | dr89gs9 | <|sols|><|sot|>(0 > null) is false, (-1 > null) is true<|eot|><|sol|>https://3v4l.org/EfhqW<|eol|><|sor|>I guess -1 effectively ends up being coerced into an unsigned integer for the comparison, which makes it huge.<|eor|><|eols|><|endoftext|> | 14 |
lolphp | FlyLo11 | dr8g47g | <|sols|><|sot|>(0 > null) is false, (-1 > null) is true<|eot|><|sol|>https://3v4l.org/EfhqW<|eol|><|sor|>I guess -1 effectively ends up being coerced into an unsigned integer for the comparison, which makes it huge.<|eor|><|sor|>That doesn't seem likely to me. I'd expect PHP to coerce both sides to booleans or some non... | 13 |
lolphp | Takeoded | dr8h4at | <|sols|><|sot|>(0 > null) is false, (-1 > null) is true<|eot|><|sol|>https://3v4l.org/EfhqW<|eol|><|sor|>I guess -1 effectively ends up being coerced into an unsigned integer for the comparison, which makes it huge.<|eor|><|sor|>That doesn't seem likely to me. I'd expect PHP to coerce both sides to booleans or some non... | 10 |
lolphp | Saltub | dr8gwg4 | <|sols|><|sot|>(0 > null) is false, (-1 > null) is true<|eot|><|sol|>https://3v4l.org/EfhqW<|eol|><|sor|>I guess -1 effectively ends up being coerced into an unsigned integer for the comparison, which makes it huge.<|eor|><|sor|>> I guess
Like most people on this sub.
<|eor|><|eols|><|endoftext|> | 7 |
lolphp | polish_niceguy | dr9jphk | <|sols|><|sot|>(0 > null) is false, (-1 > null) is true<|eot|><|sol|>https://3v4l.org/EfhqW<|eol|><|sor|>I guess -1 effectively ends up being coerced into an unsigned integer for the comparison, which makes it huge.<|eor|><|sor|>That doesn't seem likely to me. I'd expect PHP to coerce both sides to booleans or some non... | 6 |
lolphp | maweki | dr8h8nb | <|sols|><|sot|>(0 > null) is false, (-1 > null) is true<|eot|><|sol|>https://3v4l.org/EfhqW<|eol|><|sor|>Transitivity of > was maybe a thing in the 90s.<|eor|><|eols|><|endoftext|> | 5 |
lolphp | Danack | ds4uita | <|sols|><|sot|>(0 > null) is false, (-1 > null) is true<|eot|><|sol|>https://3v4l.org/EfhqW<|eol|><|sor|>I guess -1 effectively ends up being coerced into an unsigned integer for the comparison, which makes it huge.<|eor|><|sor|>That doesn't seem likely to me. I'd expect PHP to coerce both sides to booleans or some non... | 5 |
lolphp | lyoshenka | 49al7w | <|soss|><|sot|>One of these things is not like the others<|eot|><|sost|> php > (new stdClass()) == false;
php > (new stdClass()) == null;
php > (new stdClass()) == 'a string';
php > (new stdClass()) == [];
php > (new stdClass()) == (new stdClass());
php > (new stdClass()) == 4;
PHP Notice: O... | 77 |
lolphp | Lord_NShYH | d0qd9w5 | <|soss|><|sot|>One of these things is not like the others<|eot|><|sost|> php > (new stdClass()) == false;
php > (new stdClass()) == null;
php > (new stdClass()) == 'a string';
php > (new stdClass()) == [];
php > (new stdClass()) == (new stdClass());
php > (new stdClass()) == 4;
PHP Notice: O... | 35 |
lolphp | chimyx | d0qjii6 | <|soss|><|sot|>One of these things is not like the others<|eot|><|sost|> php > (new stdClass()) == false;
php > (new stdClass()) == null;
php > (new stdClass()) == 'a string';
php > (new stdClass()) == [];
php > (new stdClass()) == (new stdClass());
php > (new stdClass()) == 4;
PHP Notice: O... | 22 |
lolphp | iluuu | d0qm45x | <|soss|><|sot|>One of these things is not like the others<|eot|><|sost|> php > (new stdClass()) == false;
php > (new stdClass()) == null;
php > (new stdClass()) == 'a string';
php > (new stdClass()) == [];
php > (new stdClass()) == (new stdClass());
php > (new stdClass()) == 4;
PHP Notice: O... | 21 |
lolphp | coredumperror | d0ql262 | <|soss|><|sot|>One of these things is not like the others<|eot|><|sost|> php > (new stdClass()) == false;
php > (new stdClass()) == null;
php > (new stdClass()) == 'a string';
php > (new stdClass()) == [];
php > (new stdClass()) == (new stdClass());
php > (new stdClass()) == 4;
PHP Notice: O... | 17 |
lolphp | the_alias_of_andrea | d0qpju0 | <|soss|><|sot|>One of these things is not like the others<|eot|><|sost|> php > (new stdClass()) == false;
php > (new stdClass()) == null;
php > (new stdClass()) == 'a string';
php > (new stdClass()) == [];
php > (new stdClass()) == (new stdClass());
php > (new stdClass()) == 4;
PHP Notice: O... | 15 |
lolphp | Various_Pickles | d0rfs4r | <|soss|><|sot|>One of these things is not like the others<|eot|><|sost|> php > (new stdClass()) == false;
php > (new stdClass()) == null;
php > (new stdClass()) == 'a string';
php > (new stdClass()) == [];
php > (new stdClass()) == (new stdClass());
php > (new stdClass()) == 4;
PHP Notice: O... | 10 |
lolphp | philsown | d0qwglu | <|soss|><|sot|>One of these things is not like the others<|eot|><|sost|> php > (new stdClass()) == false;
php > (new stdClass()) == null;
php > (new stdClass()) == 'a string';
php > (new stdClass()) == [];
php > (new stdClass()) == (new stdClass());
php > (new stdClass()) == 4;
PHP Notice: O... | 9 |
lolphp | graingert | d0qq2ua | <|soss|><|sot|>One of these things is not like the others<|eot|><|sost|> php > (new stdClass()) == false;
php > (new stdClass()) == null;
php > (new stdClass()) == 'a string';
php > (new stdClass()) == [];
php > (new stdClass()) == (new stdClass());
php > (new stdClass()) == 4;
PHP Notice: O... | 8 |
lolphp | philsown | d0s0bmt | <|soss|><|sot|>One of these things is not like the others<|eot|><|sost|> php > (new stdClass()) == false;
php > (new stdClass()) == null;
php > (new stdClass()) == 'a string';
php > (new stdClass()) == [];
php > (new stdClass()) == (new stdClass());
php > (new stdClass()) == 4;
PHP Notice: O... | 6 |
lolphp | Calavar | d0zqp6q | <|soss|><|sot|>One of these things is not like the others<|eot|><|sost|> php > (new stdClass()) == false;
php > (new stdClass()) == null;
php > (new stdClass()) == 'a string';
php > (new stdClass()) == [];
php > (new stdClass()) == (new stdClass());
php > (new stdClass()) == 4;
PHP Notice: O... | 6 |
lolphp | the_alias_of_andrea | d0qpi7q | <|soss|><|sot|>One of these things is not like the others<|eot|><|sost|> php > (new stdClass()) == false;
php > (new stdClass()) == null;
php > (new stdClass()) == 'a string';
php > (new stdClass()) == [];
php > (new stdClass()) == (new stdClass());
php > (new stdClass()) == 4;
PHP Notice: O... | 5 |
lolphp | akoskm | 2kb5rm | <|sols|><|sot|>Brainfuck and PHP [x-post from /r/ProgrammerHumor]<|eot|><|sol|>https://pbs.twimg.com/media/B0n_EAmIUAEf_M3.png:large<|eol|><|eols|><|endoftext|> | 76 |
lolphp | merreborn | cljro0n | <|sols|><|sot|>Brainfuck and PHP [x-post from /r/ProgrammerHumor]<|eot|><|sol|>https://pbs.twimg.com/media/B0n_EAmIUAEf_M3.png:large<|eol|><|sor|>I'll say one thing: I've never seen a brainfuck application exploited in the wild. BF arguably has the better security track record
Are there any good brainfuck Web framewor... | 22 |
lolphp | Serialk | cljtzxe | <|sols|><|sot|>Brainfuck and PHP [x-post from /r/ProgrammerHumor]<|eot|><|sol|>https://pbs.twimg.com/media/B0n_EAmIUAEf_M3.png:large<|eol|><|sor|>I'll say one thing: I've never seen a brainfuck application exploited in the wild. BF arguably has the better security track record
Are there any good brainfuck Web framewor... | 12 |
lolphp | merreborn | clju32g | <|sols|><|sot|>Brainfuck and PHP [x-post from /r/ProgrammerHumor]<|eot|><|sol|>https://pbs.twimg.com/media/B0n_EAmIUAEf_M3.png:large<|eol|><|sor|>I'll say one thing: I've never seen a brainfuck application exploited in the wild. BF arguably has the better security track record
Are there any good brainfuck Web framewor... | 12 |
lolphp | FireyFly | clk6ars | <|sols|><|sot|>Brainfuck and PHP [x-post from /r/ProgrammerHumor]<|eot|><|sol|>https://pbs.twimg.com/media/B0n_EAmIUAEf_M3.png:large<|eol|><|sor|>I'll say one thing: I've never seen a brainfuck application exploited in the wild. BF arguably has the better security track record
Are there any good brainfuck Web framewor... | 12 |
lolphp | allthediamonds | clk2wq3 | <|sols|><|sot|>Brainfuck and PHP [x-post from /r/ProgrammerHumor]<|eot|><|sol|>https://pbs.twimg.com/media/B0n_EAmIUAEf_M3.png:large<|eol|><|sor|>I'll say one thing: I've never seen a brainfuck application exploited in the wild. BF arguably has the better security track record
Are there any good brainfuck Web framewor... | 11 |
lolphp | shiase | cljq3cv | <|sols|><|sot|>Brainfuck and PHP [x-post from /r/ProgrammerHumor]<|eot|><|sol|>https://pbs.twimg.com/media/B0n_EAmIUAEf_M3.png:large<|eol|><|sor|>i remember this, php plebs were so butthurt<|eor|><|eols|><|endoftext|> | 8 |
lolphp | PrettyWhore | clk2wgj | <|sols|><|sot|>Brainfuck and PHP [x-post from /r/ProgrammerHumor]<|eot|><|sol|>https://pbs.twimg.com/media/B0n_EAmIUAEf_M3.png:large<|eol|><|sor|>I'll say one thing: I've never seen a brainfuck application exploited in the wild. BF arguably has the better security track record
Are there any good brainfuck Web framewor... | 5 |
lolphp | shitcanz | 5usnkk | <|soss|><|sot|>Yet another PHP Garbage class<|eot|><|sost|>I was recently working with some PHP and had to hunt down a weird bug, and yet again it was PHP related. Basically you can modify DateTimeImmutable (i repeat IMMUTABLE!) very easily. Just call the getTimeStamp method on it.
Originally i had the assumption you ... | 76 |
lolphp | emilvikstrom | ddx15in | <|soss|><|sot|>Yet another PHP Garbage class<|eot|><|sost|>I was recently working with some PHP and had to hunt down a weird bug, and yet again it was PHP related. Basically you can modify DateTimeImmutable (i repeat IMMUTABLE!) very easily. Just call the getTimeStamp method on it.
Originally i had the assumption you ... | 37 |
lolphp | AlGoreBestGore | ddxnpi8 | <|soss|><|sot|>Yet another PHP Garbage class<|eot|><|sost|>I was recently working with some PHP and had to hunt down a weird bug, and yet again it was PHP related. Basically you can modify DateTimeImmutable (i repeat IMMUTABLE!) very easily. Just call the getTimeStamp method on it.
Originally i had the assumption you ... | 23 |
lolphp | Pesthuf | ddxqzah | <|soss|><|sot|>Yet another PHP Garbage class<|eot|><|sost|>I was recently working with some PHP and had to hunt down a weird bug, and yet again it was PHP related. Basically you can modify DateTimeImmutable (i repeat IMMUTABLE!) very easily. Just call the getTimeStamp method on it.
Originally i had the assumption you ... | 23 |
lolphp | _Lady_Deadpool_ | ddwlnkd | <|soss|><|sot|>Yet another PHP Garbage class<|eot|><|sost|>I was recently working with some PHP and had to hunt down a weird bug, and yet again it was PHP related. Basically you can modify DateTimeImmutable (i repeat IMMUTABLE!) very easily. Just call the getTimeStamp method on it.
Originally i had the assumption you ... | 14 |
lolphp | chazzeromus | ddwsko5 | <|soss|><|sot|>Yet another PHP Garbage class<|eot|><|sost|>I was recently working with some PHP and had to hunt down a weird bug, and yet again it was PHP related. Basically you can modify DateTimeImmutable (i repeat IMMUTABLE!) very easily. Just call the getTimeStamp method on it.
Originally i had the assumption you ... | 10 |
lolphp | nikic | ddyhvp6 | <|soss|><|sot|>Yet another PHP Garbage class<|eot|><|sost|>I was recently working with some PHP and had to hunt down a weird bug, and yet again it was PHP related. Basically you can modify DateTimeImmutable (i repeat IMMUTABLE!) very easily. Just call the getTimeStamp method on it.
Originally i had the assumption you ... | 9 |
lolphp | Pesthuf | ddwn7i7 | <|soss|><|sot|>Yet another PHP Garbage class<|eot|><|sost|>I was recently working with some PHP and had to hunt down a weird bug, and yet again it was PHP related. Basically you can modify DateTimeImmutable (i repeat IMMUTABLE!) very easily. Just call the getTimeStamp method on it.
Originally i had the assumption you ... | 9 |
lolphp | BilgeXA | ddwtgfo | <|soss|><|sot|>Yet another PHP Garbage class<|eot|><|sost|>I was recently working with some PHP and had to hunt down a weird bug, and yet again it was PHP related. Basically you can modify DateTimeImmutable (i repeat IMMUTABLE!) very easily. Just call the getTimeStamp method on it.
Originally i had the assumption you ... | 9 |
lolphp | nikic | ddyipa6 | <|soss|><|sot|>Yet another PHP Garbage class<|eot|><|sost|>I was recently working with some PHP and had to hunt down a weird bug, and yet again it was PHP related. Basically you can modify DateTimeImmutable (i repeat IMMUTABLE!) very easily. Just call the getTimeStamp method on it.
Originally i had the assumption you ... | 6 |
lolphp | BilgeXA | ddwthno | <|soss|><|sot|>Yet another PHP Garbage class<|eot|><|sost|>I was recently working with some PHP and had to hunt down a weird bug, and yet again it was PHP related. Basically you can modify DateTimeImmutable (i repeat IMMUTABLE!) very easily. Just call the getTimeStamp method on it.
Originally i had the assumption you ... | 5 |
lolphp | BilgeXA | ddxpoq6 | <|soss|><|sot|>Yet another PHP Garbage class<|eot|><|sost|>I was recently working with some PHP and had to hunt down a weird bug, and yet again it was PHP related. Basically you can modify DateTimeImmutable (i repeat IMMUTABLE!) very easily. Just call the getTimeStamp method on it.
Originally i had the assumption you ... | 5 |
lolphp | ConcernedInScythe | de0v1g5 | <|soss|><|sot|>Yet another PHP Garbage class<|eot|><|sost|>I was recently working with some PHP and had to hunt down a weird bug, and yet again it was PHP related. Basically you can modify DateTimeImmutable (i repeat IMMUTABLE!) very easily. Just call the getTimeStamp method on it.
Originally i had the assumption you ... | 5 |
lolphp | andsens | 3cjgtl | <|sols|><|sot|>feof(): Returns TRUE if the file pointer is at EOF or an error occurs; otherwise returns FALSE. -- except when some other error occurs, then it returns FALSE<|eot|><|sol|>http://dk2.php.net/manual/en/function.feof.php#refsect1-function.feof-notes<|eol|><|eols|><|endoftext|> | 75 |
lolphp | cbraga | csw9d4q | <|sols|><|sot|>feof(): Returns TRUE if the file pointer is at EOF or an error occurs; otherwise returns FALSE. -- except when some other error occurs, then it returns FALSE<|eot|><|sol|>http://dk2.php.net/manual/en/function.feof.php#refsect1-function.feof-notes<|eol|><|sor|>> Warning
> If a connection opened by fsocko... | 44 |
lolphp | kasnalin | csw5jo9 | <|sols|><|sot|>feof(): Returns TRUE if the file pointer is at EOF or an error occurs; otherwise returns FALSE. -- except when some other error occurs, then it returns FALSE<|eot|><|sol|>http://dk2.php.net/manual/en/function.feof.php#refsect1-function.feof-notes<|eol|><|sor|>Well, no. It returns true if at end of file o... | 21 |
lolphp | Ironoxides | csw33pt | <|sols|><|sot|>feof(): Returns TRUE if the file pointer is at EOF or an error occurs; otherwise returns FALSE. -- except when some other error occurs, then it returns FALSE<|eot|><|sol|>http://dk2.php.net/manual/en/function.feof.php#refsect1-function.feof-notes<|eol|><|sor|>Well, no. It returns true if at end of file o... | 8 |
lolphp | sli | csxvyk1 | <|sols|><|sot|>feof(): Returns TRUE if the file pointer is at EOF or an error occurs; otherwise returns FALSE. -- except when some other error occurs, then it returns FALSE<|eot|><|sol|>http://dk2.php.net/manual/en/function.feof.php#refsect1-function.feof-notes<|eol|><|sor|>Again like the other feof() link here on /r/l... | 6 |
lolphp | emcniece | csw6ocd | <|sols|><|sot|>feof(): Returns TRUE if the file pointer is at EOF or an error occurs; otherwise returns FALSE. -- except when some other error occurs, then it returns FALSE<|eot|><|sol|>http://dk2.php.net/manual/en/function.feof.php#refsect1-function.feof-notes<|eol|><|sor|>Well, no. It returns true if at end of file o... | 5 |
lolphp | AdventOfScala | 5xe6ez | <|sols|><|sot|>Test of JSON parsers - PHP's is almost the only one completely correct one.<|eot|><|sol|>http://seriot.ch/json/pruned_results.png<|eol|><|eols|><|endoftext|> | 75 |
lolphp | yxpow | dehi1pz | <|sols|><|sot|>Test of JSON parsers - PHP's is almost the only one completely correct one.<|eot|><|sol|>http://seriot.ch/json/pruned_results.png<|eol|><|sor|>Ironic that the parser is almost to spec when if you want to use the API properly you have to wrap it in a class that will handle errors properly.<|eor|><|eols|><... | 48 |
lolphp | iloveportalz0r | dehh3ij | <|sols|><|sot|>Test of JSON parsers - PHP's is almost the only one completely correct one.<|eot|><|sol|>http://seriot.ch/json/pruned_results.png<|eol|><|sor|>How is this lol php?<|eor|><|sor|>It's funny that one of the things PHP does correctly is parsing something based on a competing language<|eor|><|eols|><|endoftex... | 37 |
lolphp | sbditto85 | dehg8h9 | <|sols|><|sot|>Test of JSON parsers - PHP's is almost the only one completely correct one.<|eot|><|sol|>http://seriot.ch/json/pruned_results.png<|eol|><|sor|>How is this lol php?<|eor|><|eols|><|endoftext|> | 17 |
lolphp | Lama-Lutomski | dehvc20 | <|sols|><|sot|>Test of JSON parsers - PHP's is almost the only one completely correct one.<|eot|><|sol|>http://seriot.ch/json/pruned_results.png<|eol|><|sor|>How is this lol php?<|eor|><|sor|>Yeah, it belongs to /r/wowphp. Still funny though.<|eor|><|eols|><|endoftext|> | 17 |
lolphp | kr094 | dehxpwp | <|sols|><|sot|>Test of JSON parsers - PHP's is almost the only one completely correct one.<|eot|><|sol|>http://seriot.ch/json/pruned_results.png<|eol|><|sor|>How is this lol php?<|eor|><|sor|>Yeah, it belongs to /r/wowphp. Still funny though.<|eor|><|sor|>Fell for it. <|eor|><|eols|><|endoftext|> | 14 |
lolphp | IlikeSalmiakki | dehvy17 | <|sols|><|sot|>Test of JSON parsers - PHP's is almost the only one completely correct one.<|eot|><|sol|>http://seriot.ch/json/pruned_results.png<|eol|><|sor|>[Here's the article](http://seriot.ch/parsing_json.php). Worth the read.<|eor|><|eols|><|endoftext|> | 12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.