3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $config = json_decode('{"db":{"driver":"mysql","database":"store_derpstation","host":"lemonstand.cnxuvxihm3xz.us-east-1.rds.amazonaws.com","username":"derpstation","password":"b92db464d96d30b5cb17276c079d562d","charset":"utf8","collation":"utf8_unicode_ci"},"locale":"en","timezone":"America\/Vancouver","active theme":"alpha","themes":"\/var\/www\/staging\/storage\/0558ef36323a2b17dc5be707a4222b4f\/themes\/","resources":"\/var\/www\/staging\/storage\/0558ef36323a2b17dc5be707a4222b4f\/resources\/","uploaded":"\/var\/www\/staging\/storage\/0558ef36323a2b17dc5be707a4222b4f\/uploaded\/","php views":true,"payment entered":false,"paid until":false}'); echo $config->'payment entered'; var_dump($config);
Output for 5.4.0 - 5.4.15
Parse error: syntax error, unexpected ''payment entered'' (T_CONSTANT_ENCAPSED_STRING), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /in/71Q0b on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.25
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING or T_VARIABLE or '{' or '$' in /in/71Q0b on line 5
Process exited with code 255.