Timeline for Type casting variables in PHP, what is the practical reason for doing this?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 27, 2018 at 7:55 | comment | added | Johan Fredrik Varen | This is especially true when talking JSON to external systems like Elasticsearch. A json_encode()-ed value "5" will give very different results than the value 5. | |
| Jan 15, 2016 at 16:55 | comment | added | Stephen | I hadn't considered formatting data for external, strong-typed systems to consume. +1 | |
| S Dec 2, 2013 at 21:01 | review | Late answers | |||
| Dec 2, 2013 at 21:20 | |||||
| S Dec 2, 2013 at 21:01 | review | First posts | |||
| Dec 2, 2013 at 23:59 | |||||
| Dec 2, 2013 at 20:42 | history | answered | Ryan | CC BY-SA 3.0 |