subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
lolphp
OmnipotentEntity
dnz3u7v
<|sols|><|sot|>Warning: SSL: The operation completed successfully.<|eot|><|sol|>https://stackoverflow.com/questions/46337963/php-soap-clients-http-headers-error<|eol|><|sor|>Isn't that more lolwin32 then lolphp? The native code called a SetLastError function in between detecting that something failed and calling GetLas...
8
lolphp
AnarchistPrick
4tm2sw
<|sols|><|sot|>PHP creates array keys out of nowhere<|eot|><|sol|>https://3v4l.org/OAqGa<|eol|><|eols|><|endoftext|>
28
lolphp
AnarchistPrick
d5igpee
<|sols|><|sot|>PHP creates array keys out of nowhere<|eot|><|sol|>https://3v4l.org/OAqGa<|eol|><|sor|>Just like any modern JavaScript has "use strict" as the first line, most modern PHP frameworks convert errors to exceptions. So the Warning on line 8 will become an exception, and there's no chance you will be surprise...
14
lolphp
carlos_vini
d5icqvu
<|sols|><|sot|>PHP creates array keys out of nowhere<|eot|><|sol|>https://3v4l.org/OAqGa<|eol|><|sor|>Just like any modern JavaScript has "use strict" as the first line, most modern PHP frameworks convert errors to exceptions. So the Warning on line 8 will become an exception, and there's no chance you will be surprise...
13
lolphp
Miserable_Fuck
d5jjvzh
<|sols|><|sot|>PHP creates array keys out of nowhere<|eot|><|sol|>https://3v4l.org/OAqGa<|eol|><|sor|>Just like any modern JavaScript has "use strict" as the first line, most modern PHP frameworks convert errors to exceptions. So the Warning on line 8 will become an exception, and there's no chance you will be surprise...
11
lolphp
Bl00dsoul
d5jtc8b
<|sols|><|sot|>PHP creates array keys out of nowhere<|eot|><|sol|>https://3v4l.org/OAqGa<|eol|><|sor|>Basically; don't ever use references in php. [They don't work the way you think they do](https://secure.php.net/manual/en/language.references.whatdo.php) <|eor|><|eols|><|endoftext|>
7
lolphp
the_alias_of_andrea
d5mp4l6
<|sols|><|sot|>PHP creates array keys out of nowhere<|eot|><|sol|>https://3v4l.org/OAqGa<|eol|><|sor|>This seems unintuitive when written as in the example, but it can be written more simply: <?php $a = []; $b = &$a['some_key']; var_dump($a); If you run that, you'll find there's now a `'some_key'` en...
6
lolphp
esquilax
46m90k
<|sols|><|sot|>Brainstorming session: What sorts of mishaps could befall a PHP[cruise]?<|eot|><|sol|>https://cruise.phparch.com/<|eol|><|eols|><|endoftext|>
28
lolphp
kd0ocr
d067r12
<|sols|><|sot|>Brainstorming session: What sorts of mishaps could befall a PHP[cruise]?<|eot|><|sol|>https://cruise.phparch.com/<|eol|><|sor|>The cruiseliner attempts to dock at a fishing wharf, and is automatically typecasted to a dinghy. Everyone's computers fall into the ocean. None of it is backed up.<|eor|><|eol...
36
lolphp
mort96
d06s37c
<|sols|><|sot|>Brainstorming session: What sorts of mishaps could befall a PHP[cruise]?<|eot|><|sol|>https://cruise.phparch.com/<|eol|><|sor|>`> PHP[cruise]` `PHP[cruise]`. That's a tough one, but as a helpful PHP interpreter, I'm going to try to interpret it nonetheless. First off, PHP is just a random piece of text...
28
lolphp
InconsiderateBastard
d06fxjf
<|sols|><|sot|>Brainstorming session: What sorts of mishaps could befall a PHP[cruise]?<|eot|><|sol|>https://cruise.phparch.com/<|eol|><|sor|>The cruise ship uses sails and carries attendees across the ocean to sell as human slaves in a noble attempt to maintain backwards compatibility. EDIT: The sign up form allows f...
26
lolphp
ToddlahAkbar
d069pfl
<|sols|><|sot|>Brainstorming session: What sorts of mishaps could befall a PHP[cruise]?<|eot|><|sol|>https://cruise.phparch.com/<|eol|><|sor|>Someone named: Robert); DROP TABLE Passengers; -- Attends and now there is no cruise. <|eor|><|eols|><|endoftext|>
22
lolphp
ThisIsADogHello
d06mhg5
<|sols|><|sot|>Brainstorming session: What sorts of mishaps could befall a PHP[cruise]?<|eot|><|sol|>https://cruise.phparch.com/<|eol|><|sor|>They have record attendance with NaN attendees. Random events taking place on the cruise fail to happen, citing "Error establishing a database connection" The con goes bankrupt...
20
lolphp
loath
d06hly1
<|sols|><|sot|>Brainstorming session: What sorts of mishaps could befall a PHP[cruise]?<|eot|><|sol|>https://cruise.phparch.com/<|eol|><|sor|>Someone named: Robert); DROP TABLE Passengers; -- Attends and now there is no cruise. <|eor|><|sor|>Good try, except: ORA-01756: quoted string not properly terminated<...
17
lolphp
cbraga
d06eipz
<|sols|><|sot|>Brainstorming session: What sorts of mishaps could befall a PHP[cruise]?<|eot|><|sol|>https://cruise.phparch.com/<|eol|><|sor|>The cruiseliner attempts to dock at a fishing wharf, and is automatically typecasted to a dinghy. Everyone's computers fall into the ocean. None of it is backed up.<|eor|><|sor...
9
lolphp
FredL2
d08jvsc
<|sols|><|sot|>Brainstorming session: What sorts of mishaps could befall a PHP[cruise]?<|eot|><|sol|>https://cruise.phparch.com/<|eol|><|sor|>The cruiseliner attempts to dock at a fishing wharf, and is automatically typecasted to a dinghy. Everyone's computers fall into the ocean. None of it is backed up.<|eor|><|sor...
7
lolphp
the_alias_of_andrea
3zzo3z
<|sols|><|sot|>How many decimal places in 3.34e3?<|eot|><|sol|>https://3v4l.org/pXc0R<|eol|><|eols|><|endoftext|>
29
lolphp
SirClueless
cyqfcbz
<|sols|><|sot|>How many decimal places in 3.34e3?<|eot|><|sol|>https://3v4l.org/pXc0R<|eol|><|sor|>Wow, what a mess. PHP. Doesn't have types. Except when it has types.<|eor|><|sor|>Php isn't BCPL, of course it has types.<|eor|><|sor|>When your mathematical operators accept strings as arguments, your type system might ...
23
lolphp
the_alias_of_andrea
cyqaonk
<|sols|><|sot|>How many decimal places in 3.34e3?<|eot|><|sol|>https://3v4l.org/pXc0R<|eol|><|soopr|>Turns out that where PHP expects an integer, it sometimes, but not always, does not respect floating-point exponents. The worst bit is I know exactly why this happens. :(<|eoopr|><|eols|><|endoftext|>
18
lolphp
the_alias_of_andrea
cyqhsw0
<|sols|><|sot|>How many decimal places in 3.34e3?<|eot|><|sol|>https://3v4l.org/pXc0R<|eol|><|soopr|>Turns out that where PHP expects an integer, it sometimes, but not always, does not respect floating-point exponents. The worst bit is I know exactly why this happens. :(<|eoopr|><|sor|>Why?<|eor|><|soopr|>In some case...
15
lolphp
SirClueless
cyqdopb
<|sols|><|sot|>How many decimal places in 3.34e3?<|eot|><|sol|>https://3v4l.org/pXc0R<|eol|><|sor|>Wow, what a mess. PHP. Doesn't have types. Except when it has types.<|eor|><|eols|><|endoftext|>
12
lolphp
SirClueless
cyqihs5
<|sols|><|sot|>How many decimal places in 3.34e3?<|eot|><|sol|>https://3v4l.org/pXc0R<|eol|><|sor|>Wow, what a mess. PHP. Doesn't have types. Except when it has types.<|eor|><|sor|>Php isn't BCPL, of course it has types.<|eor|><|sor|>When your mathematical operators accept strings as arguments, your type system might ...
10
lolphp
stubborn_d0nkey
cyqdrfm
<|sols|><|sot|>How many decimal places in 3.34e3?<|eot|><|sol|>https://3v4l.org/pXc0R<|eol|><|soopr|>Turns out that where PHP expects an integer, it sometimes, but not always, does not respect floating-point exponents. The worst bit is I know exactly why this happens. :(<|eoopr|><|sor|>Why?<|eor|><|eols|><|endoftext|>
8
lolphp
Drainedsoul
cyqnnoc
<|sols|><|sot|>How many decimal places in 3.34e3?<|eot|><|sol|>https://3v4l.org/pXc0R<|eol|><|sor|>Wow, what a mess. PHP. Doesn't have types. Except when it has types.<|eor|><|sor|>Php isn't BCPL, of course it has types.<|eor|><|sor|>When your mathematical operators accept strings as arguments, your type system might ...
7
lolphp
the_alias_of_andrea
cyqhrta
<|sols|><|sot|>How many decimal places in 3.34e3?<|eot|><|sol|>https://3v4l.org/pXc0R<|eol|><|sor|>I have a different question: where the heck did intdiv go in 5.3 to 5.6?<|eor|><|soopr|>It was only added in 7.<|eoopr|><|eols|><|endoftext|>
5
lolphp
bl_nk
1gkvtb
<|soss|><|sot|>Accessing FALSE as array<|eot|><|sost|> <?php error_reporting( -1 ); // no errors, nothing: $array = false; $array['nonexisting_key']; // [Notice] Undefined index: nonexisting_key $array = array(); $array['nonexisting_key']; <|eost|><|eoss|><|endoftext|>
27
lolphp
InconsiderateBastard
cal7ewy
<|soss|><|sot|>Accessing FALSE as array<|eot|><|sost|> <?php error_reporting( -1 ); // no errors, nothing: $array = false; $array['nonexisting_key']; // [Notice] Undefined index: nonexisting_key $array = array(); $array['nonexisting_key']; <|eost|><|sor|>At least it's a documented behavior :-/ Edit: for...
11
lolphp
bl_nk
cal8auh
<|soss|><|sot|>Accessing FALSE as array<|eot|><|sost|> <?php error_reporting( -1 ); // no errors, nothing: $array = false; $array['nonexisting_key']; // [Notice] Undefined index: nonexisting_key $array = array(); $array['nonexisting_key']; <|eost|><|sor|>At least it's a documented behavior :-/ Edit: for...
9
lolphp
BufferUnderpants
cal8qer
<|soss|><|sot|>Accessing FALSE as array<|eot|><|sost|> <?php error_reporting( -1 ); // no errors, nothing: $array = false; $array['nonexisting_key']; // [Notice] Undefined index: nonexisting_key $array = array(); $array['nonexisting_key']; <|eost|><|sor|>At least it's a documented behavior :-/ Edit: for...
9
lolphp
skeeto
calgvoi
<|soss|><|sot|>Accessing FALSE as array<|eot|><|sost|> <?php error_reporting( -1 ); // no errors, nothing: $array = false; $array['nonexisting_key']; // [Notice] Undefined index: nonexisting_key $array = array(); $array['nonexisting_key']; <|eost|><|sor|>At least it's a documented behavior :-/ Edit: for...
8
lolphp
audaxxx
1coccc
<|sols|><|sot|>You can't upload files larger than 2gb via http with PHP<|eot|><|sol|>https://bugs.php.net/bug.php?id=44522<|eol|><|eols|><|endoftext|>
31
lolphp
gearvOsh
c9ij9df
<|sols|><|sot|>You can't upload files larger than 2gb via http with PHP<|eot|><|sol|>https://bugs.php.net/bug.php?id=44522<|eol|><|sor|>I feel if you need to upload more than 2GB, doing a pure HTTP upload in a single go is the wrong approach. Hey, but at least they are attempting to patch it instead of saying "nope no...
13
lolphp
audaxxx
c9ij8ym
<|sols|><|sot|>You can't upload files larger than 2gb via http with PHP<|eot|><|sol|>https://bugs.php.net/bug.php?id=44522<|eol|><|sor|>HTTP uploads of 2GB files all in one go? Nothing could possibly go wrong.<|eor|><|soopr|>WebDav uses http and owncloud provides WebDAV. There definitely is a use case for this. I sync...
8
lolphp
phoshi
c9iotue
<|sols|><|sot|>You can't upload files larger than 2gb via http with PHP<|eot|><|sol|>https://bugs.php.net/bug.php?id=44522<|eol|><|sor|>I feel if you need to upload more than 2GB, doing a pure HTTP upload in a single go is the wrong approach. Hey, but at least they are attempting to patch it instead of saying "nope no...
8
lolphp
audaxxx
c9ik89g
<|sols|><|sot|>You can't upload files larger than 2gb via http with PHP<|eot|><|sol|>https://bugs.php.net/bug.php?id=44522<|eol|><|sor|>HTTP uploads of 2GB files all in one go? Nothing could possibly go wrong.<|eor|><|soopr|>WebDav uses http and owncloud provides WebDAV. There definitely is a use case for this. I sync...
8
lolphp
audaxxx
c9iot99
<|sols|><|sot|>You can't upload files larger than 2gb via http with PHP<|eot|><|sol|>https://bugs.php.net/bug.php?id=44522<|eol|><|sor|>HTTP uploads of 2GB files all in one go? Nothing could possibly go wrong.<|eor|><|soopr|>WebDav uses http and owncloud provides WebDAV. There definitely is a use case for this. I sync...
8
lolphp
midir
vv4b3
<|sols|><|sot|>"Remove this function and see if anyone notices"<|eot|><|sol|>https://bugs.php.net/bug.php?id=62450<|eol|><|eols|><|endoftext|>
31
lolphp
k3n
c57yxsw
<|sols|><|sot|>"Remove this function and see if anyone notices"<|eot|><|sol|>https://bugs.php.net/bug.php?id=62450<|eol|><|sor|>lol, that bug was submitted less than 24 hrs ago and hasn't even been assigned. Not to mention that the function in question is a part of the zlib extension.<|eor|><|eols|><|endoftext|>
8
lolphp
mithaldu
c5854ff
<|sols|><|sot|>"Remove this function and see if anyone notices"<|eot|><|sol|>https://bugs.php.net/bug.php?id=62450<|eol|><|sor|>I know it's wrong of me to say this but it's things like this that make me love PHP. I like it when something is just a little bit crazy. Makes life more fun.<|eor|><|sor|>"A little bit crazy"...
8
lolphp
more_exercise
c58m1ym
<|sols|><|sot|>"Remove this function and see if anyone notices"<|eot|><|sol|>https://bugs.php.net/bug.php?id=62450<|eol|><|sor|>it will probably get forced to go through the E_DEPRECATION warning route before removal.<|eor|><|sor|>it ~~will probably~~ **had fucking better** get forced to go through the E_DEPRECATION wa...
7
lolphp
mithaldu
c5866t9
<|sols|><|sot|>"Remove this function and see if anyone notices"<|eot|><|sol|>https://bugs.php.net/bug.php?id=62450<|eol|><|sor|>Yet there's plenty of big companies that use it for mission-critical.<|eor|><|sor|>Are you trying to make an [appeal to popularity](http://en.wikipedia.org/wiki/Argumentum_ad_populum)?<|eor|><...
6
lolphp
Nivla
c584dbn
<|sols|><|sot|>"Remove this function and see if anyone notices"<|eot|><|sol|>https://bugs.php.net/bug.php?id=62450<|eol|><|sor|>lol, that bug was submitted less than 24 hrs ago and hasn't even been assigned. Not to mention that the function in question is a part of the zlib extension.<|eor|><|sor|>More likely, OP subm...
5
lolphp
vytah
veub9
<|sols|><|sot|>On behalf of PHP I would like to apologize. After carefully reviewing this bug report with our board of directors on 4chan... We will try to stop fixing bugs in PHP. [x-post from r/programming]<|eot|><|sol|>https://bugs.php.net/bug.php?id=50696<|eol|><|eols|><|endoftext|>
30
lolphp
esquilax
c53wuro
<|sols|><|sot|>On behalf of PHP I would like to apologize. After carefully reviewing this bug report with our board of directors on 4chan... We will try to stop fixing bugs in PHP. [x-post from r/programming]<|eot|><|sol|>https://bugs.php.net/bug.php?id=50696<|eol|><|sor|>I was laughing, then I was crying.. because I k...
16
lolphp
aaronla
c53z0mc
<|sols|><|sot|>On behalf of PHP I would like to apologize. After carefully reviewing this bug report with our board of directors on 4chan... We will try to stop fixing bugs in PHP. [x-post from r/programming]<|eot|><|sol|>https://bugs.php.net/bug.php?id=50696<|eol|><|sor|>I was laughing, then I was crying.. because I k...
15
lolphp
kenlubin
c53wwlf
<|sols|><|sot|>On behalf of PHP I would like to apologize. After carefully reviewing this bug report with our board of directors on 4chan... We will try to stop fixing bugs in PHP. [x-post from r/programming]<|eot|><|sol|>https://bugs.php.net/bug.php?id=50696<|eol|><|sor|>1. I appreciate that they are standardizing the...
14
lolphp
ThisIsADogHello
c53vman
<|sols|><|sot|>On behalf of PHP I would like to apologize. After carefully reviewing this bug report with our board of directors on 4chan... We will try to stop fixing bugs in PHP. [x-post from r/programming]<|eot|><|sol|>https://bugs.php.net/bug.php?id=50696<|eol|><|sor|>"I really don't like programming. I built this ...
9
lolphp
jaesharp
c53v38e
<|sols|><|sot|>On behalf of PHP I would like to apologize. After carefully reviewing this bug report with our board of directors on 4chan... We will try to stop fixing bugs in PHP. [x-post from r/programming]<|eot|><|sol|>https://bugs.php.net/bug.php?id=50696<|eol|><|sor|>I was laughing, then I was crying.. because I k...
8
lolphp
skztr
c53z0wl
<|sols|><|sot|>On behalf of PHP I would like to apologize. After carefully reviewing this bug report with our board of directors on 4chan... We will try to stop fixing bugs in PHP. [x-post from r/programming]<|eot|><|sol|>https://bugs.php.net/bug.php?id=50696<|eol|><|sor|>Number_format() is for formatting numbers... No...
7
lolphp
sloat
c545e73
<|sols|><|sot|>On behalf of PHP I would like to apologize. After carefully reviewing this bug report with our board of directors on 4chan... We will try to stop fixing bugs in PHP. [x-post from r/programming]<|eot|><|sol|>https://bugs.php.net/bug.php?id=50696<|eol|><|sor|>> We will try to stop fixing bugs in PHP. Miss...
6
lolphp
pixlpaste
qzupj
<|sols|><|sot|>PHP turtles<|eot|><|sol|>http://alokmenghrajani.github.com/wtf/php.html<|eol|><|eols|><|endoftext|>
29
lolphp
ealf
k9ymk
<|sols|><|sot|>To get the HTTP request headers, you call getallheaders(). To get the response headers, you call get_headers(). Or vice-versa.<|eot|><|sol|>http://us2.php.net/manual-lookup.php?pattern=getheaders&lang=en<|eol|><|eols|><|endoftext|>
30
lolphp
ealf
c2iwxk3
<|sols|><|sot|>To get the HTTP request headers, you call getallheaders(). To get the response headers, you call get_headers(). Or vice-versa.<|eot|><|sol|>http://us2.php.net/manual-lookup.php?pattern=getheaders&lang=en<|eol|><|sor|>EDIT didn't notice the request / response difference nice try, getheaders is for any w...
5
lolphp
ealf
c2ix8ka
<|sols|><|sot|>To get the HTTP request headers, you call getallheaders(). To get the response headers, you call get_headers(). Or vice-versa.<|eot|><|sol|>http://us2.php.net/manual-lookup.php?pattern=getheaders&lang=en<|eol|><|sor|>EDIT didn't notice the request / response difference nice try, getheaders is for any w...
5
lolphp
carlos_vini
ng1u3n
<|sols|><|sot|>Array_map ignores strict_types<|eot|><|sol|>https://twitter.com/Ocramius/status/1394931673586876416?s=20<|eol|><|eols|><|endoftext|>
29
lolphp
bj_christianson
gyonh26
<|sols|><|sot|>Array_map ignores strict_types<|eot|><|sol|>https://twitter.com/Ocramius/status/1394931673586876416?s=20<|eol|><|sor|>Looks to be a result of "Strict typing applies to function calls made from within the file with strict typing enabled, not to the functions declared within that file." Since the call to `...
14
lolphp
Girgias
gypyp4x
<|sols|><|sot|>Array_map ignores strict_types<|eot|><|sol|>https://twitter.com/Ocramius/status/1394931673586876416?s=20<|eol|><|sor|>Looks to be a result of "Strict typing applies to function calls made from within the file with strict typing enabled, not to the functions declared within that file." Since the call to `...
7
lolphp
ntzm_
dso31j
<|sols|><|sot|>What's the output of 1...1? The answer might surprise you<|eot|><|sol|>https://3v4l.org/YNjsZ<|eol|><|eols|><|endoftext|>
33
lolphp
Cozy_Conditioning
f6r5gps
<|sols|><|sot|>What's the output of 1...1? The answer might surprise you<|eot|><|sol|>https://3v4l.org/YNjsZ<|eol|><|sor|>Erratic input creates erratic output. Not sure why this is lolphp material.<|eor|><|sor|>Erratic input should create an exception.<|eor|><|eols|><|endoftext|>
23
lolphp
squiggleslash
f6s91av
<|sols|><|sot|>What's the output of 1...1? The answer might surprise you<|eot|><|sol|>https://3v4l.org/YNjsZ<|eol|><|sor|>I thought about it and this is entirely logical. The only way to interpret this is (1.) . (.1), which parses as "1, converted to a string, concatenated with 0.1, also converted to a string", it *loo...
21
lolphp
ntzm_
f6qme5a
<|sols|><|sot|>What's the output of 1...1? The answer might surprise you<|eot|><|sol|>https://3v4l.org/YNjsZ<|eol|><|soopr|>Explanation: https://twitter.com/mattbrowndev/status/1192159640471162881<|eoopr|><|eols|><|endoftext|>
11
lolphp
3dB
f6quiwh
<|sols|><|sot|>What's the output of 1...1? The answer might surprise you<|eot|><|sol|>https://3v4l.org/YNjsZ<|eol|><|sor|>Erratic input creates erratic output. Not sure why this is lolphp material.<|eor|><|eols|><|endoftext|>
11
lolphp
the_alias_of_andrea
f6rqc47
<|sols|><|sot|>What's the output of 1...1? The answer might surprise you<|eot|><|sol|>https://3v4l.org/YNjsZ<|eol|><|sor|>Well, it's a fun output, but is it unreasonable? PHP has a fairly normal C-like lexical structure, where things do not need spaces between them.<|eor|><|eols|><|endoftext|>
8
lolphp
FlyingBishop
f6t1l8s
<|sols|><|sot|>What's the output of 1...1? The answer might surprise you<|eot|><|sol|>https://3v4l.org/YNjsZ<|eol|><|sor|>I thought about it and this is entirely logical. The only way to interpret this is (1.) . (.1), which parses as "1, converted to a string, concatenated with 0.1, also converted to a string", it *loo...
8
lolphp
Serialk
f6rp5vx
<|sols|><|sot|>What's the output of 1...1? The answer might surprise you<|eot|><|sol|>https://3v4l.org/YNjsZ<|eol|><|sor|>Erratic input creates erratic output. Not sure why this is lolphp material.<|eor|><|sor|>Erratic input should create an exception.<|eor|><|sor|>of course it's tricky to identify this as erratic inpu...
7
lolphp
barubary
f6rr3fi
<|sols|><|sot|>What's the output of 1...1? The answer might surprise you<|eot|><|sol|>https://3v4l.org/YNjsZ<|eol|><|sor|>Well, it's a fun output, but is it unreasonable? PHP has a fairly normal C-like lexical structure, where things do not need spaces between them.<|eor|><|sor|>> PHP has a fairly normal C-like lexical...
6
lolphp
pilif
f6rqg26
<|sols|><|sot|>What's the output of 1...1? The answer might surprise you<|eot|><|sol|>https://3v4l.org/YNjsZ<|eol|><|sor|>Erratic input creates erratic output. Not sure why this is lolphp material.<|eor|><|sor|>Erratic input should create an exception.<|eor|><|sor|>of course it's tricky to identify this as erratic inpu...
6
lolphp
colshrapnel
f6ruase
<|sols|><|sot|>What's the output of 1...1? The answer might surprise you<|eot|><|sol|>https://3v4l.org/YNjsZ<|eol|><|soopr|>Explanation: https://twitter.com/mattbrowndev/status/1192159640471162881<|eoopr|><|sor|>[deleted]<|eor|><|sor|>Errr... Why not?<|eor|><|eols|><|endoftext|>
5
lolphp
cleeder
b6knxs
<|sols|><|sot|>Whats the most fucked up thing you've done for money? PHP.<|eot|><|sol|>https://www.reddit.com/r/AskReddit/comments/b6ccgh/whats_the_most_fucked_up_thing_youve_done_for/ejjlpm5/?st=jtstyas0&sh=87dc0d97<|eol|><|eols|><|endoftext|>
31
lolphp
soton91
7guo0c
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
28
lolphp
BillyIII
dqm3w8a
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
130
lolphp
Serialk
dqmky3z
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
59
lolphp
ThereIsNoDana-6
dqm4z4z
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
48
lolphp
Serialk
dqmm10b
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
43
lolphp
maweki
dqltgjn
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
37
lolphp
cfreak2399
dqlya2h
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
29
lolphp
dotancohen
dqujgmg
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
24
lolphp
mardukaz1
dqnou3n
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
18
lolphp
cfreak2399
dqmqm3i
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
17
lolphp
carbolymer
dqnh51v
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
17
lolphp
nikomo
dqmoi78
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
16
lolphp
graingert
dqlx4ux
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
15
lolphp
Serialk
dqnqemx
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
14
lolphp
cfreak2399
dqszrww
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
13
lolphp
mardukaz1
dqm006j
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
12
lolphp
occz
dr5bqzk
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
12
lolphp
mardukaz1
dqnotlj
<|soss|><|sot|>If everyone 'hates' PHP, what language next?<|eot|><|sost|>Not sure if this is the right place but... Currently full stack and most projects are Laravel / Vue based. ALOT of people dislike PHP / Laravel but whats the suggestion on a language to learn that is future proof and well supported by job roles...
12
lolphp
iheartrms
75rcq5
<|sols|><|sot|>"Open Source Password Manager written in PHP for business and personal use." - What could go wrong?<|eot|><|sol|>https://www.syspass.org/index-en.html<|eol|><|eols|><|endoftext|>
27
lolphp
DoctorWaluigiTime
do8mkbh
<|sols|><|sot|>"Open Source Password Manager written in PHP for business and personal use." - What could go wrong?<|eot|><|sol|>https://www.syspass.org/index-en.html<|eol|><|sor|>This has nothing to do with PHP. This is just /r/shittyprogramming.<|eor|><|eols|><|endoftext|>
42
lolphp
iheartrms
do8bd2d
<|sols|><|sot|>"Open Source Password Manager written in PHP for business and personal use." - What could go wrong?<|eot|><|sol|>https://www.syspass.org/index-en.html<|eol|><|soopr|>https://www.google.com/search?q=syspass+vulnerabilities SQL injection, remote command execution, cryptographic security bypass, the usual ...
34
lolphp
DoctorWaluigiTime
do8rpur
<|sols|><|sot|>"Open Source Password Manager written in PHP for business and personal use." - What could go wrong?<|eot|><|sol|>https://www.syspass.org/index-en.html<|eol|><|sor|>This has nothing to do with PHP. This is just /r/shittyprogramming.<|eor|><|sor|>Saying all languages have shitty programmers is like saying ...
18
lolphp
mort96
do99676
<|sols|><|sot|>"Open Source Password Manager written in PHP for business and personal use." - What could go wrong?<|eot|><|sol|>https://www.syspass.org/index-en.html<|eol|><|sor|>This has nothing to do with PHP. This is just /r/shittyprogramming.<|eor|><|sor|>Saying all languages have shitty programmers is like saying ...
5
lolphp
BilgeXA
6cxkp4
<|sols|><|sot|>Why is this allowed? (Inverse inheritance)<|eot|><|sol|>https://3v4l.org/qLedW<|eol|><|eols|><|endoftext|>
29
lolphp
Schmittfried
dhyl6nu
<|sols|><|sot|>Why is this allowed? (Inverse inheritance)<|eot|><|sol|>https://3v4l.org/qLedW<|eol|><|sor|>Why shouldn't it be? There are some situations where a parent class might want to call something in a child. The most common would be overridden methods. Would you prefer it if they were a special case?<|eor|><|so...
19
lolphp
Schmittfried
dhyl2z6
<|sols|><|sot|>Why is this allowed? (Inverse inheritance)<|eot|><|sol|>https://3v4l.org/qLedW<|eol|><|sor|>[deleted]<|eor|><|soopr|>You seem very smart. What should happen if it's `private` instead of `protected`, and why?<|eoopr|><|sor|>[deleted]<|eor|><|sor|>What you quoted is in fact not a lolphp, but proper OO beha...
15
lolphp
scatters
dhz3hxg
<|sols|><|sot|>Why is this allowed? (Inverse inheritance)<|eot|><|sol|>https://3v4l.org/qLedW<|eol|><|sor|>That example works in Java, and C++, although there are slightly different reasons. Java: all classes which are part of the same package will have access to each other's protected methods. C++: access rules are ...
12
lolphp
FlyLo11
dhyz2y6
<|sols|><|sot|>Why is this allowed? (Inverse inheritance)<|eot|><|sol|>https://3v4l.org/qLedW<|eol|><|sor|>That example works in Java, and C++, although there are slightly different reasons. Java: all classes which are part of the same package will have access to each other's protected methods. C++: access rules are ...
7
lolphp
prema_van_smuuf
dhy5mot
<|sols|><|sot|>Why is this allowed? (Inverse inheritance)<|eot|><|sol|>https://3v4l.org/qLedW<|eol|><|sor|>Well, what did you expect?<|eor|><|eols|><|endoftext|>
7
lolphp
barubary
dhzahdi
<|sols|><|sot|>Why is this allowed? (Inverse inheritance)<|eot|><|sol|>https://3v4l.org/qLedW<|eol|><|sor|>Well, what did you expect?<|eor|><|sor|>An error, because `protected` methods should only be available in subclasses.<|eor|><|eols|><|endoftext|>
7
lolphp
BilgeXA
dhy7u8s
<|sols|><|sot|>Why is this allowed? (Inverse inheritance)<|eot|><|sol|>https://3v4l.org/qLedW<|eol|><|sor|>[deleted]<|eor|><|soopr|>You seem very smart. What should happen if it's `private` instead of `protected`, and why?<|eoopr|><|sor|>[deleted]<|eor|><|soopr|>It's not *very well* documented. If the method is `privat...
7