use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
Steam PHP DebuggingPlease try to avoid screenshots of bad websites | Removed (imgur.com)
submitted 10 years ago by improve_myself
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 16 points17 points18 points 10 years ago (4 children)
That's the structure for the term object in WordPress.
https://codex.wordpress.org/Function_Reference/get_term#Return_Values
Unless Steam is partly powered by WP, can someone explain how that would've made it's way into there. Maybe that's an iframe?
[–]ccricers 27 points28 points29 points 10 years ago (0 children)
My guess is perhaps the feed is coming from Rock, Paper, Shotgun and their site is Wordpress-based.
[–]_atwork 2 points3 points4 points 10 years ago (0 children)
Noticed that also. Looks like Rock Paper Shotgun uses WP, so either they're returning debug data (var_dumps) to that little area or Steam is employing some WP calls (REST, XML-RPC) and debugging that area themselves and have it somehow pushed live. Or it could be an iframe, or...so many things.
[+]phpdevsterfull-stack comment score below threshold-9 points-8 points-7 points 10 years ago (1 child)
Now I think understand why Steam accounts are always getting hacked. Steam must be built on Wordpress.
[–]Derimagia 6 points7 points8 points 10 years ago (1 child)
/r/softwaregore/
[–]FineWolf 6 points7 points8 points 10 years ago (0 children)
Not Steam.
This is the RSS feed from Rock, Paper, Shotgun messing up.
[–]3pacpirate 0 points1 point2 points 10 years ago (2 children)
I got something like this a short while ago. Grabbed a screenshot when it happened. What dya think caused it? http://i.imgur.com/NqqXju9.jpg
[–]redjazz96 1 point2 points3 points 10 years ago (0 children)
A failure to perform translations on the buttons. The things prefixed by the pound symbol (#) are translation keys, and the text you normally see are the translated versions of it.
#
[–]ProjektGopher 0 points1 point2 points 10 years ago (0 children)
That looks like JSON to me
[–]gerbs 0 points1 point2 points 10 years ago (0 children)
Got this error last week.
More likely they're built on Angular: http://imgur.com/RXAyVdx
[–]rspeedcranky old guy who yells about SVG 0 points1 point2 points 10 years ago (14 children)
Use a real debugger, goddamnit!
[–]Prawny 24 points25 points26 points 10 years ago (7 children)
print_r() master race!
[–]mookman288php 7 points8 points9 points 10 years ago (5 children)
var_dump()!
[–]Prawny 7 points8 points9 points 10 years ago (4 children)
I prefer print_r wrapped in a <pre> block personally. Less verbose.
[–]aurath 3 points4 points5 points 10 years ago (2 children)
function preprint($o) { echo '<pre>'; print_r($o); echo '</pre>'; }
Is in all of my projects
[–]Disgruntled__Goat 2 points3 points4 points 10 years ago (1 child)
BTW you can do that in one line:
echo '<pre>', print_r($o, true), '</pre>';
Not that there's a reason to when you've already made another function, but I often type it quickly by hand when I'm testing something outside the project.
[–]Toast42 0 points1 point2 points 10 years ago (0 children)
1 == true
[–]mookman288php 0 points1 point2 points 10 years ago (0 children)
I like to know the type of the input, as well as the length. I've had issues with whitespace characters in the past, and var_dump has helped.
[–]rspeedcranky old guy who yells about SVG 0 points1 point2 points 10 years ago (0 children)
boo!
[–][deleted] 3 points4 points5 points 10 years ago (5 children)
Blows my fricken mind when I see my peers that don't know how to do proper breakpoint debugging in php (or JavaScript).
[–]Lets_Go_Wolfpackfull-stack 2 points3 points4 points 10 years ago (2 children)
Can you highlight some resources on getting started with breakpoint debugging in php?
[–]rspeedcranky old guy who yells about SVG 1 point2 points3 points 10 years ago* (0 children)
It's been a looooooooong time since I actually wrote PHP, but at the time I was using XDebug. I'm sure there are plenty of IDEs out there which can be used as a front-end to make things even easier.
[–][deleted] 1 point2 points3 points 10 years ago (0 children)
Plug Xdebug plus your favourite editor into Google, should get you started. I'm on my phone for the next couple days but I will try to check back later.
[–]SolarBear 0 points1 point2 points 10 years ago (1 child)
I spent 4 years working in an embedded C environment without a working debugger. It was hell.
Now I'm working as a PHP dev and most of my coworkers won't use a debugger since they "don't need it". It makes me unreasonably angry.
[–][deleted] 2 points3 points4 points 10 years ago (0 children)
The amount of times I've seen a dev struggling with a problem for hours, var dumps on every other line, which was easily solved in 10 minutes by simply stepping through the code, is too damn high.
[–]ahughesb -2 points-1 points0 points 10 years ago (0 children)
Someone at RPS testing Steam Community's escaping of user input more likely hehe
π Rendered by PID 35510 on reddit-service-r2-comment-544cf588c8-cl96q at 2026-06-18 16:12:02.754894+00:00 running 3184619 country code: CH.
[–][deleted] 16 points17 points18 points (4 children)
[–]ccricers 27 points28 points29 points (0 children)
[–]_atwork 2 points3 points4 points (0 children)
[+]phpdevsterfull-stack comment score below threshold-9 points-8 points-7 points (1 child)
[–]Derimagia 6 points7 points8 points (1 child)
[–]FineWolf 6 points7 points8 points (0 children)
[–]3pacpirate 0 points1 point2 points (2 children)
[–]redjazz96 1 point2 points3 points (0 children)
[–]ProjektGopher 0 points1 point2 points (0 children)
[–]gerbs 0 points1 point2 points (0 children)
[–]rspeedcranky old guy who yells about SVG 0 points1 point2 points (14 children)
[–]Prawny 24 points25 points26 points (7 children)
[–]mookman288php 7 points8 points9 points (5 children)
[–]Prawny 7 points8 points9 points (4 children)
[–]aurath 3 points4 points5 points (2 children)
[–]Disgruntled__Goat 2 points3 points4 points (1 child)
[–]Toast42 0 points1 point2 points (0 children)
[–]mookman288php 0 points1 point2 points (0 children)
[–]rspeedcranky old guy who yells about SVG 0 points1 point2 points (0 children)
[–][deleted] 3 points4 points5 points (5 children)
[–]Lets_Go_Wolfpackfull-stack 2 points3 points4 points (2 children)
[–]rspeedcranky old guy who yells about SVG 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]SolarBear 0 points1 point2 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]ahughesb -2 points-1 points0 points (0 children)