subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
lolphp
ThisIsADogHello
1eebqi
<|sols|><|sot|>zPanel support team calls forum user "fucken little know it all" as he points out vulnerabilities. (xpost from /r/netsec)<|eot|><|sol|>http://forums.zpanelcp.com/showthread.php?27597-Are-there-ZPanel-vulnerabilities-as-some-people-claims&p=106627<|eol|><|eols|><|endoftext|>
34
lolphp
BufferUnderpants
c9zjp5v
<|sols|><|sot|>zPanel support team calls forum user "fucken little know it all" as he points out vulnerabilities. (xpost from /r/netsec)<|eot|><|sol|>http://forums.zpanelcp.com/showthread.php?27597-Are-there-ZPanel-vulnerabilities-as-some-people-claims&p=106627<|eol|><|sor|>Why is this significant to /r/lolphp? Sure, i...
21
lolphp
ANAL_GRAVY
c9zgasw
<|sols|><|sot|>zPanel support team calls forum user "fucken little know it all" as he points out vulnerabilities. (xpost from /r/netsec)<|eot|><|sol|>http://forums.zpanelcp.com/showthread.php?27597-Are-there-ZPanel-vulnerabilities-as-some-people-claims&p=106627<|eol|><|sor|>Site down! Very interesting... Don't suppose ...
9
lolphp
danielsamuels
19cwgc
<|sols|><|sot|>Turns out the documentation on foreach doesn't match the actual behaviour.<|eot|><|sol|>http://stackoverflow.com/questions/10057671/how-foreach-actually-works/<|eol|><|eols|><|endoftext|>
34
lolphp
Rhomboid
c8mwg9c
<|sols|><|sot|>Turns out the documentation on foreach doesn't match the actual behaviour.<|eot|><|sol|>http://stackoverflow.com/questions/10057671/how-foreach-actually-works/<|eol|><|sor|>PHP internals remind me of [There I Fixed It](http://failblog.cheezburger.com/tag/there-i-fixed-it).<|eor|><|eols|><|endoftext|>
16
lolphp
MrDOS
c8n18d9
<|sols|><|sot|>Turns out the documentation on foreach doesn't match the actual behaviour.<|eot|><|sol|>http://stackoverflow.com/questions/10057671/how-foreach-actually-works/<|eol|><|sor|>Good God [the explanation](http://stackoverflow.com/a/14854568). Who would learn all the intricacies of PHP and still use it?<|eor|>...
9
lolphp
sickofthisshit
c8my2ol
<|sols|><|sot|>Turns out the documentation on foreach doesn't match the actual behaviour.<|eot|><|sol|>http://stackoverflow.com/questions/10057671/how-foreach-actually-works/<|eol|><|sor|>Good God [the explanation](http://stackoverflow.com/a/14854568). Who would learn all the intricacies of PHP and still use it?<|eor|>...
6
lolphp
sickofthisshit
c8niror
<|sols|><|sot|>Turns out the documentation on foreach doesn't match the actual behaviour.<|eot|><|sol|>http://stackoverflow.com/questions/10057671/how-foreach-actually-works/<|eol|><|sor|>Good God [the explanation](http://stackoverflow.com/a/14854568). Who would learn all the intricacies of PHP and still use it?<|eor|>...
5
lolphp
jdiez17
16vbra
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|eols|><|endoftext|>
36
lolphp
phoshi
c8078h6
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>>you would write something, like > $arr.push("Value"); That introduces ambiguity between "." as a string concatenation operator and "." as an...
14
lolphp
dipswitch
c7zp1e6
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>>you would write something, like > $arr.push("Value"); That introduces ambiguity between "." as a string concatenation operator and "." as an...
12
lolphp
dropdownmenu
c7zu33i
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>2013 is the year of PHP? These guys have not been paying attention to anything like Ruby or Node.js... The best part of the article is the large...
12
lolphp
jdiez17
c7zy8hl
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>I don't get it. Functional language, as in actually works and is useful, or functional language as in follows the functional paradigm?<|eor|><|so...
12
lolphp
infinull
c7zwg55
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>>you would write something, like > $arr.push("Value"); That introduces ambiguity between "." as a string concatenation operator and "." as an...
12
lolphp
tdammers
c8003zq
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>"." vs. "->" is not PHP's most pressing problem. Hell no.<|eor|><|eols|><|endoftext|>
10
lolphp
adambrenecki
c806w8w
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>This sounds like yet another of those "PHP is better than all of the other languages because it's just recently got things the others have had fo...
10
lolphp
escozzia
c8051ga
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>The authors of the article act as though the big complaint about PHP is that it is unfamiliar, or that it somehow lacks features we want... All t...
9
lolphp
fragglet
c7zu7po
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>"Functional" is the wrong word, but I kind of see what he means. "Imperative" might be a better choice.<|eor|><|eols|><|endoftext|>
9
lolphp
phoshi
c7zwrm5
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>>you would write something, like > $arr.push("Value"); That introduces ambiguity between "." as a string concatenation operator and "." as an...
9
lolphp
jdiez17
c7zy95h
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>>you would write something, like > $arr.push("Value"); That introduces ambiguity between "." as a string concatenation operator and "." as an...
9
lolphp
jdiez17
c7zpcj9
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>>you would write something, like > $arr.push("Value"); That introduces ambiguity between "." as a string concatenation operator and "." as an...
8
lolphp
more_exercise
c7zxalo
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>Why does PHP have a huge crush on Java these days? I'd rather remove some Perl [features](http://codepad.org/hSgaTEj1) instead...<|eor|><|sor|>It...
8
lolphp
more_exercise
c7zx7mo
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>"Functional" is the wrong word, but I kind of see what he means. "Imperative" might be a better choice.<|eor|><|sor|>They either meant "procedura...
8
lolphp
X8qV
c81sya0
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>>you would write something, like > $arr.push("Value"); That introduces ambiguity between "." as a string concatenation operator and "." as an...
6
lolphp
Dereleased
c8ngqch
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>>you would write something, like > $arr.push("Value"); That introduces ambiguity between "." as a string concatenation operator and "." as an...
6
lolphp
jdiez17
c7zvoww
<|sols|><|sot|>(...) transforming into a functional language, like C (...) <|eot|><|sol|>http://net.tutsplus.com/articles/editorials/why-2013-is-the-year-of-php/<|eol|><|sor|>"Functional" is the wrong word, but I kind of see what he means. "Imperative" might be a better choice.<|eor|><|soopr|>Yes, "imperative" is the p...
5
lolphp
barubary
d9lhpz
<|soss|><|sot|>The consistent behavior of unary plus<|eot|><|sost|>What does the unary `+` operator do? Informally, it converts its operand to a number. What does that actually mean in practice? echo +1, "\n"; # 1 echo +0.5, "\n"; # 0.5 For integers and floats, it's a no-op. echo +"A", "\n"; ...
35
lolphp
minimim
f1jlvaq
<|soss|><|sot|>The consistent behavior of unary plus<|eot|><|sost|>What does the unary `+` operator do? Informally, it converts its operand to a number. What does that actually mean in practice? echo +1, "\n"; # 1 echo +0.5, "\n"; # 0.5 For integers and floats, it's a no-op. echo +"A", "\n"; ...
7
lolphp
smegnose
f1m9z93
<|soss|><|sot|>The consistent behavior of unary plus<|eot|><|sost|>What does the unary `+` operator do? Informally, it converts its operand to a number. What does that actually mean in practice? echo +1, "\n"; # 1 echo +0.5, "\n"; # 0.5 For integers and floats, it's a no-op. echo +"A", "\n"; ...
6
lolphp
DolphinsAreOk
cy76qr
<|sols|><|sot|>Filter input by default doesnt filter input.<|eot|><|sol|>https://www.php.net/filter_input<|eol|><|eols|><|endoftext|>
32
lolphp
maweki
eyqg5rs
<|sols|><|sot|>Filter input by default doesnt filter input.<|eot|><|sol|>https://www.php.net/filter_input<|eol|><|sor|>"filter_input Gets a specific external variable by name and optionally filters it" I don't even know. What's that supposed to mean? What does it do? That's barely more information than the function n...
22
lolphp
dahakaDAHK
eysj4uh
<|sols|><|sot|>Filter input by default doesnt filter input.<|eot|><|sol|>https://www.php.net/filter_input<|eol|><|sor|>I love the return value section, it has everything: returns false for one error case, null for another and has the option to switch the two.<|eor|><|eols|><|endoftext|>
14
lolphp
DolphinsAreOk
eyqqnln
<|sols|><|sot|>Filter input by default doesnt filter input.<|eot|><|sol|>https://www.php.net/filter_input<|eol|><|sor|>"filter_input Gets a specific external variable by name and optionally filters it" I don't even know. What's that supposed to mean? What does it do? That's barely more information than the function n...
10
lolphp
maweki
eyretn6
<|sols|><|sot|>Filter input by default doesnt filter input.<|eot|><|sol|>https://www.php.net/filter_input<|eol|><|sor|>"filter_input Gets a specific external variable by name and optionally filters it" I don't even know. What's that supposed to mean? What does it do? That's barely more information than the function n...
10
lolphp
ranisalt
eyrs0qb
<|sols|><|sot|>Filter input by default doesnt filter input.<|eot|><|sol|>https://www.php.net/filter_input<|eol|><|sor|>"filter_input Gets a specific external variable by name and optionally filters it" I don't even know. What's that supposed to mean? What does it do? That's barely more information than the function n...
7
lolphp
D1551D3N7
9864xv
<|sols|><|sot|>New PHP Deserialization attack due to the phar:// file handler which can only be disabled by recompiling PHP<|eot|><|sol|>https://thehackernews.com/2018/08/php-deserialization-wordpress.html<|eol|><|eols|><|endoftext|>
33
lolphp
AyrA_ch
e4dl4op
<|sols|><|sot|>New PHP Deserialization attack due to the phar:// file handler which can only be disabled by recompiling PHP<|eot|><|sol|>https://thehackernews.com/2018/08/php-deserialization-wordpress.html<|eol|><|sor|>> PHP unserialization or object injection vulnerabilities were initially documented in 2009, which co...
16
lolphp
D1551D3N7
e4dldtc
<|sols|><|sot|>New PHP Deserialization attack due to the phar:// file handler which can only be disabled by recompiling PHP<|eot|><|sol|>https://thehackernews.com/2018/08/php-deserialization-wordpress.html<|eol|><|sor|>> PHP unserialization or object injection vulnerabilities were initially documented in 2009, which co...
14
lolphp
arnolddaniels
e4r10s0
<|sols|><|sot|>New PHP Deserialization attack due to the phar:// file handler which can only be disabled by recompiling PHP<|eot|><|sol|>https://thehackernews.com/2018/08/php-deserialization-wordpress.html<|eol|><|sor|>It's not true that this handler can only be disabled by recompiling PHP. You can disable stream handl...
9
lolphp
D1551D3N7
e4dn1c1
<|sols|><|sot|>New PHP Deserialization attack due to the phar:// file handler which can only be disabled by recompiling PHP<|eot|><|sol|>https://thehackernews.com/2018/08/php-deserialization-wordpress.html<|eol|><|sor|>> PHP unserialization or object injection vulnerabilities were initially documented in 2009, which co...
7
lolphp
sproingie
e4gsir3
<|sols|><|sot|>New PHP Deserialization attack due to the phar:// file handler which can only be disabled by recompiling PHP<|eot|><|sol|>https://thehackernews.com/2018/08/php-deserialization-wordpress.html<|eol|><|sor|>But you still need access to the server to actually "execute" the phar stream correct? So its not th...
6
lolphp
AyrA_ch
e4dm28m
<|sols|><|sot|>New PHP Deserialization attack due to the phar:// file handler which can only be disabled by recompiling PHP<|eot|><|sol|>https://thehackernews.com/2018/08/php-deserialization-wordpress.html<|eol|><|sor|>> PHP unserialization or object injection vulnerabilities were initially documented in 2009, which co...
6
lolphp
Takeoded
e4px9od
<|sols|><|sot|>New PHP Deserialization attack due to the phar:// file handler which can only be disabled by recompiling PHP<|eot|><|sol|>https://thehackernews.com/2018/08/php-deserialization-wordpress.html<|eol|><|sor|>>make the file operation function access it using the "phar://" stream wrapper. Uh, wait.... How is ...
6
lolphp
weirdasianfaces
e4fm82z
<|sols|><|sot|>New PHP Deserialization attack due to the phar:// file handler which can only be disabled by recompiling PHP<|eot|><|sol|>https://thehackernews.com/2018/08/php-deserialization-wordpress.html<|eol|><|sor|>>make the file operation function access it using the "phar://" stream wrapper. Uh, wait.... How is ...
5
lolphp
lmanata
86avwq
<|sols|><|sot|>This fix to a dompdf error.<|eot|><|sol|>https://stackoverflow.com/questions/48436480/codeigniter-dom-pdf-no-block-level-parent-found-not-good<|eol|><|eols|><|endoftext|>
32
lolphp
DCoder1337
dw46whg
<|sols|><|sot|>This fix to a dompdf error.<|eot|><|sol|>https://stackoverflow.com/questions/48436480/codeigniter-dom-pdf-no-block-level-parent-found-not-good<|eol|><|sor|>If you think dompdf is bad, you should look at tcpdf. The fact that the entire tcpdf library is in [a single class spanning 26k lines is not the wors...
26
lolphp
danabrey
dw49oea
<|sols|><|sot|>This fix to a dompdf error.<|eot|><|sol|>https://stackoverflow.com/questions/48436480/codeigniter-dom-pdf-no-block-level-parent-found-not-good<|eol|><|sor|>This is silly, but it's hardly PHP's fault. <|eor|><|eols|><|endoftext|>
9
lolphp
thedarkhaze
dw4x4rz
<|sols|><|sot|>This fix to a dompdf error.<|eot|><|sol|>https://stackoverflow.com/questions/48436480/codeigniter-dom-pdf-no-block-level-parent-found-not-good<|eol|><|sor|>This is silly, but it's hardly PHP's fault. <|eor|><|sor|>True, but php tends to attract these problems and fixes.<|eor|><|eols|><|endoftext|>
6
lolphp
Takeoded
7kllp3
<|sols|><|sot|>should we generate an error when we fail to serialize something, or just return total utter garbage?<|eot|><|sol|>https://3v4l.org/hcPKv<|eol|><|eols|><|endoftext|>
32
lolphp
tdammers
drf9hn3
<|sols|><|sot|>should we generate an error when we fail to serialize something, or just return total utter garbage?<|eot|><|sol|>https://3v4l.org/hcPKv<|eol|><|sor|>Clearly, errors are always inconvenient, so those should be considered a last resort. Equally clearly, if we are getting passed nonsensical arguments, the...
31
lolphp
barubary
drfgfen
<|sols|><|sot|>should we generate an error when we fail to serialize something, or just return total utter garbage?<|eot|><|sol|>https://3v4l.org/hcPKv<|eol|><|sor|>FWIW, it serializes as string(4) "i:0;"<|eor|><|eols|><|endoftext|>
8
lolphp
edave64
drgwx17
<|sols|><|sot|>should we generate an error when we fail to serialize something, or just return total utter garbage?<|eot|><|sol|>https://3v4l.org/hcPKv<|eol|><|sor|>I've run into a lot of situations, especially when interacting with hardware, where a return value of 0 means an error happened and you're supposed to chec...
7
lolphp
Takeoded
drih94j
<|sols|><|sot|>should we generate an error when we fail to serialize something, or just return total utter garbage?<|eot|><|sol|>https://3v4l.org/hcPKv<|eol|><|sor|>Last month we lost part of our production database because of this stupid behavior of PHP (with file_get_contents). Trust me, throwing an exception is ALWA...
5
lolphp
Takeoded
6m8zdh
<|sols|><|sot|>only .ini ever parsed is php.ini, and parse_ini_string does not exist<|eot|><|sol|>https://bugs.php.net/bug.php?id=74603<|eol|><|eols|><|endoftext|>
35
lolphp
Takeoded
djzs4nd
<|sols|><|sot|>only .ini ever parsed is php.ini, and parse_ini_string does not exist<|eot|><|sol|>https://bugs.php.net/bug.php?id=74603<|eol|><|soopr|>(this is according to stas@php.net and remi@php.net , and is a bit of a long read... but php core devs should have known better imo, and stas even removed the security c...
5
lolphp
nyamsprod
6aq6km
<|soss|><|sot|>Pooh Separeted Value<|eot|><|sost|>So it seems that PHP used to be able to parse comma separated values with multibytes delimiter. Well I guess it was breaking things so a bug fix was released to remove the feature https://3v4l.org/fP93h<|eost|><|eoss|><|endoftext|>
31
lolphp
Deranged40
dhgu7sf
<|soss|><|sot|>Pooh Separeted Value<|eot|><|sost|>So it seems that PHP used to be able to parse comma separated values with multibytes delimiter. Well I guess it was breaking things so a bug fix was released to remove the feature https://3v4l.org/fP93h<|eost|><|sor|>pooh is a cartoon character who loves honey. poo is...
33
lolphp
mohrt
dhh5fok
<|soss|><|sot|>Pooh Separeted Value<|eot|><|sost|>So it seems that PHP used to be able to parse comma separated values with multibytes delimiter. Well I guess it was breaking things so a bug fix was released to remove the feature https://3v4l.org/fP93h<|eost|><|sor|>pooh is a cartoon character who loves honey. poo is...
11
lolphp
flyingkiwi9
dhhqtqk
<|soss|><|sot|>Pooh Separeted Value<|eot|><|sost|>So it seems that PHP used to be able to parse comma separated values with multibytes delimiter. Well I guess it was breaking things so a bug fix was released to remove the feature https://3v4l.org/fP93h<|eost|><|sor|>pooh is a cartoon character who loves honey. poo is...
7
lolphp
RodolpheB
641du0
<|sols|><|sot|>[not my discovery] Access a "private" property by casting an object into an array<|eot|><|sol|>https://3v4l.org/7rc9M<|eol|><|eols|><|endoftext|>
33
lolphp
Laugarhraun
dfyrc1z
<|sols|><|sot|>[not my discovery] Access a "private" property by casting an object into an array<|eot|><|sol|>https://3v4l.org/7rc9M<|eol|><|sor|>It's an artefact of a clever implementation. Using a single hashtable for all object properties saves memory. Though it's documented and become a feature. There's code which...
31
lolphp
duskwuff
dfyryjm
<|sols|><|sot|>[not my discovery] Access a "private" property by casting an object into an array<|eot|><|sol|>https://3v4l.org/7rc9M<|eol|><|sor|>It's an artefact of a clever implementation. Using a single hashtable for all object properties saves memory. Though it's documented and become a feature. There's code which...
23
lolphp
the_alias_of_andrea
dfylxez
<|sols|><|sot|>[not my discovery] Access a "private" property by casting an object into an array<|eot|><|sol|>https://3v4l.org/7rc9M<|eol|><|sor|>It's an artefact of a clever implementation. Using a single hashtable for all object properties saves memory. Though it's documented and become a feature. There's code which...
14
lolphp
bj_christianson
dfytfia
<|sols|><|sot|>[not my discovery] Access a "private" property by casting an object into an array<|eot|><|sol|>https://3v4l.org/7rc9M<|eol|><|sor|>Not sure this in itself is much of a Lol. as @SaraMG said in a followup to the tweet [you linked](https://www.reddit.com/r/lolphp/comments/641du0/not_my_discovery_access_a_pr...
8
lolphp
myaut
5kwot1
<|sols|><|sot|>PHPMailer is still vulnerable for RCE because patch for CVE-2016-1033 didn't account for mail() own shell argument escaping<|eot|><|sol|>http://openwall.com/lists/oss-security/2016/12/28/4<|eol|><|eols|><|endoftext|>
33
lolphp
sloat
dbr7uxd
<|sols|><|sot|>PHPMailer is still vulnerable for RCE because patch for CVE-2016-1033 didn't account for mail() own shell argument escaping<|eot|><|sol|>http://openwall.com/lists/oss-security/2016/12/28/4<|eol|><|sor|>Maybe I'm missing something, but if it's PHPMailer using the standard mail function... doesn't that mea...
15
lolphp
SirClueless
dbry458
<|sols|><|sot|>PHPMailer is still vulnerable for RCE because patch for CVE-2016-1033 didn't account for mail() own shell argument escaping<|eot|><|sol|>http://openwall.com/lists/oss-security/2016/12/28/4<|eol|><|sor|>Maybe I'm missing something, but if it's PHPMailer using the standard mail function... doesn't that mea...
13
lolphp
yawkat
dbrn80l
<|sols|><|sot|>PHPMailer is still vulnerable for RCE because patch for CVE-2016-1033 didn't account for mail() own shell argument escaping<|eot|><|sol|>http://openwall.com/lists/oss-security/2016/12/28/4<|eol|><|sor|>Maybe I'm missing something, but if it's PHPMailer using the standard mail function... doesn't that mea...
11
lolphp
yxpow
dbsbavj
<|sols|><|sot|>PHPMailer is still vulnerable for RCE because patch for CVE-2016-1033 didn't account for mail() own shell argument escaping<|eot|><|sol|>http://openwall.com/lists/oss-security/2016/12/28/4<|eol|><|sor|>IDK why but I find this the most horrifying part of PHP, the fact that instead of actually implementing...
7
lolphp
sloat
dbroaq3
<|sols|><|sot|>PHPMailer is still vulnerable for RCE because patch for CVE-2016-1033 didn't account for mail() own shell argument escaping<|eot|><|sol|>http://openwall.com/lists/oss-security/2016/12/28/4<|eol|><|sor|>Maybe I'm missing something, but if it's PHPMailer using the standard mail function... doesn't that mea...
6
lolphp
bwoebi
4rf4hf
<|sols|><|sot|>Copy on Write is not fully transparent with references; broken since forever<|eot|><|sol|>https://3v4l.org/iOC9I<|eol|><|eols|><|endoftext|>
33
lolphp
RenaKunisaki
d51lfae
<|sols|><|sot|>Copy on Write is not fully transparent with references; broken since forever<|eot|><|sol|>https://3v4l.org/iOC9I<|eol|><|sor|>I think everyone knows this even if they don't know the technical implications. Always unset when using references!<|eor|><|sor|>Alternatively: Don't use PHP references. They're w...
15
lolphp
nikic
d50owkt
<|sols|><|sot|>Copy on Write is not fully transparent with references; broken since forever<|eot|><|sol|>https://3v4l.org/iOC9I<|eol|><|soopr|>TL;DR: It matters whether unset() of a reference happens before or after the first action on a copy. Explanation: In the first case: $arr = array(1); $r = &$arr[0]; ...
14
lolphp
duskwuff
d5109wh
<|sols|><|sot|>Copy on Write is not fully transparent with references; broken since forever<|eot|><|sol|>https://3v4l.org/iOC9I<|eol|><|sor|>I think everyone knows this even if they don't know the technical implications. Always unset when using references!<|eor|><|sor|>Alternatively: Don't use PHP references. They're w...
12
lolphp
bwoebi
d50kstq
<|sols|><|sot|>Copy on Write is not fully transparent with references; broken since forever<|eot|><|sol|>https://3v4l.org/iOC9I<|eol|><|soopr|>TL;DR: It matters whether unset() of a reference happens before or after the first action on a copy. Explanation: In the first case: $arr = array(1); $r = &$arr[0]; ...
10
lolphp
FredL2
d5276ef
<|sols|><|sot|>Copy on Write is not fully transparent with references; broken since forever<|eot|><|sol|>https://3v4l.org/iOC9I<|eol|><|sor|>I love how 5.4.15 just crashes for good measure<|eor|><|eols|><|endoftext|>
9
lolphp
bwoebi
d532t68
<|sols|><|sot|>Copy on Write is not fully transparent with references; broken since forever<|eot|><|sol|>https://3v4l.org/iOC9I<|eol|><|soopr|>TL;DR: It matters whether unset() of a reference happens before or after the first action on a copy. Explanation: In the first case: $arr = array(1); $r = &$arr[0]; ...
5
lolphp
Sebbe
3pil1g
<|sols|><|sot|>So, apparently PHP lets you redefine its VM opcodes... from within the language itself.<|eot|><|sol|>http://php.net/manual/en/function.uopz-overload.php<|eol|><|eols|><|endoftext|>
34
lolphp
duskwuff
cw6nu6c
<|sols|><|sot|>So, apparently PHP lets you redefine its VM opcodes... from within the language itself.<|eot|><|sol|>http://php.net/manual/en/function.uopz-overload.php<|eol|><|sor|>No, it doesn't. [This nonstandard PHP extension](https://github.com/krakjoe/uopz) allows you to redefine opcodes at runtime. Which actuall...
51
lolphp
sloat
cw6shyk
<|sols|><|sot|>So, apparently PHP lets you redefine its VM opcodes... from within the language itself.<|eot|><|sol|>http://php.net/manual/en/function.uopz-overload.php<|eol|><|sor|>No, it doesn't. [This nonstandard PHP extension](https://github.com/krakjoe/uopz) allows you to redefine opcodes at runtime. Which actuall...
17
lolphp
duskwuff
cw70975
<|sols|><|sot|>So, apparently PHP lets you redefine its VM opcodes... from within the language itself.<|eot|><|sol|>http://php.net/manual/en/function.uopz-overload.php<|eol|><|sor|>No, it doesn't. [This nonstandard PHP extension](https://github.com/krakjoe/uopz) allows you to redefine opcodes at runtime. Which actuall...
15
lolphp
mythril
cw6xx4c
<|sols|><|sot|>So, apparently PHP lets you redefine its VM opcodes... from within the language itself.<|eot|><|sol|>http://php.net/manual/en/function.uopz-overload.php<|eol|><|sor|>No, it doesn't. [This nonstandard PHP extension](https://github.com/krakjoe/uopz) allows you to redefine opcodes at runtime. Which actuall...
13
lolphp
bart2019
cw7d931
<|sols|><|sot|>So, apparently PHP lets you redefine its VM opcodes... from within the language itself.<|eot|><|sol|>http://php.net/manual/en/function.uopz-overload.php<|eol|><|sor|>Actually I think that's very cool.<|eor|><|eols|><|endoftext|>
11
lolphp
xardas_eu
cw7lgva
<|sols|><|sot|>So, apparently PHP lets you redefine its VM opcodes... from within the language itself.<|eot|><|sol|>http://php.net/manual/en/function.uopz-overload.php<|eol|><|sor|>so we're bashing PECL extensions again... just wait till /u/Sebbe finds classkit, runkit or pcntl... shitpost.<|eor|><|eols|><|endoftext|>
7
lolphp
BowserKoopa
3ki25f
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|eols|><|endoftext|>
32
lolphp
duskwuff
cuxn2z9
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|sor|>[If you think that's a bad idea](http://gtk.php.net/)<|eor|><|eols|><|endoftext|>
30
lolphp
FredL2
cuyghm1
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|sor|>It's NaN o'clock. Time to go home!<|eor|><|sor|>Good morning!Good evening!Good night!Warning: invalid argument supplied for foreach()battery is percent<|eor|><|eols|><|endoftext|>
28
lolphp
esquilax
cuxzebi
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|sor|>It's NaN o'clock. Time to go home!<|eor|><|eols|><|endoftext|>
21
lolphp
BowserKoopa
cuxxys9
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|sor|>[If you think that's a bad idea](http://gtk.php.net/)<|eor|><|soopr|>Oh trust me. I've seen that. And I have also seen the OpenGL API for PHP.<|eoopr|><|eols|><|endoftext|>
18
lolphp
TheBananaKing
cuxo9es
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|sor|>"Configuration is stored in a PHP array..." oh god oh god oh god oh god oh god<|eor|><|eols|><|endoftext|>
17
lolphp
polish_niceguy
cuxqmbx
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|sor|>"Configuration is stored in a PHP array..." oh god oh god oh god oh god oh god<|eor|><|sor|>What's wrong with this?<|eor|><|sor|>Apart from anything else, it means it's going to be include()ed and e...
14
lolphp
Max-P
cuxqob0
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|sor|>I honestly think this is not much worse than using bash or Python. It's a simple and not too obscure language, you can do things quickly with it. And it works fine for that, I like to use PHP as a sm...
13
lolphp
eat_more_soup
cuyizpw
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|sor|>I honestly think this is not much worse than using bash or Python. It's a simple and not too obscure language, you can do things quickly with it. And it works fine for that, I like to use PHP as a sm...
11
lolphp
Kwpolska
cuz46g2
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|sor|>I honestly think this is not much worse than using bash or Python. It's a simple and not too obscure language, you can do things quickly with it. And it works fine for that, I like to use PHP as a sm...
10
lolphp
phoshi
cuxsx8s
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|sor|>"Configuration is stored in a PHP array..." oh god oh god oh god oh god oh god<|eor|><|sor|>What's wrong with this?<|eor|><|sor|>Apart from anything else, it means it's going to be include()ed and e...
10
lolphp
polish_niceguy
cuxpupe
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|sor|>"Configuration is stored in a PHP array..." oh god oh god oh god oh god oh god<|eor|><|sor|>What's wrong with this?<|eor|><|eols|><|endoftext|>
8
lolphp
TheBananaKing
cuxqj8n
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|sor|>"Configuration is stored in a PHP array..." oh god oh god oh god oh god oh god<|eor|><|sor|>What's wrong with this?<|eor|><|sor|>Apart from anything else, it means it's going to be include()ed and e...
8
lolphp
kageurufu
cuy3sr9
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|sor|>"Configuration is stored in a PHP array..." oh god oh god oh god oh god oh god<|eor|><|sor|>What's wrong with this?<|eor|><|sor|>Apart from anything else, it means it's going to be include()ed and e...
8
lolphp
FredL2
cuxnddz
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|sor|>No! Not my i3! Please!<|eor|><|eols|><|endoftext|>
7
lolphp
Max-P
cuyko43
<|sols|><|sot|>Oh god. It's leaking in to the desktop realm.<|eot|><|sol|>https://github.com/mwgg/i3phtatus<|eol|><|sor|>I honestly think this is not much worse than using bash or Python. It's a simple and not too obscure language, you can do things quickly with it. And it works fine for that, I like to use PHP as a sm...
6