Skip to content

u/Xeoncross

In this archive from Jan 2012 to Nov 2014

25
posts
168
comments
0
media
729
score

PHP loves markers

Is it just me, or does the PHP language love un-needed text markers? $ = $variable : = function name(): className {..} :+: = class::method() ; = return; vs other languages variable = 'foo' function name() className {...} class.method() return

0 points4 comments
Open on Reddit

At least use Blowfish for password hashing

As Thomas H. Ptacek stated when discussing the recent password hash compromises of sites like Linkedin, "they’re using the wrong kind of algorithm. They use a cryptographic hash, when they need to use a password hash." For all you PHP'ers out there, don't use a fast algorithm like SHA-2 when creatin...

20 points44 comments
Open on Reddit

Does APC store closures?

I wanted to see what type of memory recovery I could get by removing closures when they are no longer needed, so I created a script that generated 100 closures (in an array so I could work with them) with about 100 lines each of fake objects, loops, and conditionals (valid code, but gibberish). I en...

3 points4 comments
Open on Reddit

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.