Skip to content
Advertisement

Tag: decrement

Decrement operator for strings bug in PHP?

There is an inconsistency in increment/decrement operator function regarding strings in -at least- my version of PHP. Here is what I mean: Is this an expected behavior? Should I file a bug report or something? Do you know of a workaround? edit: filed bug#80212 Answer Here is what I finally went with: Wouldn’t call it elegant but I’d call it

Advertisement