3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(json_encode(['234.3243243345345345'], JSON_NUMERIC_CHECK)); var_dump(json_encode(['234.3243243345345345']));
based on JKZSK
Output for 7.1.0 - 7.3.1
string(20) "[234.32432433453454]" string(24) "["234.3243243345345345"]"
Output for 5.6.0 - 5.6.38, hhvm-3.15.4, 7.0.0 - 7.0.33
string(17) "[234.32432433453]" string(24) "["234.3243243345345345"]"