View Single Post
Old 10-21-2017, 01:25 AM  
hand-held
Confirmed User
 
Join Date: Sep 2006
Location: WA
Posts: 136
Quote:
Originally Posted by MFCT View Post
In the YAML version, model names typically aren't encased in quotes. However, if the model's name happens to be all-numeric, they are encased in quotes. This resulted in unexpected, unneeded quotes being put in my PHP. Which of course would crash the PHP whenever an all-numeric-name model happened to be online. And then it would magically work again once all the numeric name models logged off.
That's not a bug, that's just how YAML supports integers and floats. You should probably just use a real YAML parser since that's not the only weird thing it does... (see how invoice, postal, quantity, price, tax and total become ints or floats in PHP: yaml_parse - Manual)

Definitely sounds like OP has something like that going on as well.
__________________
Pimp pimp... hooray! Pimp pimp... hooray!
hand-held is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote