3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = str_replace('\\', '', '{\"tipo\":\"mysql\",\"apelido\":\"MAIN\",\"port\":\"3306\",\"producao\":1,\"host\":\"fusiontdb-aurora-cluster.cluster-cyek5oxll00n.us-west-2.rds.amazonaws.com\",\"name\":\"fusiontr_ak\",\"pindex\":0,\"user\":\"fusiontr_ak\"}'); echo json_decode($str);
based on YDU8H
Output for 7.1.0 - 7.3.0beta1
Recoverable fatal error: Object of class stdClass could not be converted to string in /in/EUmL3 on line 4
Process exited with code 255.
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.0.23
Catchable fatal error: Object of class stdClass could not be converted to string in /in/EUmL3 on line 4
Process exited with code 255.
Output for hhvm-3.18.4 - 3.21.0
Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in /in/EUmL3:4 Stack trace: #0 {main}
Process exited with code 255.