2

I'm still attempting to get my head around the documentation examples and what should be a topic or an example. To further add to my confusion one of the examples I contributed to has been deleted, undeleted and then finally, a few days later, deleted again.

I've been attempting to check in on it when it's edited to make sure the information is still accurate and provides something useful for a documentation user to see. As far as I can tell, the information in that example doesn't feature elsewhere in the PHP Variable but in my opinion there are some common 'gotchas' that catch out new users that we have now lost.

Is there a way to determine the reason for an example being deleted or in some way recover it? I think it's a shame that the example has winked out of existence just like that if there was something we could improve about it instead. According to this meta question two people are able to delete a topic so I assume this is what happened in this situation.


As an aside, this is not about reputation. My reputation, or lack thereof, demonstrates my practice of only contributing if I think I can provide a rounded, useful answer. I personally think there should be less reputation for documentation but that's another issue...

1 Answer 1

3

I found where you proposed the change: Page 3, Here. An easy way to find all this would be from your profile.

The example was originally reverted here.

According to the edit summary, it was deleted because:

... Conversions do not belong under variables. They are documented under PHP types topic. Adding a cross-reference to that topic for detail.

I suggest looking at the examples there to see if you can add anything there.

2
  • That's a bit clearer, thanks. I didn't think to look in the profile documentation tab. So this is the correct example for type casting now?
    – Henders
    Commented Aug 3, 2016 at 16:17
  • @Henders Looks like it.
    – Laurel
    Commented Aug 3, 2016 at 16:19

Not the answer you're looking for? Browse other questions tagged .