3v4l.org

run code in 300+ PHP versions simultaneously
<?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}'); $name = 'payment entered'; echo $config->$name; var_dump($config);

preferences:
34.13 ms | 402 KiB | 5 Q