Skip to content

u/pdizz

In this archive from Aug 2008 to Feb 2023

4
posts
69
comments
0
media
643
score

The day uniqid() started returning integers

I had a unit test suddenly start failing yesterday that had not failed since it was written months ago. The test was for a form validator that only passed if the input was an integer and I was using uniqid() to generate a random string. Well all of a sudden, uniqid() started spitting out strings of...

0 points8 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.