#phpsadness search results
@ericwastl phpsadness.com/sad/50 still getting segfault for any deep recursion as of PHP 5.6.12 #php #phpsadness
"praise the lord" he yelled, "$_REQUEST is still mutable". And he was never seen again. #phpsadness
TIL: method names in #php are *not* case sensitive. WAT! #phpsadness
php -r 'var_dump(TRUE == "a"); var_dump("a" == 0); var_dump(TRUE == 0);' bool(true) bool(true) bool(false) #phpsadness
One of my biggest personal #PhpSadness points seems to be going away in 7.4. While I prefer something more tangible than a NOTICE, it's sufficient to detect the problem from an error handler. github.com/php/php-src/pu…
#phpsadness var_dump(array_keys(array_merge(array("123"=>"test"),array("foo"=>"bar"))));
“PHP has a "feature" wherein if you add ?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 to the URL ofa script it returns the PHP logo” #phpsadness
when running 3v4l.org/7gufL in #PHPUnit, Bar::__destruct() never gets called, causer by the referenced closure… #phpsadness
E_ALL doesn't actually mean "E_ALL"; it means E_ACTUALLY_ALL & ~E_STRICT. Shouldn't it be named E_ALMOST_ALL instead? #phpsadness
#PHP Why does uasort() suck so bad? It's obvious that it should take a field to sort by instead of needing precise callbacks. #phpsadness
One more PHP sad issue - fucked up "empty" function - codepad.org/JKBk9Hjv #phpsadness
Only 1659 lines left of this "controller" that contains 100 actions driven by a giant switch statement #phpsadness #refactoring
One of my biggest personal #PhpSadness points seems to be going away in 7.4. While I prefer something more tangible than a NOTICE, it's sufficient to detect the problem from an error handler. github.com/php/php-src/pu…
[1, 2] + [3, 4, 5] === [1, 2, 5] should probably evaluate to false, because of common sense and so that we can keep our sanity. Unless of course it's PHP, in which case SCREW YOU, SCREW YOUR SANITY, SCREW EVERYTHING! #phpsadness @ericwastl
Let's sit on the feature for 18-24 months now, just to ensure feature-empty 7.3 isn't postponed by 14 days. #PHPSadness
TIL: method names in #php are *not* case sensitive. WAT! #phpsadness
when running 3v4l.org/7gufL in #PHPUnit, Bar::__destruct() never gets called, causer by the referenced closure… #phpsadness
@ericwastl returning false for an error when false is a valid return: unserialize(serialize(false)) === unserialize('#phpsadness')
I said it before it was a thing. declare(strict_types=1) is a horrible idea. #PHP #PHPSadness
hello, __toString() exception, my old friend. #php #phpsadness #phpquirks
pdo statements can return false, even if exceptions are enabled. particularly if you execute with too many arguments. #php #phpsadness #wtf
#php would be so much easier if php.net/stream_get_met… accepted a #splfileobject as a possible argument #phpsadness
@ericwastl #phpsadness filter_var with FILTER_VALIDATE_EMAIL marks perfectly valid emails as [email protected] as invalid.
Stream Crypto Methods in PHP lxr.php.net/xref/PHP_MASTE… #phpsadness
@ericwastl Did you know that PHP's sprintf rounds values? sprintf('%.2f', 123.495) -> 123.5, not 123.49... #PHPSadness
@ericwastl phpsadness.com/sad/50 still getting segfault for any deep recursion as of PHP 5.6.12 #php #phpsadness
Something went wrong.
Something went wrong.
United States Trends
- 1. Wemby 41.5K posts
- 2. Steph 82.1K posts
- 3. Draymond 19.4K posts
- 4. Spurs 34.8K posts
- 5. #Truedtac5GXWilliamEst 164K posts
- 6. Massie 61.8K posts
- 7. Warriors 58.9K posts
- 8. Clemson 11.4K posts
- 9. PERTHSANTA JOY KAMUTEA 538K posts
- 10. Marjorie Taylor Greene 53.7K posts
- 11. #NEWKAMUEVENTxPerthSanta 534K posts
- 12. Bubba 61.5K posts
- 13. #DubNation 2,228 posts
- 14. Bill Clinton 202K posts
- 15. #SmackDown 55.3K posts
- 16. Zack Ryder 17.4K posts
- 17. Aaron Fox 2,724 posts
- 18. Harden 16.3K posts
- 19. Mitch Johnson N/A
- 20. Brohm 1,751 posts